<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="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 29, 2017, at 1:26 PM, Hawk, Patrick <<a href="mailto:hawkpf@miamioh.edu" class="">hawkpf@miamioh.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Steve,
<div class=""><br class="">
I'm attaching a screen capture. The barcode_1 field needs to be unique in the table container?<br class="">
</div>
<div class="gmail_extra"><br class="">
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div><br class="">
</div>
<div>That’s my understanding, although I’m not certain if they have to be globally unique or just unique within that resource. ( I expect the intention is for them to be globally unique, but I’m not sure if they actually check beyond the current resource. )
I’m not sure, but I don’t think a barcode is required, so another option may be to just delete those barcodes. Or, as I initially suggested, append “box 1”, “box 2” , etc. to your existing barcodes to make them unique. </div>
<div><br class="">
</div>
<div><br class="">
</div>
<div>I believe there was some discussion relating to these issues in the 1.5.0 release webinar, probably in Noah’s talks and notes:</div>
<div><br class="">
</div>
<div><a href="http://archivesspace.org/recording-and-slides-for-v1-5-0-release-webinar/" class="">http://archivesspace.org/recording-and-slides-for-v1-5-0-release-webinar/</a></div>
<div><br class="">
</div>
<div>If you haven’t already, you should check it out, as it’s the easiest intro the what’s involved in the migration. ( I don’t think the upgrading docs in the distribution explain the terminology and background sufficiently. ) </div>
<div><br class="">
</div>
<div><br class="">
</div>
<div>— Steve. </div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Mar 16, 2017 at 1:10 PM, Majewski, Steven Dennis (sdm7g)
<span dir="ltr" class=""><<a href="mailto:sdm7g@eservices.virginia.edu" target="_blank" class="">sdm7g@eservices.virginia.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">
<div class=""><br class="">
</div>
<div class="">I interpret that error message as saying that you are trying to assign the same barcode ( "Miami University Archives (Western College for Women Collection)” ) to “box 1” and “box 2” (type + indicator). Barcodes must be unique. A collection name
is not likely to be unique if there are more than one containers. Typically, these are machine scannable barcode numbers. If you really want to use the collection name here, you could maybe append the box numbers to the ends of both, making them unique. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">— Steve. </div>
<div class="">
<div class="h5">
<div class=""><br class="">
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Mar 16, 2017, at 12:10 PM, Hawk, Patrick <<a href="mailto:hawkpf@miamioh.edu" target="_blank" class="">hawkpf@miamioh.edu</a>> wrote:</div>
<br class="m_-5297797066957306758Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">John,<br class="">
Do you know which two accessions you had to modify?<br class="">
<br class="">
Also, this is what I see in archivesspace/logs/<wbr class="">archivesspace.out<br class="">
<br class="">
<:ValidationException: {:errors=>{"indicator_1"=>["<wbr class="">Mismatch when mapping between indicator and indicator_1"]}, :object_context=>{:top_<wbr class="">container=>#<TopContainer @values={:id=>2, :repo_id=>2, :lock_version=>0, :json_schema_version=>1,
:barcode=>"Miami University Archives (Western College for Women Collection)", :ils_holding_id=>nil, :ils_item_id=>nil, :exported_to_ils=>nil, :indicator=>"1", :created_by=>"XXXX", :last_modified_by=>"XXXX", :create_time=>2017-03-15 20:01:48 UTC, :system_mtime=>2017-03-15
20:01:48 UTC, :user_mtime=>2017-03-15 20:01:48 UTC, :type_id=>318}>, :aspace_container=>{"lock_<wbr class="">version"=>0, "indicator_1"=>"2", "barcode_1"=>"Miami University Archives (Western College for Women Collection)", "container_extent"=>"1.00", "created_by"=>"XXXX",
"last_modified_by"=>"XXXX", "create_time"=>"2016-02-16T15:<wbr class="">42:01Z", "system_mtime"=>"2016-11-<wbr class="">15T18:16:09Z", "user_mtime"=>"2016-02-16T15:<wbr class="">42:01Z", "type_1"=>"box", "container_extent_type"=>"<wbr class="">Boxes", "jsonmodel_type"=>"container",
"container_locations"=>[{"<wbr class="">status"=>"current", "start_date"=>"1999-12-31", "system_mtime"=>2016-02-16 15:42:01 UTC, "user_mtime"=>2016-02-16 15:42:01 UTC, "ref"=>"/locations/8584"}], "type_id"=>318}}}><br class="">
<br class="">
<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Tue, Mar 14, 2017 at 3:40 PM, Hambleton, John S <span dir="ltr" class="">
<<a href="mailto:jhamblet@nmu.edu" target="_blank" class="">jhamblet@nmu.edu</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple" class="">
<div class="m_-5297797066957306758m_3692861463297341632WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">Hello!<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">That thread below was us, Northern Michigan University.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">Looking in the container conversion log, was this error:<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">Error:<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">JSONModel::ValidationException<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">Message:<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">indicator_1 -- Mismatch when mapping between indicator and indicator_1<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">James Bullen took a look at our log and determined that there was a barcode<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">uniqueness problem between two accessions. So we cleaned that up and sure enough,<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">that was it. We re-ran the conversion and the indexer did not have any problems.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">Hope this helps you.<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">John H<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="">NMU
<u class=""></u><u class=""></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
<p class="MsoNormal"><b class=""><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="">
<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">
archivesspace_users_group-boun<wbr class="">ces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_gr<wbr class="">oup-bounces@lyralists.lyrasis.<wbr class="">org</a>]
<b class="">On Behalf Of </b>Hawk, Patrick<br class="">
<b class="">Sent:</b> Tuesday, March 14, 2017 3:27 PM<br class="">
<b class="">To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank" class="">archivesspace_users_group@lyr<wbr class="">alists.lyrasis.org</a>><br class="">
<b class="">Subject:</b> Re: [Archivesspace_Users_Group] Failure in periodic indexer worker thread<u class=""></u><u class=""></u></span></p>
<div class="">
<div class="m_-5297797066957306758h5">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
<div class="">
<p class="MsoNormal">Steve, <br class="">
The url you linked would be the same issue, so yes the indexer tries to index the same items over and over... I'll have to inspect the records to see what is causing the migration to fail.<u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
<div class="">
<p class="MsoNormal">On Tue, Mar 14, 2017 at 3:13 PM, Majewski, Steven Dennis (sdm7g) <<a href="mailto:sdm7g@eservices.virginia.edu" target="_blank" class="">sdm7g@eservices.virginia.edu</a>> wrote:<u class=""></u><u class=""></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in" class="">
<div class="">
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal">Check for errors in the container conversion batch job log files. <u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal">Does the indexer appear to keep trying to reindex the same records over and over ? <u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal">See previous thread: <u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal"><a href="http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2017-January/004370.html" target="_blank" class="">http://lyralists.lyrasis.org/p<wbr class="">ipermail/archivesspace_users_g<wbr class="">roup/2017-January/004370.html</a><u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal">— Steve Majewski<u class=""></u><u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
<div class="">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt" class="">
<div class="">
<div class="">
<div class="">
<p class="MsoNormal">On Mar 14, 2017, at 2:45 PM, Hawk, Patrick <<a href="mailto:hawkpf@miamioh.edu" target="_blank" class="">hawkpf@miamioh.edu</a>> wrote:<u class=""></u><u class=""></u></p>
</div>
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
</div>
<div class="">
<div class="">
<div class="">
<div class="">
<p class="MsoNormal">Hello,<br class="">
<br class="">
I'm trying to upgrade Archivesspace from 1.4.2 to 1.5.3 but I'm having issues getting my content to fully load. I followed the instructions here:
<a href="http://archivesspace.github.io/archivesspace/user/upgrading-to-a-new-release-of-archivesspace/" target="_blank" class="">
http://archivesspace.github.io<wbr class="">/archivesspace/user/upgrading-<wbr class="">to-a-new-release-of-archivessp<wbr class="">ace/</a>. I removed the directory /archivesspace/data/indexter_s<wbr class="">tate and /archivesspace/data/solr_index<wbr class="">/index
as the directions stated I should do when upgrading to 1.5.0. I also ran the setup-database.sh without issue.
<u class=""></u><u class=""></u></p>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<div class="">
<p class="MsoNormal">However, I receive the following error: Failure in periodic indexer worker thread: {"error":"undefined method `related_records' for nil:NilClass"} in the archivesspace.out file. At this point the logs suggest that all items have been
re-indexed but my content does not fully load. Any suggestions? <u class=""></u><u class=""></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal">______________________________<wbr class="">_________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyra<wbr class="">lists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank" class="">http://lyralists.lyrasis.org/m<wbr class="">ailman/listinfo/archivesspace_<wbr class="">users_group</a><u class=""></u><u class=""></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br class="">
______________________________<wbr class="">_________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyra<wbr class="">lists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank" class="">http://lyralists.lyrasis.org/m<wbr class="">ailman/listinfo/archivesspace_<wbr class="">users_group</a><u class=""></u><u class=""></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br class="">
<br clear="all" class="">
<u class=""></u><u class=""></u></p>
<div class="">
<p class="MsoNormal"><u class=""></u> <u class=""></u></p>
</div>
<p class="MsoNormal">-- <u class=""></u><u class=""></u></p>
<div class="">
<div class="">
<div class="">
<div class="">
<p class="">Patrick Hawk<u class=""></u><u class=""></u></p>
<p class=""><img border="0" id="m_-5297797066957306758m_3692861463297341632_x0000_i1025" src="http://miamioh.edu/images/ucm/resources/logos/jpg-web-res/email-FSL_186K.jpg" class=""><u class=""></u><u class=""></u></p>
<p class="">King Library Systems<u class=""></u><u class=""></u></p>
<p class="">King Library Room 314<u class=""></u><u class=""></u></p>
<p class=""><a href="tel:(513)%20529-6122" value="+15135296122" target="_blank" class="">513-529-6122</a><u class=""></u><u class=""></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@lyra<wbr class="">lists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" class="">http://lyralists.lyrasis.org/m<wbr class="">ailman/listinfo/archivesspace_<wbr class="">users_group</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div class="m_-5297797066957306758gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<p class="">Patrick Hawk</p>
<p class=""><img src="http://miamioh.edu/images/ucm/resources/logos/jpg-web-res/email-FSL_186K.jpg" class=""><br class="">
</p>
<p class="">King Library Systems</p>
<p class="">King Library Room 314</p>
<p class=""><a href="tel:(513)%20529-6122" value="+15135296122" target="_blank" class="">513-529-6122</a></p>
</div>
</div>
</div>
</div>
</div>
______________________________<wbr class="">_________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" class="">Archivesspace_Users_Group@<wbr class="">lyralists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank" class="">http://lyralists.lyrasis.org/<wbr class="">mailman/listinfo/<wbr class="">archivesspace_users_group</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@<wbr class="">lyralists.lyrasis.org</a><br class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" class="">http://lyralists.lyrasis.org/<wbr class="">mailman/listinfo/<wbr class="">archivesspace_users_group</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<p class="">Patrick Hawk</p>
<p class=""><img src="http://miamioh.edu/images/ucm/resources/logos/jpg-web-res/email-FSL_186K.jpg" class=""><br class="">
</p>
<p class="">King Library Systems</p>
<p class="">King Library Room 314</p>
<p class="">513-529-6122</p>
</div>
</div>
</div>
</div>
</div>
</div>
<span id="cid:25AC1B47-666A-4B7B-A8CD-82B609D37DEA@virginia.edu"><AS.PNG></span>_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="">
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>