<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1284654200;
        mso-list-template-ids:-917459482;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1465079879;
        mso-list-type:hybrid;
        mso-list-template-ids:-499196040 2028533468 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-start-at:4;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l2
        {mso-list-id:1535338887;
        mso-list-template-ids:-2124744042;}
@list l2:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l3
        {mso-list-id:1557931911;
        mso-list-template-ids:1557592590;}
@list l3:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l3:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Issue resolved. What I neglected to do was add the following to config.rb:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-indent:.5in">AppConfig[:plugins] = ['local', 'lcnaf', 'aspace-reindexer-main']<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Initially 'aspace-reindexer-main' was in a subdirectory plugins/mitre and I expected that adding the mitre directory would find the files within that directory, but apparently 'aspace-reindexer-main' needed to be moved up to the plugins
 directory or specified as 'mitreaspace-reindexer-main'.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Once again, thank you!<o:p></o:p></p>
<div>
<p class="MsoNormal"><b><span style="color:#2F5496">Gerard (Jerry) Boggio</span></b> |
<b>MITRE Corporation</b> | R124 - <span style="color:#111113">Collaboration & Info Management</span><span style="font-size:18.5pt;font-family:"Arial",sans-serif;color:#111113">
</span>| 781-271-2719<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Jerry Boggio <gboggio@mitre.org> <br>
<b>Sent:</b> Thursday, August 11, 2022 10:45 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org<br>
<b>Cc:</b> don.mennerich@nyu.edu<br>
<b>Subject:</b> RE: Phantom records post-migration to version 3.2.0<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Don and other ArchivesSpace Users;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Referring to the page Don suggested:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in;background:white">
<b><span style="font-size:22.0pt;font-family:"Segoe UI",sans-serif;color:#24292F">ArchivesSpace Reindexer plugin<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in;background:white">
<span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F">This plugin can be used in two ways:<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;text-indent:-.25in;mso-list:l2 level1 lfo2;background:white">
<![if !supportLists]><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">   
</span></span></span><![endif]><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F">On system startup to initiate a reindex<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:3.0pt;mso-margin-bottom-alt:auto;margin-left:1.0in;text-indent:-.25in;mso-list:l2 level1 lfo2;background:white">
<![if !supportLists]><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">   
</span></span></span><![endif]><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F">Via the api to trigger a reindex<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in;background:white">
<span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F">TODO: consider running as a job and making it available that way too.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:.25in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in;background:white">
<b><span style="font-size:16.5pt;font-family:"Segoe UI",sans-serif;color:#24292F">On startup<o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo4;background:white">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Symbol;color:#24292F"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F">Set </span><span style="font-size:10.0pt;font-family:Consolas;color:#24292F">AppConfig[:reindex_on_startup] = true</span><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F"> in </span><span style="font-size:10.0pt;font-family:Consolas;color:#24292F">config.rb</span><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:3.0pt;mso-margin-bottom-alt:auto;margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo4;background:white">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Symbol;color:#24292F"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><span style="font-size:12.0pt;font-family:"Segoe UI",sans-serif;color:#24292F">Restart ArchivesSpace<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:.25in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in;background:white">
<b><span style="font-size:16.5pt;font-family:"Segoe UI",sans-serif;color:#24292F">Via the api<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-size:10.0pt;font-family:Consolas;color:#24292F">curl -H "X-ArchivesSpace-Session: $SESSION" -X POST
<a href="http://localhost:4567/plugins/reindex">http://localhost:4567/plugins/reindex</a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="color:black">We have set “</span><span style="font-family:Consolas;color:#24292F">AppConfig[:reindex_on_startup] = true”</span><span style="font-family:"Segoe UI",sans-serif;color:#24292F"> </span><span style="color:#24292F">in</span><span style="font-family:"Segoe UI",sans-serif;color:#24292F"> </span><span style="font-family:Consolas;color:#24292F">config.rb
</span><span style="color:#24292F">before the last restart and still have “phantom” records.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="color:#24292F">Looking at the API call, which port should be used here? The port for the External Solr Index, the one specified, or something else?<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="color:#24292F">We would also like to know the cause of the “phantom” records. Does it have something to do with the setup-database.sh script?
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="color:#24292F">By the way, when running the check_index.sh script in Linux it generates an error. Should there be a new script for External Solr?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">/apps/archivesspace/scripts>ll<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">total 52<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rw-r--r-- 1 archspc users 317 Apr 16  2021 backup.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 365 Apr 16  2021 backup.sh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 271 Apr 16  2021 checkindex.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><b><span style="font-family:"Courier New";color:#24292F;background:yellow;mso-highlight:yellow">-rwxr-xr-x 1 archspc users 360 Apr 16  2021 checkindex.sh</span></b><b><span style="font-family:"Courier New";color:#24292F"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rw-r--r-- 1 archspc users 290 Apr 16  2021 ead_export.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 350 Apr 16  2021 ead_export.sh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 217 Apr 16  2021 find-base.sh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rw-r--r-- 1 archspc users 496 Apr 16  2021 initialize-plugin.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 804 Dec 22  2021 initialize-plugin.sh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rw-r--r-- 1 archspc users 295 Apr 16  2021 password-reset.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 353 Apr 16  2021 password-reset.sh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">drwxr-xr-x 2 archspc users  46 Feb  4  2022 rb<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 304 Apr 16  2021 setup-database.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">-rwxr-xr-x 1 archspc users 322 Apr 16  2021 setup-database.sh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">/apps/archivesspace/scripts>./checkindex.sh<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><b><span style="font-family:"Courier New";color:#24292F;background:yellow;mso-highlight:yellow">RuntimeError: Solr war file not found</span></b><b><span style="font-family:"Courier New";color:#24292F"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">  find_solr_war at ../scripts/rb/checkindex.rb:29<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">          check at ../scripts/rb/checkindex.rb:10<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">         <main> at ../scripts/rb/checkindex.rb:86<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in;background:white"><span style="font-family:"Courier New";color:#24292F">/apps/archivesspace/scripts><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I know there are a lot of questions here and we would appreciate your help in getting answers to all of them.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you again!<o:p></o:p></p>
<div>
<p class="MsoNormal"><b><span style="color:#2F5496">Gerard (Jerry) Boggio</span></b> |
<b>MITRE Corporation</b> | R124 - <span style="color:#111113">Collaboration & Info Management</span><span style="font-size:18.5pt;font-family:"Arial",sans-serif;color:#111113">
</span>| 781-271-2719<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<pre><span style="color:black">Greg,<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">One easy way to rebuild the index is to install the Lyrasis reindexer<o:p></o:p></span></pre>
<pre><span style="color:black">plugin: <a href="https://github.com/lyrasis/aspace-reindexer.">https://github.com/lyrasis/aspace-reindexer.</a> Once installed, you<o:p></o:p></span></pre>
<pre><span style="color:black">can either have it rebuild the index via the startup config or by<o:p></o:p></span></pre>
<pre><span style="color:black">the endpoint that the plugin adds to the API. We recently migrated from<o:p></o:p></span></pre>
<pre><span style="color:black">3.0.2 to 3.2.0 and everything went smoothly for us. Once the new version of<o:p></o:p></span></pre>
<pre><span style="color:black">Aspace was running we hit the endpoint and the database rebuilt.<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">Don<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">Donald R. Mennerich, digital archivist<o:p></o:p></span></pre>
<pre><span style="color:black">New York University Libraries<o:p></o:p></span></pre>
<pre><span style="color:black"><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">don.mennerich at nyu.edu</a> (212) 992-6264<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Jerry Boggio <<a href="mailto:gboggio@mitre.org">gboggio@mitre.org</a>>
<br>
<b>Sent:</b> Tuesday, August 9, 2022 2:22 PM<br>
<b>To:</b> <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a><br>
<b>Cc:</b> Erin Faulder <<a href="mailto:EFAULDER@mitre.org">EFAULDER@mitre.org</a>><br>
<b>Subject:</b> Phantom records post-migration to version 3.2.0<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello ASpace Users;<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We just upgraded from ArchivesSpace version 2.7.1 to version 3.2.0 and now have “phantom” records in Resources and Subjects. By phantom I mean records show up in ASpace, but are not in the database and when trying to view the record returns:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img border="0" width="768" height="265" style="width:8.0in;height:2.7604in" id="Picture_x0020_1" src="cid:image001.png@01D8B08D.51AB0770"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As part of this upgrade on our Test machine  we:<o:p></o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo7">Started using External Solr as opposed to Internal<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo7">Purged the contents of the following directories, but did not delete the directories:<o:p></o:p></li><ul style="margin-top:0in" type="circle">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level2 lfo7">/apps/archivesspace/data/indexer_pui_state
<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level2 lfo7">/apps/archivesspace/data/indexer_state
<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level2 lfo7">/apps/archivesspace/data/tmp<o:p></o:p></li></ul>
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo7">Kept, but moved /apps/archivesspace/data/solr_backups  to  /apps/archivesspace/data/old_solr_backups; and created a new /apps/archivesspace/data/solr_backups  directory<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l1 level1 lfo7">Refreshed our Test MySQL database from our v2.7.1 Prod version and ran the setup-database.sh script to convert to v3.2.0. We are running MySQL version 8.<o:p></o:p></li></ul>
<p class="MsoNormal" style="margin-left:.25in"><o:p> </o:p></p>
<p class="MsoNormal">This left the following directory structure under the data directory:<br>
<br>
<span style="font-family:"Courier New"">/apps/archivesspace/data>ll<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">total 36<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x  5 archspc users  147 Oct 16  2019 archivesspace_demo_db<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x  9 archspc users 4096 Oct 18  2019 demo_db_backups<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">-rw-r--r--  1 archspc users   32 Oct  8  2019 frontend_cookie_secret_cookie_secret.dat<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">-rw-r--r--  1 archspc users   32 May 14  2020 frontend_cookie_secret.dat<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x  2 archspc users 4096 Aug  9 13:59 indexer_pui_state<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x  2 archspc users 4096 Aug  9 13:59 indexer_state<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x 13 archspc users 4096 Aug  9 00:00 old_solr_backups<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">-rw-r--r--  1 archspc users   32 Oct  8  2019 public_cookie_secret_cookie_secret.dat<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">-rw-r--r--  1 archspc users   32 May 14  2020 public_cookie_secret.dat<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x  3 archspc users   22 Oct 28  2019 shared<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x  2 archspc users    6 Aug  9 10:33 solr_backups<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">drwxr-xr-x 13 archspc users 4096 Aug  9 13:59 tmp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">/apps/archivesspace/data><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">External Solr was installed on the same Linux server as ArchivesSpace. We installed solr-8.10.0, but see that a newer version solr-8.11.2 is available. Should we be using the newer version? How can we clear the External Solr index in order
 to rebuild it?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What needs to be done to eliminate these phantom records? We are assuming it is something left over from the prior version.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please advise or let us know if you need more information.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you.<o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:#2F5496">Gerard (Jerry) Boggio</span></b> |
<b>MITRE Corporation</b> | R124 - <span style="color:#111113">Collaboration & Info Management</span><span style="font-size:18.5pt;font-family:"Arial",sans-serif;color:#111113">
</span>| 781-271-2719<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>