<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">Very curious error observed:</div>
<div class=""><br class="">
</div>
<div class="">Trying to move 50 resources from test server to production. </div>
<div class=""><br class="">
</div>
<div class="">Same version: ArchivesSpace v1.4.2 running on all servers. </div>
<div class=""><br class="">
</div>
<div class="">Exported all 50 from test server as EAD. </div>
<div class="">Imported all 50 onto another test server as initial test. </div>
<div class="">Had to redo when I found that I needed to add param to export unpublished notes. </div>
<div class="">But both imports completed without complaint. </div>
<div class=""><br class="">
</div>
<div class="">Attempted to repeat the same import on production server. </div>
<div class=""><br class="">
</div>
<div class="">Imports appeared to be running successfully for an uncounted number of files, but gave this error message at the end:</div>
<div class=""><br class="">
</div>
<div class=""><span style="color: rgb(51, 238, 51); font-family: monospace; font-size: 13px; white-space: pre; background-color: rgb(51, 51, 51);" class="">================================================== 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">However, on clicking on the Browse Resources link for that repo, it appears that all of the resources are there. </div>
<div class="">Double checking on the status of that background import job shows Job Status as “Failed” .</div>
<div class=""><br class="">
</div>
<div class="">I stopped server, deleted solr index and indexer_state files, and restarted just to be sure of consistent state. </div>
<div class="">No change. Job has failed but it appears I have all 50 imported resources. </div>
<div class=""><br class="">
</div>
<div class="">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. </div>
<div class="">It is not listed twice in that file list, but it appears both at the start and the end of the import log, </div>
<div class="">with that failure message at the end. </div>
<div class=""><br class="">
</div>
<div class="">I believe that every other time I’ve had a batch job import failure on a single file, NONE of the files are imported. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">— Steve Majewski </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
</body>
</html>