[Archivesspace_Users_Group] Archon to AS migration failing

Prom, Christopher John prom at illinois.edu
Fri Feb 14 14:26:06 EST 2014


I believe the empty batch message is just saying that the migration tool did not find anything because the last collection record had been loaded in the previous batch.

In other words, an expected behavior since the tool has no way to know it is at the end until it looks and doesn't find anything.

Chris

On Feb 14, 2014, at 1:19 PM, "Holland, Andrew S" <andrew-holland at uiowa.edu<mailto:andrew-holland at uiowa.edu>>
 wrote:

If it makes any difference, I had that empty batch warning about 1200 times in my log file…

That includes the repository that transferred successfully.

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:bounces at lyralists.lyrasis.org>] On Behalf Of Prom, Christopher John
Sent: Friday, February 14, 2014 1:17 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Archon to AS migration failing

I don't know.  Archon is doing what is it supposed to.   The only thing that has me concerned is that it says 'empty batch: not saving',  which implies that no records linked to your second repository were found in the batches of collections from 201 to the end.  But, that should not cause the migration to fail.

I'll let others more familiar with the migration tool look this over the weigh in.

Chris

On Feb 14, 2014, at 1:07 PM, "Holland, Andrew S" <andrew-holland at uiowa.edu<mailto:andrew-holland at uiowa.edu>>
 wrote:


D, [2014-02-14T12:02:57.270000 #12866] DEBUG -- : Posting import batch
D, [2014-02-14T12:02:57.270000 #12866] DEBUG -- : Attempt logging into ArchivesSpace
D, [2014-02-14T12:02:57.387000 #12866] DEBUG -- : New backend session: 57e1e9dc2d1eb9c9ae5b44ddb1f79bc3aca6f14662456b1be6621f437d0789a9
D, [2014-02-14T12:02:57.387000 #12866] DEBUG -- : Using session: 57e1e9dc2d1eb9c9ae5b44ddb1f79bc3aca6f14662456b1be6621f437d0789a9
D, [2014-02-14T12:02:57.417000 #12866] DEBUG -- : Raw ASpace response: {"status"=>[{"id"=>1, "label"=>"Reading JSON records", "type"=>"started"}, {"id"=>1, "label"=>"Reading JSON records", "type"=>"done"}, {"id"=>2, "label"=>"Validating records and checking links", "type"=>"started"}]}
D, [2014-02-14T12:02:57.418000 #12866] DEBUG -- : Raw ASpace response: {"ticks"=>2, "total"=>1000}
D, [2014-02-14T12:02:58.418000 #12866] DEBUG -- : Raw ASpace response: {"status"=>[{"id"=>2, "label"=>"Validating records and checking links", "type"=>"done"}, {"id"=>3, "label"=>"Evaluating record relationships", "type"=>"started"}, {"id"=>3, "label"=>"Evaluating record relationships", "type"=>"done"}, {"id"=>4, "label"=>"Saving records: cycle 1", "type"=>"started"}, {"id"=>4, "label"=>"Saving records: cycle 1", "type"=>"done"}, {"id"=>5, "label"=>"Cleaning up", "type"=>"started"}, {"id"=>5, "label"=>"Cleaning up", "type"=>"done"}]}
D, [2014-02-14T12:02:58.419000 #12866] DEBUG -- : Raw ASpace response: {"saved"=>{"/repositories/3/resources/import_-111535678-751"=>["/repositories/3/resources/888", 888]}}
D, [2014-02-14T12:02:58.421000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=201
D, [2014-02-14T12:03:35.960000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:03:35.970000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=301
D, [2014-02-14T12:04:11.364000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:04:11.377000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=401
D, [2014-02-14T12:04:46.981000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:04:46.992000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=501
D, [2014-02-14T12:05:22.233000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:05:22.245000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=601
D, [2014-02-14T12:05:57.472000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:05:57.484000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=701
D, [2014-02-14T12:06:32.947000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:06:32.958000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=801
D, [2014-02-14T12:07:07.788000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:07:07.797000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=901
D, [2014-02-14T12:07:47.870000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:07:47.880000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=1001
D, [2014-02-14T12:08:24.245000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:08:24.254000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=1101
D, [2014-02-14T12:09:05.201000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:09:05.211000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=1201
D, [2014-02-14T12:09:40.583000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
D, [2014-02-14T12:09:40.594000 #12866] DEBUG -- : Prepare Archon request: /andrew/?p=core/collections&batch_start=1301
D, [2014-02-14T12:10:16.153000 #12866] DEBUG -- : Raw Archon response : #<Net::HTTPOK 200 Created readbody=true>
W, [2014-02-14T12:10:16.184000 #12866]  WARN -- : Empty batch: not saving
D, [2014-02-14T12:10:16.184000 #12866] DEBUG -- : {}
D, [2014-02-14T12:10:16.187000 #12866] DEBUG -- : Server Error: Failed to write to client


Any of that helping?

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:bounces at lyralists.lyrasis.org>] On Behalf Of Prom, Christopher John
Sent: Friday, February 14, 2014 1:04 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Archon to AS migration failing

Andrew,

Can you see what is in the last part of the migration log file, particularly the parts right before the exception message is put in the log?  It may be some issue with the data that is causing the failure; at least that is the first thing to check.

Chris Prom

On Feb 14, 2014, at 12:59 PM, "Holland, Andrew S" <andrew-holland at uiowa.edu<mailto:andrew-holland at uiowa.edu>>
 wrote:



Is there someone who can help me figure out why our migration keeps failing? Our first repository works as expected, but it stops in the middle of migrating the second one.

I'm given the error message:

INFO: ERROR: couldn't handle exception org.jruby.exceptions.RaiseException: (NativeException) winstone.ClientSocketexception: Failed to write to client : response is committed.

I have what I could get from the log file as well that I can send.

Thanks,

Andrew Holland
Web Applications Developer, LIT
andrew-holland at uiowa.edu<mailto:andrew-holland at uiowa.edu>


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

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


More information about the Archivesspace_Users_Group mailing list