<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Steve,</p>
    You are not alone. We also ran into indexing error when trying to
    test upgrade v1.5.1 to v.1.5.2 and see no record found again after
    the test upgrade. <br>
    <span class="directional_text_wrapper">LYRASIS Support Desk ever
      helped us in solving a similar indexing problem (no  record found
      ) which ever drove me mad :) when upgrading 1.4.2 to 1.5.1. <br>
    </span><span class="directional_text_wrapper">I hope there could be
      more technical document or white paper on the indexing part which
      could help us do better understanding of the indexing logic and
      architecture, and consequently could help us do better
      troubleshooting work.<br>
    </span>
    <p><br>
    </p>
    <p>Mang<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 1/12/2017 9:42 AM, Majewski, Steven
      Dennis (sdm7g) wrote:<br>
    </div>
    <blockquote
      cite="mid:D02E9C1D-F6F2-4BE0-A0F1-703C1DA4CC6E@eservices.virginia.edu"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=utf-8">
      <div class=""><br class="">
      </div>
      <div class="">I’m trying to identify the data where it breaks. It
        looks like it gets the first 275 archival objects in the first
        repo indexed. But I haven’t yet figured out which one that is or
        seen anything different in the region where it fails. But I can
        send you the whole 8MB gzip compressed mysqldump if you want to
        try to investigate. </div>
      <div class=""><br class="">
      </div>
      <div class="">— Steve. </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <br class="">
      <div>
        <blockquote type="cite" class="">
          <div class="">On Jan 11, 2017, at 6:54 PM, James Bullen <<a
              moz-do-not-send="true" href="mailto:james@hudmol.com"
              class="">james@hudmol.com</a>> wrote:</div>
          <br class="Apple-interchange-newline">
          <div class="">
            <div class="">
              <div class=""><br class="">
              </div>
              Hi John and Steve,
              <div class=""><br class="">
              </div>
              <div class="">Can either of you send some sample data that
                surfaces this bug?</div>
              <div class=""><br class="">
              </div>
              <div class=""><br class="">
              </div>
              <div class="">Cheers,</div>
              <div class="">James</div>
              <div class=""><br class="">
              </div>
              <div class=""><br class="">
                <div class="">
                  <blockquote type="cite" class="">
                    <div class="">On Jan 12, 2017, at 8:17 AM, Majewski,
                      Steven Dennis (sdm7g) <<a
                        moz-do-not-send="true"
                        href="mailto:sdm7g@eservices.virginia.edu"
                        class="">sdm7g@eservices.virginia.edu</a>>
                      wrote:</div>
                    <br class="Apple-interchange-newline">
                    <div class="">
                      <div class="">
                        <div class=""><br class="">
                        </div>
                        <div class="">After seeing this message, I tried
                          1.5.2 on my Mac (10.11.6) laptop and I’m also
                          seeing the same </div>
                        <div class="">
                          <blockquote type="cite" class="">
                            <div class="WordSection1">
                              <div class="">
                                <span class="">undefined method
                                  `related_records' for nil:NilClass  </span></div>
                            </div>
                          </blockquote>
                          error, whether or not I do an intervening (
                          and successful, BTW ) update to 1.5.1. </div>
                        <div class="">Reindexing never seems to progress
                          and so browse resources never shows any
                          records. </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>
                        <br class="">
                        <div class="">
                          <blockquote type="cite" class="">
                            <div class="">On Jan 11, 2017, at 1:58 PM,
                              Hambleton, John S <<a
                                moz-do-not-send="true"
                                href="mailto:jhamblet@nmu.edu" class="">jhamblet@nmu.edu</a>>
                              wrote:</div>
                            <br class="Apple-interchange-newline">
                            <div class="">
                              <div class="WordSection1">
                                <div class="">
                                  <span class="">Folks,</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                                <div class="">
                                  <span class="">I am testing
                                    archivesspace 1.5.2 on CentOS 6,
                                    using a copy of our 1.4.2 production
                                    database.</span></div>
                                <div class="">
                                  <span class="">Wondering why it seems
                                    like the indexer is taking so long
                                    to finish, I am seeing this in</span></div>
                                <div class="">
                                  <span class="">the archivesspace.out
                                    log, which makes me think the
                                    indexer is caught in an endless
                                    loop:</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                                <div class="">
                                  <span class="">Keep seeing the SAME
                                    indexer messages over and over
                                    again:</span></div>
                                <div class="">
                                  <span class="">~~~ Indexed 1475 of
                                    1941 accession records in repository
                                    3 ( added 25 records in  8229.0ms )
                                    ~~~</span></div>
                                <div class="">
                                  <span class="">~~~ Indexed 1500 of
                                    1941 accession records in repository
                                    3 ( added 25 records in  5251.0ms )
                                    ~~~</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                                <div class="">
                                  <span class="">And then,</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                                <div class="">
                                  <span class="">E,
                                    [2017-01-11T13:41:10.740000 #32733]
                                    ERROR -- : Thread-6445852: Unhandled
                                    exception!</span></div>
                                <div class="">
                                  <span class="">E,
                                    [2017-01-11T13:41:10.741000 #32733]
                                    ERROR -- :</span></div>
                                <div class="">
                                  <span class="">undefined method
                                    `related_records' for nil:NilClass</span></div>
                                <div class="">
                                  <span class="">/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/subcontainer_to_aspace_json_mapper.rb:64:in
                                    `top_container'</span></div>
                                <div class="">
                                  <span class="">/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/subcontainer_to_aspace_json_mapper.rb:24:in
                                    `type_1'</span></div>
                                <div class="">
                                  <span class="">/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/lib/subcontainer_to_aspace_json_mapper.rb:14:in
                                    `to_hash'</span></div>
                                <div class="">
                                  <span class="">org/jruby/RubyHash.java:1341:in
                                    `each'</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                                <div class="">
                                  <span class="">And then seems to start
                                    indexing the same data over again:</span></div>
                                <div class="">
                                  <span class="">~~~ Indexed 50 of 1941
                                    accession records in repository 3 (
                                    added 25 records in  11153.0ms ) ~~~</span></div>
                                <div class="">
                                  <span class="">~~~ Indexed 75 of 1941
                                    accession records in repository 3 (
                                    added 25 records in  10051.0ms ) ~~~</span></div>
                                <div class="">
                                  <span class="">~~~ Indexed 100 of 1941
                                    accession records in repository 3 (
                                    added 25 records in  9558.0ms ) ~~~</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                                <div class="">
                                  <span class="">Kind of looks like the
                                    indexer errors on “something” then,
                                    tries to reindex the same accession</span></div>
                                <div class="">
                                  <span class="">records over and over
                                    again. I had followed the advice
                                    here:<a moz-do-not-send="true"
href="https://github.com/archivesspace/archivesspace/blob/master/UPGRADING_1.5.0.md#conversion"
                                      class="">https://github.com/archivesspace/archivesspace/blob/master/UPGRADING_1.5.0.md#conversion</a></span></div>
                                <div class="">
                                  <span class="">before starting
                                    archivesspace, that is, “delete your
                                    Solr index files to start with a
                                    fresh index”.</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                                <div class="">
                                  <span class="">Any help is
                                    appreciated.</span></div>
                                <div class="">
                                  <span class="">Thanks,</span></div>
                                <div class="">
                                  <span class="">John H</span></div>
                                <div class="">
                                  <span class="">NMU</span></div>
                                <div class="">
                                  <span class=""> </span></div>
                              </div>
                              <span class="">_______________________________________________</span><br
                                class="">
                              <span class="">Archivesspace_Users_Group
                                mailing list</span><br class="">
                              <a moz-do-not-send="true"
                                href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org"
                                class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br
                                class="">
                              <a moz-do-not-send="true"
href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group"
                                class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div>
                          </blockquote>
                        </div>
                        <br class="">
                        !DSPAM:5876a103173858981945283! </div>
                      _______________________________________________<br
                        class="">
                      Archivesspace_Users_Group mailing list<br class="">
                      <a moz-do-not-send="true"
                        href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org"
                        class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br
                        class="">
                      <a moz-do-not-send="true"
href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group"
                        class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br
                        class="">
                      <br class="">
                      <br class="">
                      !DSPAM:5876a103173858981945283!<br class="">
                    </div>
                  </blockquote>
                </div>
                <br class="">
              </div>
            </div>
            _______________________________________________<br class="">
            Archivesspace_Users_Group mailing list<br class="">
            <a moz-do-not-send="true"
              href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org"
              class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br
              class="">
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br
              class="">
          </div>
        </blockquote>
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>