<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=utf-8">
<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:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
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.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
margin:0in;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
span.xapple-converted-space
{mso-style-name:x_apple-converted-space;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas",serif;}
p.xxmsonormal, li.xxmsonormal, div.xxmsonormal
{mso-style-name:x_x_msonormal;
margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.xxgmailsignatureprefix
{mso-style-name:x_x_gmailsignatureprefix;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@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:811287458;
mso-list-template-ids:-1494558732;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
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:;
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:;
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:;
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:;
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:;
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:;
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:;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
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="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I agree with what Mark wrote – perhaps ideally there could be versioning as well, but it would probably need some thought. But I filed an issue that could hopefully make things clearer for administrators who
need to know that they can and should turn the verification off:<br>
<a href="https://archivesspace.atlassian.net/browse/ANW-1789">https://archivesspace.atlassian.net/browse/ANW-1789</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Mark Cooper <mark.cooper@lyrasis.org><br>
<b>Date: </b>Friday, July 28, 2023 at 11:57 AM<br>
<b>To: </b>Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject: </b>Re: [Archivesspace_Users_Group] Solr checksum verification failed (was: Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Hi Peter, <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">"I believe that developers should utilise the version attribute of the<schema> tag better ... and the application should not go beyond comparing this schema version."<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">I certainly can't speak for the ArchivesSpace development team on what changes could or should be made but for context I think that's trying to solve a different problem from what the original
intention was behind the checksum verification.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">When ArchivesSpace transitioned from providing an embedded Solr, to requiring an external one, the primary concern was with ensuring that all users have a smooth transition particularly when following
the documentation ArchivesSpace provides (and ArchivesSpace encompasses an extremely broad range of implementations: from very small archives with few staff [or volunteers] to archives with many staff and developer resources). We handle a lot of support and
in most cases sites are using the exact Solr configurations provided by ArchivesSpace and the checksum verification is intended to "prove" that that is actually the case.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">"A single-space difference would result in the exact same schema semantically and AS would still fail on startup"<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">If you're looking to guarantee that the Solr configurations are exactly those provided by ArchivesSpace this is what you want and has been very helpful for supporting self-hosted installations
that have had issues setting up Solr to work with ArchivesSpace. A version attribute check wouldn't be fully equivalent for this purpose: support is scoped "for Solr deployments using the officially supported version with the standard configuration provided
by the application. Everything else will be treated as best effort community-led support" (https://archivesspace.github.io/tech-docs/provisioning/solr.html).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">"Fourth, most of 'solrconfig.xml' has nothing to do with AS and it is plain wrong to impose a particular version on the Solr administrator."<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">It's not imposed. As James mentions you can do whatever you want by setting: AppConfig[:solr_verify_checksums] = false<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">And this would apply in your case because you made changes to Solr configuration. But for many / most sites it's just a piece of background configuration that doesn't interfere with anything and
just means that Solr was setup "correctly" for ArchivesSpace.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Best,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Mark<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Mark Cooper<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Hosting and Community Supported Programs<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Lyrasis<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt">
<hr size="0" width="100%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt;color:black">From:</span></b><span style="font-size:11.0pt;color:black"> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of James
Bullen <james@hudmol.com><br>
<b>Sent:</b> Thursday, July 27, 2023 3:50 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Solr checksum verification failed (was: Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application)</span><span style="font-size:11.0pt">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Peter,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">I feel your pain.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<blockquote style="margin-left:30.0pt;margin-right:0in">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">AppConfig[:solr_verify_checksums] = false<o:p></o:p></span></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Cheers,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">James<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">On Jul 27, 2023, at 8:14 PM, Peter Heiner <ph448@cam.ac.uk> wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hi all,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">I've just come across this error and I can see several problems that I'm sharing, hoping to be useful.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">First off, my Solr converted the<span class="xapple-converted-space"> </span></span><code>schema.xml</code><span style="font-size:12.0pt"> I uploaded into a file named<span class="xapple-converted-space"> </span></span><code>managed-schema</code><span style="font-size:12.0pt">,
This is by no means unusual for recent versions, but the code that checks the checksums tries to download<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><code>AppConfig[':solr_url']/admin/file?file=schema.xml&contentType=text%2Fxml%3Bcharset%3Dutf-8</code><span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">which trivially fails in this case.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Workaround: copy the file over to the name<span class="xapple-converted-space"> </span></span><code>schema.xml</code><span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Second, the schema the downloaded one is being compared with is the one in the<span class="xapple-converted-space"> </span></span><code>solr/</code><span style="font-size:12.0pt"> directory of the AS installation,
which on the one hand makes sense, but also excludes any local schema modifications, like the ones we had in.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Workaround: copy your<span class="xapple-converted-space"> </span></span><code>schema.xml</code><span style="font-size:12.0pt"> and<span class="xapple-converted-space"> </span></span><code>solrconfig.xml</code><span style="font-size:12.0pt">
into your AS installation's</span><code>solr</code><span style="font-size:12.0pt">/ directory<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">At this point you need to restart ArchivesSpace for it to recalculate the checksums for the local XML files, after that it should boot successfully.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Third, checksums are a horrible way of comparing XML documents. A single-space difference would result in the exact same schema semantically and AS would still fail on startup.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Solution: none locally. I believe that developers should utilise the version attribute of the</span><code><schema></code><span style="font-size:12.0pt"> tag better, coming up with a versioning scheme, updating
the version accordingly whenever the schema is changed in development and the application should not go beyond comparing this schema version.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Fourth, most of 'solrconfig.xml' has nothing to do with AS and it is plain wrong to impose a particular version on the Solr administrator.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Solution: developers should create a </span><code>configoverlay.json</code><span style="font-size:12.0pt"> file administrators can drop in place that ensures that AS's requirements are satisfied. I believe
this is supported by all currently supported versions of Solr.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">p<o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt">
<hr size="2" width="597" style="width:447.6pt" align="center">
</span></div>
<div id="x_divRplyFwdMsg">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span class="xapple-converted-space"><span style="font-size:11.0pt"> </span></span><span style="font-size:11.0pt">archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
on behalf of Mark Cyzyk <mcyzyk@gmail.com><br>
<b>Sent:</b><span class="xapple-converted-space"> </span>16 July 2023 21:09<br>
<b>To:</b><span class="xapple-converted-space"> </span>mcyzyk@jhu.edu <mcyzyk@jhu.edu>; Connolly, Ashley <asconnolly@seattleschools.org>; Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b><span class="xapple-converted-space"> </span>Re: [Archivesspace_Users_Group] Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application</span><span style="font-size:10.5pt;font-family:Helvetica">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:Helvetica"><br>
"Inconceivable!"<br>
<br>
(I don't think "reload" means what I think it means -- at least not in a Solr context.)<br>
<br>
Problem solved and moral of story:<o:p></o:p></span></p>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:10.5pt;font-family:Helvetica">It is not enough to simply copy the Archivesspace Solr config files over to the corresponding directory on the Solr server.<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:10.5pt;font-family:Helvetica">It is not enough to reload the Solr Archivesspace Core with these files in place.<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:10.5pt;font-family:Helvetica">It is not enough to restart the Solr service with these files in place.<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:10.5pt;font-family:Helvetica">You must delete/destroy the existing Archivesspace Core, you must create a new Archivesspace Core, you must copy the Archivesspace Solr config files over to the corresponding directory on the Solr server,
and finally for good measure you must restart the Solr service with these files in place.<o:p></o:p></span></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style="font-size:10.5pt;font-family:Helvetica">With a Solr Archivesspace Core up and running, you now are ready to boot up the Archivesspace application and will not get a checksum mismatch error.<o:p></o:p></span></li></ul>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:Helvetica"><br>
Last few lines of my Vagrant routine -- basically Delete, Create, Copy, Restart:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">sudo su - solr -c "/opt/solr/bin/solr delete -c archivesspace -p 8983 -deleteConfig true"<span class="xapple-converted-space"> </span><br>
sudo rm -Rv /opt/solr/server/solr/configsets/archivesspace<br>
sudo mkdir -p /opt/solr/server/solr/configsets/archivesspace/conf<br>
sudo cp -r /usr/share/archivesspace/solr/* /opt/solr/server/solr/configsets/archivesspace/conf/<br>
sudo chown -R solr:solr /opt/solr/server/solr/configsets/archivesspace/conf/<br>
sudo su - solr -c "/opt/solr/bin/solr create -c archivesspace -p 8983 -d archivesspace"<br>
sudo systemctl restart solr<span class="xapple-converted-space"> </span><br>
sudo /usr/share/archivesspace/scripts/setup-database.sh<br>
sudo systemctl start archivesspace<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><br>
It's all working, upgraded to 3.4.0 with plugins seemingly working.<br>
<br>
Spinning in chair,<br>
G'Day!<br>
<br>
Mark<br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<pre><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><o:p> </o:p></pre>
<pre>Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre>Library Applications Group<o:p></o:p></pre>
<pre>The Sheridan Libraries<o:p></o:p></pre>
<pre>The Johns Hopkins University<o:p></o:p></pre>
<pre><a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">On 7/16/23 11:12, Mark Cyzyk wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:Helvetica"><br>
More:<br>
<br>
From what I'm reading, Solr maintains the old config file (schema.xml) in some kind of temp directory. I'm thinking, therefore, that this old file is cached in this way and is the one being read and that that's how two different checksums are possible?<br>
<br>
So my thinking is, maybe once the new Solr config files are copied over to the Solr Archivesspace core, that that core needs to be reloaded in order for Solr to get rid of the cache.<br>
<br>
The last few lines from my Vagrant routine:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">sudo cp -Rv /usr/share/archivesspace/solr/* /opt/solr/server/solr/configsets/archivesspace/conf/<br>
sudo chown -R solr:solr /opt/solr/server/solr/configsets/archivesspace/conf/<br>
<b>curl<span class="xapple-converted-space"> </span><a href="http://localhost:8983/solr/admin/cores?action=RELOAD&core=archivesspace">"http://localhost:8983/solr/admin/cores?action=RELOAD&core=archivesspace"</a></b><br>
sudo systemctl restart solr<span class="xapple-converted-space"> </span><br>
sudo /usr/share/archivesspace/scripts/setup-database.sh<br>
sudo systemctl start archivesspace<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:Helvetica"><br>
But still no joy! Still checksum mismatch.<br>
<br>
...<br>
<br>
As an experiment, in my config.rb I set:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">AppConfig[:solr_verify_checksums] = false<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:Helvetica"><br>
Boot up ASpace, and error:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">ArchivesSpaceThreadDump: Touch the file '/usr/share/archivesspace/thread_dump_indexer.txt' to trigger a thread dump<br>
I, [2023-07-15T19:24:43.750508 #52921] INFO -- : Thread-2930: Starting periodic indexer<br>
I, [2023-07-15T19:24:43.752627 #52921] INFO -- : Thread-2930: Starting PUI indexer<br>
I, [2023-07-15T19:24:43.756222 #52921] INFO -- : Thread-2932: Staff Indexer [2023-07-15 19:24:43 +0000] Running index round<br>
E, [2023-07-15T19:24:44.997705 #52921] ERROR -- : Thread-2932: SolrIndexerError when indexing records: {<br>
"responseHeader":{<br>
"status":400,<br>
"QTime":38},<br>
"error":{<br>
"metadata":[<br>
"error-class","org.apache.solr.common.SolrException",<br>
"root-error-class","org.apache.solr.common.SolrException"],<br>
"msg":"ERROR: [doc=/repositories/3]<span class="xapple-converted-space"> </span><b>unknown field 'position_int_sort'",</b><br>
"code":400}}<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"> <br>
It's as if the new Solr config has not taken effect. [It's not really a new config, both schemas are Version 1.5. I'm just trying to overcome this mysterious checksum mismatch...]<br>
<br>
Copying the ASpace Solr config files over to the corresponding Solr directory, reloading the Solr Archivesspace core with these new files in place, and restarting the Solr service is not enough. I feel like I'm missing one final step.<br>
<br>
Mark<br>
<br>
<br>
<br>
<o:p></o:p></span></p>
<pre><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><o:p> </o:p></pre>
<pre>Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre>Library Applications Group<o:p></o:p></pre>
<pre>The Sheridan Libraries<o:p></o:p></pre>
<pre>The Johns Hopkins University<o:p></o:p></pre>
<pre><a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">On 7/15/23 10:18, Mark Cyzyk wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:Helvetica">Thanks, Ashley,<br>
<br>
I did not know about that Reindexer plugin. Useful!<br>
<br>
I am able to reindex now, no prob.<br>
<br>
My problem appears to be that the checksum on the schema.xml file from my Production server differs what the checksum on the schema.xml file in the 3.4.0 distribution, and this despite the fact that the both are Version 1.5 of the schema:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Outside the VM, on Disk:<br>
mcyzyk@SPEEDY2022:~/VagrantBoxes/Archivesspace/archivesspace_CURRENT/solr$ sha256sum schema.xml<span class="xapple-converted-space"> </span><br>
<b>4d4849771a91d677f255b638cbefa8b8d67a236c56c645bb13c2842480614d78 </b>schema.xml<br>
<br>
mcyzyk@SPEEDY2022:~/VagrantBoxes/Archivesspace/archivesspace_NEW/solr$ sha256sum schema.xml<br>
<b>f066f17556bbe49b0526ff70ae885bdc9655666b503227667ef0c4315e4e5b0b</b> schema.xml<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:Helvetica"><br>
And so, with the Production version of 3.2.0 installed in my VM, when I go to upgrade to 3.4.0 everything initially works --<span class="xapple-converted-space"> </span><i>except</i><span class="xapple-converted-space"> </span>this checksum mismatch.<br>
<br>
In the VM, I copy the NEW (3.4.0) schema.xml file over into the Solr config and restart Solr. The files at this point should, and do, have identical checksums.<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Helvetica">vagrant@vagrant:~$ sha256sum /usr/share/archivesspace/solr/schema.xml<span class="xapple-converted-space"> </span></span><span style="font-size:10.5pt;font-family:Helvetica"><br>
</span><b><span style="font-size:11.0pt;font-family:Helvetica">f066f17556bbe49b0526ff70ae885bdc9655666b503227667ef0c4315e4e5b0b</span></b><span class="xapple-converted-space"><span style="font-size:11.0pt;font-family:Helvetica"> </span></span><span style="font-size:11.0pt;font-family:Helvetica"> </span><span style="font-size:10.5pt;font-family:Helvetica"><br>
<br>
</span><span style="font-size:11.0pt;font-family:Helvetica">vagrant@vagrant:~$ sha256sum /opt/solr/server/solr/configsets/archivesspace/conf/schema.xml</span><span style="font-size:10.5pt;font-family:Helvetica"><br>
</span><b><span style="font-size:11.0pt;font-family:Helvetica">f066f17556bbe49b0526ff70ae885bdc9655666b503227667ef0c4315e4e5b0b<span class="xapple-converted-space"> </span></span></b><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><br>
And yet the Archivesspace space error persists upon bootup: "</span><span style="font-size:11.0pt;font-family:Helvetica">Solr checksum verification failed</span><span style="font-size:10.5pt;font-family:Helvetica">"<br>
<br>
With the two files being identical, I don't see how this is possible. If ASpace is performing a checksum against schema.xml in the Solr config, and the schema.xml file in the ASpace directory, they are now equal.<br>
<br>
Not sure why this error is still happening.<br>
<br>
Mark<br>
<br>
<br>
<o:p></o:p></span></p>
<pre><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><o:p> </o:p></pre>
<pre>Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre>Library Applications Group<o:p></o:p></pre>
<pre>The Sheridan Libraries<o:p></o:p></pre>
<pre>The Johns Hopkins University<o:p></o:p></pre>
<pre><a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">On 7/14/23 21:27, Connolly, Ashley wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Hey Mark,</span><o:p></o:p></p>
</div>
<p class="xxmsonormal"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Something that stuck out to me as I just did an upgrade to 3.4.0 from 3.3.1 today – I did not have either an indexer_state or indexer_pui_state directory in my Solr AS core, I only had an “index” directory.<span class="xapple-converted-space"> </span><u>Running
Solr 8.11.2.</u></span><o:p></o:p></p>
</div>
<p class="xxmsonormal"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">I deleted the directory “index” from my Solr core data directory (for me, /home/solr/var-solr/data/archivesspace/data) and restarted Solr. I also installed<a href="https://github.com/lyrasis/aspace-reindexer">https://github.com/lyrasis/aspace-reindexer</a><span class="xapple-converted-space"> </span>and
(temporarily) enabled the configuration option to auto-reindex on AS start. Ran the DB migrations per the upgrade docs and after that I had no issues starting ArchivesSpace.</span><o:p></o:p></p>
</div>
<p class="xxmsonormal"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Not sure if this helps or not but as I recall on some systems `rm` will return success if asked to delete a directory that doesn’t exist, so I thought it worth mentioning in case you missed deleting the Solr
index. Good luck,</span><o:p></o:p></p>
</div>
<p class="xxmsonormal"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div>
<p class="MsoNormal">--<br>
<span style="border:none windowtext 1.0pt;padding:0in">Mx. Ashley Rose Connolly (she/her), Senior Systems Engineer, SPS DoTS SysOps</span><o:p></o:p></p>
</div>
<p class="xxmsonormal"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div id="x_x_mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<b><span style="font-size:12.0pt">From:<span class="xapple-converted-space"> </span></span></b><span style="font-size:12.0pt"><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org"><archivesspace_users_group-bounces@lyralists.lyrasis.org></a><span class="xapple-converted-space"> </span>on
behalf of Mark Cyzyk<span class="xapple-converted-space"> </span><a href="mailto:mcyzyk@gmail.com"><mcyzyk@gmail.com></a><br>
<b>Date:<span class="xapple-converted-space"> </span></b>Friday, July 14, 2023 at 15:11<br>
<b>To:<span class="xapple-converted-space"> </span></b><a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><span class="xapple-converted-space"> </span><a href="mailto:mcyzyk@jhu.edu"><mcyzyk@jhu.edu></a>,<span class="xapple-converted-space"> </span><a href="mailto:jesse.martinez@bc.edu">jesse.martinez@bc.edu</a><a href="mailto:jesse.martinez@bc.edu"><jesse.martinez@bc.edu></a><br>
<b>Cc:<span class="xapple-converted-space"> </span></b>Archivesspace Users Group<span class="xapple-converted-space"> </span><a href="mailto:archivesspace_users_group@lyralists.lyrasis.org"><archivesspace_users_group@lyralists.lyrasis.org></a><br>
<b>Subject:<span class="xapple-converted-space"> </span></b>Re: [Archivesspace_Users_Group] Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application</span><span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
Sorry to keep this thread going!<br>
<br>
I returned to this project a little while ago and checked both schema.xml files and sure enough they have different checksums:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">vagrant@vagrant:/usr/share/archivesspace/solr$ sha256sum schema.xml<span class="xapple-converted-space"> </span><br>
<b>f066f17556bbe49b0526ff70ae885bdc9655666b503227667ef0c4315e4e5b0b</b> schema.xml<br>
<br>
vagrant@vagrant:/opt/solr/server/solr/configsets/archivesspace/conf$ sha256sum schema.xml<br>
<b>4d4849771a91d677f255b638cbefa8b8d67a236c56c645bb13c2842480614d78</b> schema.xml</span><o:p></o:p></p>
</div>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
Thinking maybe there was some kind of bit-flipping happening when copying between Vagrant/Virtualbox Host and Guest, I copied the Solr schema.xml file directly from within the VM itself.<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">cp /usr/share/archivesspace/solr/schema.xml /opt/solr/server/solr/configsets/archivesspace/conf/schema.xml</span><o:p></o:p></p>
</div>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
This results in two files with identical checksums:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">vagrant@vagrant:~$ sha256sum /usr/share/archivesspace/solr/schema.xml<span class="xapple-converted-space"> </span><br>
<b>f066f17556bbe49b0526ff70ae885bdc9655666b503227667ef0c4315e4e5b0b</b><span class="xapple-converted-space"> </span> <br>
<br>
vagrant@vagrant:~$ sha256sum /opt/solr/server/solr/configsets/archivesspace/conf/schema.xml<br>
<b>f066f17556bbe49b0526ff70ae885bdc9655666b503227667ef0c4315e4e5b0b<span class="xapple-converted-space"> </span></b></span><o:p></o:p></p>
</div>
</blockquote>
<div style="margin-left:.5in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
Unfortunately, when I start up ASpace I still get the "Solr checksum verification failed."<br>
<br>
I just am not sure how this is possible. Both files have the same checksums!<br>
<br>
Thinking...<br>
<br>
Mark</span><o:p></o:p></p>
</div>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/14/23 11:58, Mark Cyzyk wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
After-Party:<br>
<br>
Now that I have a copy of my production 3.2.0 running just fine via Vagrant, I run my Upgrade routines and ASpace DOES upgrade to 3.4.0!<br>
<br>
But, when I do a search for anything I get a nice "Unable to Connect to Database" error message which, I have determined, is a misnomer. What it means to say is: "Solr checksum verification failed".<br>
<br>
Full error message here:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">ArchivesSpaceThreadDump: Touch the file '/usr/share/archivesspace/thread_dump_backend.txt' to trigger a thread dump<br>
I, [2023-07-14T15:40:57.771226 #52824] INFO -- : Thread-2002: Connecting to database: jdbc:mysql://localhost:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8&useSS><br>
I, [2023-07-14T15:40:58.115235 #52824] INFO -- : Thread-2002: All tables checked and confirmed set to UTF-8. Nice job!<br>
========================================================================<br>
A trace file has been written to the following location: /usr/share/archivesspace/data/tmp/aspace_diagnostic_1689349259.txt<br>
<br>
This file contains information that will assist developers in diagnosing<br>
problems with your ArchivesSpace installation. Please review the file's<br>
contents for sensitive information (such as passwords) that you might not<br>
want to share.<br>
========================================================================<br>
Jul 14, 2023 3:40:59 PM org.eclipse.jetty.server.handler.ContextHandler$Context log<br>
INFO: An exception happened during JRuby-Rack startup<br>
Solr checksum verification failed (schema): expected [f066f17556bbe49b0526ff70ae885bdc9655666b503227667ef0c4315e4e5b0b] got [4d4849771a91d677f255b638cbefa8b8d67a236c56c645bb13c2842480614d78]</span><o:p></o:p></p>
</div>
</blockquote>
<div style="margin-left:.5in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
DB check, OK.<br>
UTF-8 check, OK.<br>
Solr Schema checksum check, Not OK.<br>
<br>
And so, I then forced my Vagrant script to simply copy 3.4.0 Solr files* into /opt/solr/server/solr/configsets/archivesspace/conf At this point, the files in these two directories should be exactly similar with identical checksums.<br>
<br>
I restart Solr with these files in place.<br>
<br>
I restart ASpace -- still checksum failure.<br>
<br>
Trying to think how their checksums can differ. Should be an exact copy.<br>
<br>
Mark<br>
</span><o:p></o:p></p>
</div>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/13/23 16:19, Mark Cyzyk wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
Thanks Joshua, Jesse, Brian, Blake, Valerie for helping me this week on my VEXING Aspace/Vagrant/Solr issue.<br>
<br>
Here is what's now working: (!)<br>
<br>
In my config.rb (for Vagrant version of this project):<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"># Vagrant ######################################################################<br>
AppConfig[:db_url] = "jdbc:mysql://localhost:3306/archivesspace?user=REDACTED&password=REDACTED&useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true"<br>
AppConfig[:backend_url] =<span class="xapple-converted-space"> </span><a href="http://localhost:8089/">"http://localhost:8089"</a><br>
AppConfig[:frontend_url] =<span class="xapple-converted-space"> </span><a href="http://localhost:8080/">"http://localhost:8080"</a><br>
AppConfig[:public_url] =<span class="xapple-converted-space"> </span><a href="http://localhost:9999/">"http://localhost:9999"</a><br>
AppConfig[:solr_verify_checksums] = true<br>
AppConfig[:enable_solr] = false<br>
AppConfig[:solr_url] =<span class="xapple-converted-space"> </span><a href="http://localhost:8983/solr/archivesspace">"http://localhost:8983/solr/archivesspace"</a><br>
################################################################################</span><o:p></o:p></p>
</div>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
This and the following Force Reindex did the trick!<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">sudo service archivespace stop<br>
sudo rm -rf /usr/share/archivesspace/data/indexer_state/<br>
sudo rm -rf /usr/share/archivesspace/data/indexer_pui_state/<br>
curl -X POST -H 'Content-Type: application/json' --data-binary '{"delete":{"query":"*:*" }}'<a href="http://localhost:8983/solr/archivesspace/update?commit=true">http://localhost:8983/solr/archivesspace/update?commit=true</a><br>
sudo service archivesspace start</span><o:p></o:p></p>
</div>
</blockquote>
<div style="margin-left:.5in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
Seriously appreciative.<br>
<br>
Onward!<br>
<br>
Mark</span><o:p></o:p></p>
</div>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/13/23 11:24 AM, Jesse Martinez wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Mark,</span><o:p></o:p></p>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">It's normal for the archivesspace core not to have a Data import handler set up. And it's also normal to see that warning message about security in the solr logs.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you for checking that the solr schema.xml file matches. The last thing I can recommend for troubleshooting solr is to bootstrap it with solr data from production, and see if that loads records into the
ASpace interface.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Jesse </span><o:p></o:p></p>
</div>
</div>
</div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On Thu, Jul 13, 2023 at 10:49 AM Mark Cyzyk <<a href="mailto:mcyzyk@gmail.com" target="_blank">mcyzyk@gmail.com</a>> wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
In the Solr Web Gui --> Archivesspace Core --> Dataimport, there is this error message:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">The solrconfig.xml file for this index does not have an operational DataImportHandler defined!</span><o:p></o:p></p>
</div>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
My solrconfig.xml, straight from 3.2.0 codebase:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<div>
<div>
<pre style="margin-left:.5in"><code><?xml version="1.0" encoding="utf-8"?></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code><config></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <lib dir="${solr.install.dir}/dist/" regex="solr-analysis-extras.*\.jar" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <lib dir="${solr.install.dir}/contrib/analysis-extras/lucene-libs" regex="lucene-analyzers-icu-.*\.jar" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <lib dir="${solr.install.dir}/contrib/analysis-extras/lib/" regex="icu4j-*.*\.jar" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <schemaFactory class="ClassicIndexSchemaFactory"/></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <luceneMatchVersion>8.10</luceneMatchVersion></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <dataDir>${solr.data.dir:}</dataDir></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <updateHandler class="solr.DirectUpdateHandler2"></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <maxPendingDeletes>1000</maxPendingDeletes></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <autoCommit></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <maxDocs>1000</maxDocs></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <maxTime>60000</maxTime></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <openSearcher>false</openSearcher></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </autoCommit></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </updateHandler></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <query></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <maxBooleanClauses>1024</maxBooleanClauses></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <filterCache class="solr.FastLRUCache" size="512" initialSize="512" autowarmCount="0" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <queryResultCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <documentCache class="solr.LRUCache" size="512" initialSize="512" autowarmCount="0" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <enableLazyFieldLoading>true</enableLazyFieldLoading></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <queryResultWindowSize>20</queryResultWindowSize></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <queryResultMaxDocsCached>200</queryResultMaxDocsCached></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <useColdSearcher>false</useColdSearcher></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <maxWarmingSearchers>2</maxWarmingSearchers></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </query></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestDispatcher handleSelect="false"></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048000" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <httpCaching never304="true" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </requestDispatcher></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestHandler name="/select" class="solr.SearchHandler"></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <lst name="defaults"></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="defType">edismax</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="echoParams">explicit</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <int name="rows">10</int></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="df">fullrecord</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="pf">four_part_id^50</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="qf">title^25 four_part_id^50 fullrecord</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="bq">primary_type:resource^100</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="bq">primary_type:accession^100</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="bq">primary_type:subject^50</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="bq">primary_type:agent_person^50</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="bq">primary_type:agent_corporate_entity^30</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="bq">primary_type:agent_family^30</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </lst></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </requestHandler></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestHandler name="/update" class="solr.UpdateRequestHandler"></requestHandler></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestHandler name="/analysis/document" class="solr.DocumentAnalysisRequestHandler" startup="lazy" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <queryResponseWriter name="json" class="solr.JSONResponseWriter"></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <str name="content-type">text/plain; charset=UTF-8</str></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </queryResponseWriter></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <admin></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <defaultQuery>*:*</defaultQuery></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> </admin></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> <requestHandler name="/admin/luke" class="org.apache.solr.handler.admin.LukeRequestHandler" /></code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code></config></code><o:p></o:p></pre>
</div>
</div>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/13/23 10:40, Mark Cyzyk wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Mark,</span><o:p></o:p></p>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">If you go to this URL</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="http://localhost:8983/solr/#/archivesspace/files?file=schema.xml" target="_blank">http://localhost:8983/solr/#/archivesspace/files?file=schema.xml</a> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">does the schema file shown there match the same one you copied over?</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="https://github.com/archivesspace/archivesspace/blob/v3.2.0/solr/schema.xml" target="_blank">https://github.com/archivesspace/archivesspace/blob/v3.2.0/solr/schema.xml</a></span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Jesse</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
<br>
Yes, they match:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><schema name="archivesspace" version="1.5"></span><o:p></o:p></p>
</div>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
Thinking...<br>
<br>
Mark<span style="font-size:10.0pt"><o:p></o:p></span></p>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/12/23 16:20, Jesse Martinez wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Mark,</span><o:p></o:p></p>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">If you go to this URL</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="http://localhost:8983/solr/#/archivesspace/files?file=schema.xml" target="_blank">http://localhost:8983/solr/#/archivesspace/files?file=schema.xml</a> </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">does the schema file shown there match the same one you copied over?</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="https://github.com/archivesspace/archivesspace/blob/v3.2.0/solr/schema.xml" target="_blank">https://github.com/archivesspace/archivesspace/blob/v3.2.0/solr/schema.xml</a></span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Jesse</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
</div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On Wed, Jul 12, 2023 at 3:44 PM Mark Cyzyk <<a href="mailto:mcyzyk@gmail.com" target="_blank">mcyzyk@gmail.com</a>> wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<div style="margin-left:.5in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">Another clue, from the Log in the Solr Web GUI:<br>
<br>
</span><o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:.5in">
<tbody>
<tr>
<td style="padding:0in 0in 0in 0in">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">7/12/2023, 3:19:27 PM</span><o:p></o:p></p>
</div>
</td>
<td style="padding:0in 0in 0in 0in">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">WARN false</span><o:p></o:p></p>
</div>
</td>
<td style="padding:0in 0in 0in 0in"></td>
<td style="padding:0in 0in 0in 0in">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">CoreContainer</span><o:p></o:p></p>
</div>
</td>
<td style="padding:0in 0in 0in 0in">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Not all security plugins configured! authentication=disabled authorization=disabled. Solr is only as secure as you make it. Consider configuring authentication/authorization before exposing Solr to users internal
or external. See<span class="xapple-converted-space"> </span><a href="https://s.apache.org/solrsecurity">https://s.apache.org/solrsecurity</a>for more info</span><o:p></o:p></p>
</div>
</td>
</tr>
</tbody>
</table>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
Maybe ASpace simply does not have permission to add to Solr? (And yet, this is just a warning. And yet, for the sake of replicability, this very same Solr setup worked in Vagrant during our last ASpace upgrade.)<br>
<br>
Here, setting up Solr in my Vagrant file (which I recently ran line-by-line, manually, without error):<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"> solr_provision = <<SCRIPT<br>
cd /opt<br>
sudo wget<span class="xapple-converted-space"> </span><a href="https://archive.apache.org/dist/lucene/solr/8.10.0/solr-8.10.0.tgz" target="_blank">https://archive.apache.org/dist/lucene/solr/8.10.0/solr-8.10.0.tgz</a><br>
sudo tar zxf solr-8.10.0.tgz<br>
sudo bash /opt/solr-8.10.0/bin/install_solr_service.sh /opt/solr-8.10.0.tgz<br>
sudo mkdir -p /opt/solr/server/solr/configsets/archivesspace/conf<br>
sudo cp -r /vagrant/archivesspace_CURRENT/solr/* /opt/solr/server/solr/configsets/archivesspace/conf/<br>
sudo chown -R solr:solr /opt/solr<br>
sudo su - solr -c "/opt/solr/bin/solr create -c archivesspace -p 8983 -d archivesspace"<br>
sudo systemctl restart solr<span class="xapple-converted-space"> </span><br>
SCRIPT</span><o:p></o:p></p>
</div>
</blockquote>
<div style="margin-left:.5in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
Reading about Solr and Permissions....<br>
<br>
And sorry for all the emails in this thread. And yet, once this is resolved it may have value for others in future?<br>
<br>
Mark<br>
<br>
</span><o:p></o:p></p>
</div>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/12/23 11:46 AM, Joshua D. Shaw wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:12.0pt">Hey Mark</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"><span style="font-size:12.0pt"> </span><span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:12.0pt">After the updates you've made to the config, try shutting down AS and clearing the indexer state directories and restarting. That should tell AS to try a new index.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"><span style="font-size:12.0pt"> </span><span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:12.0pt">Also, I think that +0000 is just a timestamp offset. Its not counting the objects indexed. That log line looks something like: PUI Indexer ... indexed x of y resources</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"><span style="font-size:12.0pt"> </span><span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:12.0pt">Joshua</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"><span style="font-size:12.0pt"> </span><span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div style="margin-left:.5in">
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt">
<hr size="0" width="0%" align="center">
</span></div>
</div>
<div id="x_x_m_9044674422647143338m_6398207830784655580m_4501676620168833283m_-7203434989826652434divRplyFwdMsg">
<div style="margin-left:.5in">
<p class="MsoNormal"><b><span style="font-size:11.0pt">From:</span></b><span style="font-size:11.0pt"><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank"><archivesspace_users_group-bounces@lyralists.lyrasis.org></a>on
behalf of Mark Cyzyk<a href="mailto:mcyzyk@gmail.com" target="_blank"><mcyzyk@gmail.com></a><br>
<b>Sent:</b>Wednesday, July 12, 2023 11:32 AM<br>
<b>To:</b>Brian Hoffman<span class="xapple-converted-space"> </span><a href="mailto:brian.hoffman@lyrasis.org" target="_blank"><brian.hoffman@lyrasis.org></a>;<span class="xapple-converted-space"> </span><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><a href="mailto:mcyzyk@jhu.edu" target="_blank"><mcyzyk@jhu.edu></a>;
Archivesspace Users Group<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank"><archivesspace_users_group@lyralists.lyrasis.org></a>;<span class="xapple-converted-space"> </span><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a><a href="mailto:jesse.martinez@bc.edu" target="_blank"><jesse.martinez@bc.edu></a><br>
<b>Subject:</b>Re: [Archivesspace_Users_Group] Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application</span><o:p></o:p></p>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
Brian,<br>
<br>
I am trying to duplicate our Production ASpace 3.2.0 in a local Vagrant box so I can stage an upgrade to the latest codebase.<br>
<br>
</span><o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Try uncommenting that line and changing it to:<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">AppConfig[:solr_url] =<a href="http://localhost:8983/solr/archivesspace" target="_blank">"http://localhost:8983/solr/archivesspace"</a></span><o:p></o:p></p>
</div>
</blockquote>
<p class="xxmsonormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
Done. And yet:<span style="font-size:10.0pt"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">************************************************************<br>
Welcome to ArchivesSpace!<br>
You can now point your browser to<span class="xapple-converted-space"> </span><a href="http://localhost:8080/" target="_blank">http://localhost:8080</a><br>
************************************************************<br>
I, [2023-07-12T15:28:45.335247 #51936] INFO -- : Thread-3306: PUI Indexer [2023-07-12 15:28:45 +0000] Running index round<br>
I, [2023-07-12T15:28:47.533454 #51936] INFO -- : Thread-3306: PUI Indexer [2023-07-12 15:28:47 +0000] Index round complete<br>
I, [2023-07-12T15:28:50.634218 #51936] INFO -- : Thread-2956: Staff Indexer [2023-07-12 15:28:50 +0000] Running index round<br>
I, [2023-07-12T15:28:52.715507 #51936] INFO -- : Thread-2956: Staff Indexer [2023-07-12 15:28:52 +0000] Index round complete</span><o:p></o:p></p>
</div>
</blockquote>
<div style="margin-left:.5in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"><br>
Still +0000!<br>
<br>
Mark<br>
<br>
</span><o:p></o:p></p>
</div>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">On 7/12/23 11:10, Brian Hoffman wrote:</span><o:p></o:p></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Hi Mark,<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">What version of ASpace are you using?<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Try uncommenting that line and changing it to:<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-family:Helvetica">AppConfig[:solr_url] =<a href="http://localhost:8983/solr/archivesspace" target="_blank">"http://localhost:8983/solr/archivesspace"</a></span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<b><span style="font-size:12.0pt;font-family:Helvetica">From:</span></b><span style="font-size:12.0pt;font-family:Helvetica">Mark Cyzyk<span class="xapple-converted-space"> </span><a href="mailto:mcyzyk@gmail.com" target="_blank"><mcyzyk@gmail.com></a><br>
<b>Date:<span class="xapple-converted-space"> </span></b>Wednesday, July 12, 2023 at 10:59 AM<br>
<b>To:<span class="xapple-converted-space"> </span></b>Brian Hoffman<span class="xapple-converted-space"> </span><a href="mailto:brian.hoffman@lyrasis.org" target="_blank"><brian.hoffman@lyrasis.org></a>,<span class="xapple-converted-space"> </span><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><a href="mailto:mcyzyk@jhu.edu" target="_blank"><mcyzyk@jhu.edu></a>,
Archivesspace Users Group<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank"><archivesspace_users_group@lyralists.lyrasis.org></a>,<span class="xapple-converted-space"> </span><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a><a href="mailto:jesse.martinez@bc.edu" target="_blank"><jesse.martinez@bc.edu></a><br>
<b>Subject:<span class="xapple-converted-space"> </span></b>Re: [Archivesspace_Users_Group] Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application</span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-family:Helvetica"><br>
Brian,<br>
<br>
That value, commented out because it's the default, in my config is:</span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-family:Helvetica">## The ArchivesSpace Solr index listens on port 8090 by default. You can<br>
## set it to something else below.<br>
#AppConfig[:solr_url] =<span class="xapple-converted-space"> </span><a href="http://localhost:8090/" target="_blank">"http://localhost:8090"</a></span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
</blockquote>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-family:Helvetica"><br>
Mark</span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-family:Helvetica">On 7/12/23 10:34, Brian Hoffman wrote:</span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Hi Mark,<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">I am referring to the value for :solr_url in the file ‘config/config.rb’<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Brian<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<b><span style="font-size:12.0pt;font-family:Helvetica">From:</span></b><span style="font-size:12.0pt;font-family:Helvetica">Mark Cyzyk<span class="xapple-converted-space"> </span><a href="mailto:mcyzyk@gmail.com" target="_blank"><mcyzyk@gmail.com></a><br>
<b>Date:<span class="xapple-converted-space"> </span></b>Wednesday, July 12, 2023 at 10:32 AM<br>
<b>To:<span class="xapple-converted-space"> </span></b>Brian Hoffman<span class="xapple-converted-space"> </span><a href="mailto:brian.hoffman@lyrasis.org" target="_blank"><brian.hoffman@lyrasis.org></a>,<span class="xapple-converted-space"> </span><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><a href="mailto:mcyzyk@jhu.edu" target="_blank"><mcyzyk@jhu.edu></a>,
Archivesspace Users Group<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank"><archivesspace_users_group@lyralists.lyrasis.org></a>,<span class="xapple-converted-space"> </span><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a><a href="mailto:jesse.martinez@bc.edu" target="_blank"><jesse.martinez@bc.edu></a><br>
<b>Subject:<span class="xapple-converted-space"> </span></b>Re: [Archivesspace_Users_Group] Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application</span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-size:10.5pt;font-family:Helvetica">Thanks, Brian,<br>
<br>
Here is what I see on screen:<br>
<br>
<snapshot1.png><o:p></o:p></span></p>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">On 7/12/23 10:24, Brian Hoffman wrote:<o:p></o:p></span></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Hi Mark,<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">I believe you have incorrectly set the solr url to a screen on the control panel.<o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Try replacing:<br>
<br>
</span><span style="font-family:Helvetica"><a href="http://localhost:8983/solr/#/~cores/archivesspace" target="_blank" title="http://localhost:8983/solr/#/~cores/archivesspace"><span style="font-size:12.0pt">http://localhost:8983/solr/#/~cores/archivesspace</span></a><br>
<br>
with<span class="xapple-converted-space"> </span></span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-family:Helvetica"> </span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-family:Helvetica"><a href="http://localhost:8983/solr/#/~cores/archivesspace" target="_blank" title="http://localhost:8983/solr/#/~cores/archivesspace"><span style="font-size:12.0pt">http://localhost:8983/solr/archivesspace</span></a></span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<b><span style="font-size:12.0pt;font-family:Helvetica">From:</span></b><span style="font-size:12.0pt;font-family:Helvetica"><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank"><archivesspace_users_group-bounces@lyralists.lyrasis.org></a>on
behalf of Mark Cyzyk<a href="mailto:mcyzyk@gmail.com" target="_blank"><mcyzyk@gmail.com></a><br>
<b>Date:<span class="xapple-converted-space"> </span></b>Wednesday, July 12, 2023 at 10:19 AM<br>
<b>To:<span class="xapple-converted-space"> </span></b><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a><a href="mailto:jesse.martinez@bc.edu" target="_blank"><jesse.martinez@bc.edu></a>,<a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><a href="mailto:mcyzyk@jhu.edu" target="_blank"><mcyzyk@jhu.edu></a><br>
<b>Cc:<span class="xapple-converted-space"> </span></b>Archivesspace Users Group<span class="xapple-converted-space"> </span><a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank"><archivesspace_users_group@lyralists.lyrasis.org></a><br>
<b>Subject:<span class="xapple-converted-space"> </span></b>Re: [Archivesspace_Users_Group] Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application</span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-size:10.5pt;font-family:Helvetica">Darn:<br>
<br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre style="margin-left:.5in"><code>{</code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> "</code>responseHeader<code>":</code>{<o:p></o:p></pre>
<pre style="margin-left:.5in"> "status":0,<o:p></o:p></pre>
<pre style="margin-left:.5in"> "QTime":187,<o:p></o:p></pre>
<pre style="margin-left:.5in"> "params":{<o:p></o:p></pre>
<pre style="margin-left:.5in"> "q":"*:*",<o:p></o:p></pre>
<pre style="margin-left:.5in"> "indent":"true",<o:p></o:p></pre>
<pre style="margin-left:.5in"> "q.op":"OR",<o:p></o:p></pre>
<pre style="margin-left:.5in"> "_":"1689171084647"}}<code>,</code><o:p></o:p></pre>
<pre style="margin-left:.5in"><code> "</code>response<code>":</code>{"numFound":0,"start":0,"numFoundExact":true,"docs":[]<o:p></o:p></pre>
<pre style="margin-left:.5in"> }}<o:p></o:p></pre>
</blockquote>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-size:10.5pt;font-family:Helvetica"><br>
I will look more carefully at my Solr Aspace config (and yet the steps in my Vagrant file for setting this up are the same as last summer when I did this!).<br>
<br>
Mark<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">On 7/12/23 10:09, Jesse Martinez wrote:<o:p></o:p></span></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Thanks for sharing that, Mark!<o:p></o:p></span></p>
</div>
<div>
<div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">I have another quick follow up question.<o:p></o:p></span></p>
</div>
</div>
<div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">What do you see when you run a solr search like this one:<o:p></o:p></span></p>
</div>
</div>
<div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><a href="http://localhost:8983/solr/#/archivesspace/query?q=*:*&q.op=OR&indent=true" target="_blank">http://localhost:8983/solr/#/archivesspace/query?q=*:*&q.op=OR&indent=true</a><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">You should see all your indexed records. But if you don't see any results then it may indicate that your archivesspace configuration directory is not correct. <o:p></o:p></span></p>
</div>
</div>
<div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Jesse<o:p></o:p></span></p>
</div>
</div>
</div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
<div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">On Wed, Jul 12, 2023 at 10:05 AM Mark Cyzyk <<a href="mailto:mcyzyk@gmail.com" target="_blank">mcyzyk@gmail.com</a>> wrote:<o:p></o:p></span></p>
</div>
</div>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<div>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-size:10.5pt;font-family:Helvetica"><br>
Thanks, Jesse,<br>
<br>
Here is the output of those commands:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">ps aux | grep solr | grep -v grep<br>
solr 898 0.0 0.1 19096 9812 ? Ss Jul11 0:00 /lib/systemd/systemd --user<br>
solr 910 0.0 0.0 169492 3368 ? S Jul11 0:00 (sd-pam)<br>
solr 1223 0.5 12.5 4018692 742508 ? Sl Jul11 7:41 java -server -Xms512m -Xmx512m -XX:+UseG1GC -XX:+PerfDisableSharedMem -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=250 -XX:+UseLargePages -XX:+AlwaysPreTouch -XX:+ExplicitGCInvokesConcurrent
-verbose:gc -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -Xloggc:/var/solr/logs/solr_gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=9 -XX:GCLogFileSize=20M
-Dsolr.jetty.inetaccess.includes= -Dsolr.jetty.inetaccess.excludes= -Dsolr.log.dir=/var/solr/logs -Djetty.port=8983 -DSTOP.PORT=7983 -DSTOP.KEY=solrrocks -Duser.timezone=UTC -XX:-OmitStackTraceInFastThrow -XX:OnOutOfMemoryError=/opt/solr/bin/oom_solr.sh 8983
/var/solr/logs -Djetty.home=/opt/solr/server -Dsolr.solr.home=/var/solr/data -Dsolr.data.home= -Dsolr.install.dir=/opt/solr -Dsolr.default.confdir=/opt/solr/server/solr/configsets/_default/conf -Dlog4j.configurationFile=/var/solr/log4j2.xml -Xss256k -Dsolr.log.muteconsole
-jar start.jar --module=http --module=gzip<o:p></o:p></span></p>
</div>
</blockquote>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-size:10.5pt;font-family:Helvetica">Puzzling!<br>
<br>
Mark<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:.5in"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> <o:p></o:p></pre>
<pre style="margin-left:.5in">Mark Cyzyk, M.A., M.L.S.<o:p></o:p></pre>
<pre style="margin-left:.5in">Library Applications Group<o:p></o:p></pre>
<pre style="margin-left:.5in">The Sheridan Libraries<o:p></o:p></pre>
<pre style="margin-left:.5in">The Johns Hopkins University<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a><o:p></o:p></pre>
<pre style="margin-left:.5in"> <o:p></o:p></pre>
<pre style="margin-left:.5in">Verba volant, scripta manent. <o:p></o:p></pre>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">On 7/12/23 09:52, Jesse Martinez wrote:<o:p></o:p></span></p>
</div>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-family:Helvetica">ps aux | grep solr | grep -v grep</span><span style="font-size:10.5pt;font-family:Helvetica"><o:p></o:p></span></p>
</div>
</blockquote>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
</blockquote>
</div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><br clear="all">
<o:p></o:p></span></p>
</div>
<div>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">--<span class="xapple-converted-space"> </span><o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Jesse Martinez<o:p></o:p></span></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">Senior Library Applications Developer<o:p></o:p></span></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">O'Neill Library, Boston College<o:p></o:p></span></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a><o:p></o:p></span></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">617-552-2509<o:p></o:p></span></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">he/him/his<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</blockquote>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</blockquote>
<p style="margin-left:.5in"><span style="font-size:10.5pt;font-family:Helvetica"> <o:p></o:p></span></p>
</div>
</blockquote>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
</blockquote>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></span><o:p></o:p></p>
</div>
</blockquote>
</div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><br clear="all">
</span><o:p></o:p></p>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span class="xxgmailsignatureprefix"><span style="font-size:11.0pt">--</span></span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Jesse Martinez</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Senior Library Applications Developer</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">O'Neill Library, Boston College</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a></span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">617-552-2509</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">he/him/his</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</blockquote>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><br clear="all">
</span><o:p></o:p></p>
</div>
<div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span class="xxgmailsignatureprefix"><span style="font-size:11.0pt">--</span></span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Jesse Martinez</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">Senior Library Applications Developer</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">O'Neill Library, Boston College</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt"><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a></span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">617-552-2509</span><o:p></o:p></p>
</div>
</div>
<div>
<div style="margin-left:.5in">
<p class="MsoNormal"><span style="font-size:11.0pt">he/him/his</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</blockquote>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</blockquote>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
<div style="border:solid #9C6500 1.0pt;padding:2.0pt 2.0pt 2.0pt 2.0pt">
<div style="margin-left:.5in">
<p class="MsoNormal" style="line-height:12.0pt;background:#FFEB9C"><b><span style="color:#9C6500">CAUTION:</span></b><span class="xapple-converted-space"><span style="color:black"> </span></span><span style="color:black">This email originated from outside of
the organization. Please don't click links, open attachments, or reply with confidential details unless you are certain you know the sender and are expecting the content.</span><o:p></o:p></p>
</div>
</div>
<p class="xxmsonormal" style="margin-left:.5in"> <span style="font-size:10.0pt"><o:p></o:p></span></p>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><o:p> </o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><o:p> </o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Helvetica">_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
Archivesspace_Users_Group@lyralists.lyrasis.org<br>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</span><span style="font-size:11.0pt"><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>