<div dir="ltr">Steve,<div><br>I'm attaching a screen capture.  The barcode_1 field needs to be unique in the table container?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 1:10 PM, Majewski, Steven Dennis (sdm7g) <span dir="ltr"><<a href="mailto:sdm7g@eservices.virginia.edu" target="_blank">sdm7g@eservices.virginia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<div><br>
</div>
<div>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><br>
</div>
<div><br>
</div>
<div>— Steve. </div><div><div class="h5">
<div><br>
</div>
<br>
<div>
<blockquote type="cite">
<div>On Mar 16, 2017, at 12:10 PM, Hawk, Patrick <<a href="mailto:hawkpf@miamioh.edu" target="_blank">hawkpf@miamioh.edu</a>> wrote:</div>
<br class="m_-5297797066957306758Apple-interchange-newline">
<div>
<div dir="ltr">John,<br>
Do you know which two accessions you had to modify?<br>
<br>
Also, this is what I see in archivesspace/logs/<wbr>archivesspace.out<br>
<br>
<:ValidationException: {:errors=>{"indicator_1"=>["<wbr>Mismatch when mapping between indicator and indicator_1"]}, :object_context=>{:top_<wbr>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>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>42:01Z", "system_mtime"=>"2016-11-<wbr>15T18:16:09Z", "user_mtime"=>"2016-02-16T15:<wbr>42:01Z", "type_1"=>"box", "container_extent_type"=>"<wbr>Boxes", "jsonmodel_type"=>"container", "container_locations"=>[{"<wbr>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>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 14, 2017 at 3:40 PM, Hambleton, John S <span dir="ltr">
<<a href="mailto:jhamblet@nmu.edu" target="_blank">jhamblet@nmu.edu</a>></span> wrote:<br>
<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">
<div class="m_-5297797066957306758m_3692861463297341632WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hello!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">That thread below was us, Northern Michigan University.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Looking in the container conversion log, was this error:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Error:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">JSONModel::ValidationException<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Message:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">indicator_1 -- Mismatch when mapping between indicator and indicator_1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">James Bullen took a look at our log and determined that there was a barcode<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">uniqueness problem between two accessions. So we cleaned that up and sure enough,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">that was it. We re-ran the conversion and the indexer did not have any problems.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hope this helps you.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">John H<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">NMU
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">
archivesspace_users_group-boun<wbr>ces@lyralists.lyrasis.org</a> [mailto:<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_gr<wbr>oup-bounces@lyralists.lyrasis.<wbr>org</a>]
<b>On Behalf Of </b>Hawk, Patrick<br>
<b>Sent:</b> Tuesday, March 14, 2017 3:27 PM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">archivesspace_users_group@lyr<wbr>alists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Failure in periodic indexer worker thread<u></u><u></u></span></p>
<div>
<div class="m_-5297797066957306758h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Steve, <br>
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></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<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">sdm7g@eservices.virginia.edu</a>> wrote:<u></u><u></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">
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Check for errors in the container conversion batch job log files. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Does the indexer appear to keep trying to reindex the same records over and over ? <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">See previous thread: <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/2017-January/004370.html" target="_blank">http://lyralists.lyrasis.org/p<wbr>ipermail/archivesspace_users_g<wbr>roup/2017-January/004370.html</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">— Steve Majewski<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<p class="MsoNormal">On Mar 14, 2017, at 2:45 PM, Hawk, Patrick <<a href="mailto:hawkpf@miamioh.edu" target="_blank">hawkpf@miamioh.edu</a>> wrote:<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hello,<br>
<br>
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">
http://archivesspace.github.io<wbr>/archivesspace/user/upgrading-<wbr>to-a-new-release-of-archivessp<wbr>ace/</a>.  I removed the directory /archivesspace/data/indexter_s<wbr>tate and /archivesspace/data/solr_index<wbr>/index
 as the directions stated I should do when upgrading to 1.5.0.  I also ran the setup-database.sh without issue.
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<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></u><u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal">______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyra<wbr>lists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/m<wbr>ailman/listinfo/archivesspace_<wbr>users_group</a><u></u><u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyra<wbr>lists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/m<wbr>ailman/listinfo/archivesspace_<wbr>users_group</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<p>Patrick Hawk<u></u><u></u></p>
<p><img border="0" id="m_-5297797066957306758m_3692861463297341632_x0000_i1025" src="http://miamioh.edu/images/ucm/resources/logos/jpg-web-res/email-FSL_186K.jpg"><u></u><u></u></p>
<p>King Library Systems<u></u><u></u></p>
<p>King Library Room  314<u></u><u></u></p>
<p><a href="tel:(513)%20529-6122" value="+15135296122" target="_blank">513-529-6122</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyra<wbr>lists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/m<wbr>ailman/listinfo/archivesspace_<wbr>users_group</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-5297797066957306758gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<p>Patrick Hawk</p>
<p><img src="http://miamioh.edu/images/ucm/resources/logos/jpg-web-res/email-FSL_186K.jpg"><br>
</p>
<p>King Library Systems</p>
<p>King Library Room  314</p>
<p><a href="tel:(513)%20529-6122" value="+15135296122" target="_blank">513-529-6122</a></p>
</div>
</div>
</div>
</div>
</div>
______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
</div>
</blockquote>
</div>
<br>
</div></div></div>

<br>______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p>Patrick Hawk</p><p><img src="http://miamioh.edu/images/ucm/resources/logos/jpg-web-res/email-FSL_186K.jpg"><br></p><p>King Library Systems</p><p>King Library Room  314</p><p>513-529-6122</p></div></div></div></div>
</div></div>