[Archivesspace_Users_Group] Curious! : Import Job says it failed but resources imported

Majewski, Steven Dennis (sdm7g) sdm7g at eservices.virginia.edu
Tue Jan 12 17:56:57 EST 2016


Very curious error observed:

Trying to move 50 resources from test server to production.

Same version: ArchivesSpace v1.4.2 running on all servers.

Exported all 50 from test server as EAD.
Imported all 50 onto another test server as initial test.
Had to redo when I found that I needed to add param to export unpublished notes.
But both imports completed without complaint.

Attempted to repeat the same import on production server.

Imports appeared to be running successfully for an uncounted number of files, but gave this error message at the end:

================================================== 54-Mss_77-1.xml ================================================== 1. STARTED: Reading JSON records 1. DONE: Reading JSON records 2. STARTED: Validating records and checking links 2. DONE: Validating records and checking links 3. STARTED: Evaluating record relationships 3. DONE: Evaluating record relationships 4. STARTED: Saving records: cycle 1 Created: /revision_statement/import_42935b5d-613c-42fa-a297-d87bd61a77f3 Created: /revision_statement/import_d0d44810-bbf2-448a-803e-59e4abe479b2 Created: /revision_statement/import_b900aae8-c51e-45d6-afd3-31d8cd45b35e Created: /revision_statement/import_42b9bd89-2058-462a-9425-8b317bacb633 5. STARTED: Cleaning up 5. DONE: Cleaning up !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORT ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The following errors were found: id_0 : That ID is already in use ead_id : Must be unique %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Full Error Message: Problem creating 'Papers of Frederick D. G. Ribble': id_0 That ID is already in use, ead_id Must be unique !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


However, on clicking on the Browse Resources link for that repo, it appears that all of the resources are there.
Double checking on the status of that background import job shows Job Status as “Failed” .

I stopped server, deleted solr index and indexer_state files, and restarted just to be sure of consistent state.
No change. Job has failed but it appears I have all 50 imported resources.

The file in the error message: 54-Mss_77-1.xml, was the first file on the list of Import files in the Batch Job page.
It is not listed twice in that file list, but it appears both at the start and the end of the import log,
with that failure message at the end.

I believe that every other time I’ve had a batch job import failure on a single file, NONE of the files are imported.



— Steve Majewski










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160112/537ce2e6/attachment.html>


More information about the Archivesspace_Users_Group mailing list