<div dir="ltr">Hi Mark,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Jesse </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 13, 2023 at 10:49 AM Mark Cyzyk <<a href="mailto:mcyzyk@gmail.com" target="_blank">mcyzyk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<br>
In the Solr Web Gui --> Archivesspace Core --> Dataimport,
there is this error message:<br>
<br>
<blockquote>The solrconfig.xml file for this index does not have an
operational DataImportHandler defined!<br>
</blockquote>
<br>
My solrconfig.xml, straight from 3.2.0 codebase:<br>
<br>
<div>
<div>
<pre><code><span><?xml version="1.0" encoding="utf-8"?></span>
<span><<span>config</span>></span>
<span><<span>lib</span> <span>dir</span>=<span>"${solr.install.dir}/dist/"</span> <span>regex</span>=<span>"solr-analysis-extras.*\.jar"</span> /></span>
<span><<span>lib</span> <span>dir</span>=<span>"${solr.install.dir}/contrib/analysis-extras/lucene-libs"</span> <span>regex</span>=<span>"lucene-analyzers-icu-.*\.jar"</span> /></span>
<span><<span>lib</span> <span>dir</span>=<span>"${solr.install.dir}/contrib/analysis-extras/lib/"</span> <span>regex</span>=<span>"icu4j-*.*\.jar"</span> /></span>
<span><<span>schemaFactory</span> <span>class</span>=<span>"ClassicIndexSchemaFactory"</span>/></span>
<span><<span>luceneMatchVersion</span>></span>8.10<span></<span>luceneMatchVersion</span>></span>
<span><<span>dataDir</span>></span>${solr.data.dir:}<span></<span>dataDir</span>></span>
<span><<span>directoryFactory</span> <span>name</span>=<span>"DirectoryFactory"</span> <span>class</span>=<span>"${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"</span> /></span>
<span><<span>updateHandler</span> <span>class</span>=<span>"solr.DirectUpdateHandler2"</span>></span>
<span><<span>maxPendingDeletes</span>></span>1000<span></<span>maxPendingDeletes</span>></span>
<span><<span>autoCommit</span>></span>
<span><<span>maxDocs</span>></span>1000<span></<span>maxDocs</span>></span>
<span><<span>maxTime</span>></span>60000<span></<span>maxTime</span>></span>
<span><<span>openSearcher</span>></span>false<span></<span>openSearcher</span>></span>
<span></<span>autoCommit</span>></span>
<span></<span>updateHandler</span>></span>
<span><<span>query</span>></span>
<span><<span>maxBooleanClauses</span>></span>1024<span></<span>maxBooleanClauses</span>></span>
<span><<span>filterCache</span> <span>class</span>=<span>"solr.FastLRUCache"</span> <span>size</span>=<span>"512"</span> <span>initialSize</span>=<span>"512"</span> <span>autowarmCount</span>=<span>"0"</span> /></span>
<span><<span>queryResultCache</span> <span>class</span>=<span>"solr.LRUCache"</span> <span>size</span>=<span>"512"</span> <span>initialSize</span>=<span>"512"</span> <span>autowarmCount</span>=<span>"0"</span> /></span>
<span><<span>documentCache</span> <span>class</span>=<span>"solr.LRUCache"</span> <span>size</span>=<span>"512"</span> <span>initialSize</span>=<span>"512"</span> <span>autowarmCount</span>=<span>"0"</span> /></span>
<span><<span>enableLazyFieldLoading</span>></span>true<span></<span>enableLazyFieldLoading</span>></span>
<span><<span>queryResultWindowSize</span>></span>20<span></<span>queryResultWindowSize</span>></span>
<span><<span>queryResultMaxDocsCached</span>></span>200<span></<span>queryResultMaxDocsCached</span>></span>
<span><<span>useColdSearcher</span>></span>false<span></<span>useColdSearcher</span>></span>
<span><<span>maxWarmingSearchers</span>></span>2<span></<span>maxWarmingSearchers</span>></span>
<span></<span>query</span>></span>
<span><<span>requestDispatcher</span> <span>handleSelect</span>=<span>"false"</span>></span>
<span><<span>requestParsers</span> <span>enableRemoteStreaming</span>=<span>"true"</span> <span>multipartUploadLimitInKB</span>=<span>"2048000"</span> /></span>
<span><<span>httpCaching</span> <span>never304</span>=<span>"true"</span> /></span>
<span></<span>requestDispatcher</span>></span>
<span><<span>requestHandler</span> <span>name</span>=<span>"/select"</span> <span>class</span>=<span>"solr.SearchHandler"</span>></span>
<span><<span>lst</span> <span>name</span>=<span>"defaults"</span>></span>
<span><<span>str</span> <span>name</span>=<span>"defType"</span>></span>edismax<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"echoParams"</span>></span>explicit<span></<span>str</span>></span>
<span><<span>int</span> <span>name</span>=<span>"rows"</span>></span>10<span></<span>int</span>></span>
<span><<span>str</span> <span>name</span>=<span>"df"</span>></span>fullrecord<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"pf"</span>></span>four_part_id^50<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"qf"</span>></span>title^25 four_part_id^50 fullrecord<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"bq"</span>></span>primary_type:resource^100<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"bq"</span>></span>primary_type:accession^100<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"bq"</span>></span>primary_type:subject^50<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"bq"</span>></span>primary_type:agent_person^50<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"bq"</span>></span>primary_type:agent_corporate_entity^30<span></<span>str</span>></span>
<span><<span>str</span> <span>name</span>=<span>"bq"</span>></span>primary_type:agent_family^30<span></<span>str</span>></span>
<span></<span>lst</span>></span>
<span></<span>requestHandler</span>></span>
<span><<span>requestHandler</span> <span>name</span>=<span>"/update"</span> <span>class</span>=<span>"solr.UpdateRequestHandler"</span>></span><span></<span>requestHandler</span>></span>
<span><<span>requestHandler</span> <span>name</span>=<span>"/analysis/document"</span> <span>class</span>=<span>"solr.DocumentAnalysisRequestHandler"</span> <span>startup</span>=<span>"lazy"</span> /></span>
<span><<span>requestHandler</span> <span>name</span>=<span>"/analysis/field"</span> <span>startup</span>=<span>"lazy"</span> <span>class</span>=<span>"solr.FieldAnalysisRequestHandler"</span> /></span>
<span><<span>requestHandler</span> <span>name</span>=<span>"/replication"</span> <span>class</span>=<span>"solr.ReplicationHandler"</span> <span>startup</span>=<span>"lazy"</span> /></span>
<span><<span>queryResponseWriter</span> <span>name</span>=<span>"json"</span> <span>class</span>=<span>"solr.JSONResponseWriter"</span>></span>
<span><<span>str</span> <span>name</span>=<span>"content-type"</span>></span>text/plain; charset=UTF-8<span></<span>str</span>></span>
<span></<span>queryResponseWriter</span>></span>
<span><<span>admin</span>></span>
<span><<span>defaultQuery</span>></span>*:*<span></<span>defaultQuery</span>></span>
<span></<span>admin</span>></span>
<span><<span>requestHandler</span> <span>name</span>=<span>"/admin/luke"</span> <span>class</span>=<span>"org.apache.solr.handler.admin.LukeRequestHandler"</span> /></span>
<span></<span>config</span>></span>
</code></pre>
</div>
</div>
<pre cols="72"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a>
Verba volant, scripta manent.
</pre>
<div>On 7/13/23 10:40, Mark Cyzyk wrote:<br>
</div>
<blockquote type="cite">
<blockquote type="cite">Hi Mark,
<div><br>
</div>
<div>If you go to this URL</div>
<div><br>
</div>
<div><a href="http://localhost:8983/solr/#/archivesspace/files?file=schema.xml" target="_blank">http://localhost:8983/solr/#/archivesspace/files?file=schema.xml</a> </div>
<div><br>
</div>
<div>does the schema file shown there match the same one
you copied over?</div>
<div><br>
</div>
<div><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><br>
</div>
<div><br>
</div>
<div>Jesse</div>
</blockquote>
<br>
<br>
Yes, they match:<br>
<br>
<blockquote><schema name="archivesspace" version="1.5"><br>
</blockquote>
<br>
Thinking...<br>
<br>
Mark<br>
<br>
<p><code></code></p>
<pre cols="72"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a>
Verba volant, scripta manent.
</pre>
<div>On 7/12/23 16:20, Jesse Martinez
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Mark,
<div><br>
</div>
<div>If you go to this URL</div>
<div><br>
</div>
<div><a href="http://localhost:8983/solr/#/archivesspace/files?file=schema.xml" target="_blank">http://localhost:8983/solr/#/archivesspace/files?file=schema.xml</a> </div>
<div><br>
</div>
<div>does the schema file shown there match the same one
you copied over?</div>
<div><br>
</div>
<div><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><br>
</div>
<div><br>
</div>
<div>Jesse</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jul 12, 2023 at
3:44 PM Mark Cyzyk <<a href="mailto:mcyzyk@gmail.com" target="_blank">mcyzyk@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> Another clue, from the Log in the Solr Web GUI:<br>
<br>
<blockquote type="cite">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td><a><span>7/12/2023,
3:19:27 PM</span></a></td>
<td><a><span>WARN false</span></a></td>
<td><a><span></span></a><br>
</td>
<td><a><span><abbr title="org.apache.solr.core.CoreContainer">CoreContainer</abbr></span></a></td>
<td><a><span>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
https://s.apache.org/solrsecurity for more
info</span></a></td>
</tr>
</tbody>
</table>
</blockquote>
<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):<br>
<br>
<blockquote> solr_provision = <<SCRIPT<br>
cd /opt<br>
sudo wget <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 <br>
SCRIPT<br>
</blockquote>
<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>
<pre cols="72"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a>
</pre>
<div>On 7/12/23 11:46 AM, Joshua D. Shaw wrote:<br>
</div>
<blockquote type="cite">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hey Mark</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
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.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
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</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Joshua<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_9044674422647143338m_6398207830784655580m_4501676620168833283m_-7203434989826652434divRplyFwdMsg" dir="ltr"><font style="font-size:11pt;color:rgb(0,0,0)" face="Calibri, sans-serif"><b>From:</b> <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 <a href="mailto:brian.hoffman@lyrasis.org" target="_blank"><brian.hoffman@lyrasis.org></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>;
Archivesspace Users Group <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank"><archivesspace_users_group@lyralists.lyrasis.org></a>;
<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</font>
<div> </div>
</div>
<div><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>
<blockquote type="cite">
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Try uncommenting that
line and changing it to:</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
AppConfig[:solr_url] = <a href="http://localhost:8983/solr/archivesspace" target="_blank">"http://localhost:8983/solr/archivesspace"</a></blockquote>
<br>
Done. And yet:<br>
<br>
<blockquote>************************************************************<br>
Welcome to ArchivesSpace!<br>
You can now point your browser to <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<br>
</blockquote>
<br>
Still +0000!<br>
<br>
Mark<br>
<br>
<pre cols="72" style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a>
Verba volant, scripta manent.
</pre>
<div>On 7/12/23 11:10, Brian Hoffman wrote:<br>
</div>
<blockquote type="cite">
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Hi Mark,</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">What version of
ASpace are you using? </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Try uncommenting
that line and changing it to:</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
AppConfig[:solr_url] = <a href="http://localhost:8983/solr/archivesspace" target="_blank">"http://localhost:8983/solr/archivesspace"</a><span style="font-size:11pt"></span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p style="margin:0in 0in 12pt;font-size:10pt;font-family:Calibri,sans-serif">
<b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">Mark
Cyzyk <a href="mailto:mcyzyk@gmail.com" target="_blank">
<mcyzyk@gmail.com></a><br>
<b>Date: </b>Wednesday, July 12, 2023 at
10:59 AM<br>
<b>To: </b>Brian Hoffman <a href="mailto:brian.hoffman@lyrasis.org" target="_blank">
<brian.hoffman@lyrasis.org></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>, Archivesspace
Users Group <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">
<archivesspace_users_group@lyralists.lyrasis.org></a>, <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></p>
</div>
<p style="margin:0in 0in 12pt;font-size:10pt;font-family:Calibri,sans-serif">
<br>
Brian,<br>
<br>
That value, commented out because it's the
default, in my config is:<span style="font-size:11pt"></span></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
## The ArchivesSpace Solr index listens on
port 8090 by default. You can<br>
## set it to something else below.<br>
#AppConfig[:solr_url] = <a href="http://localhost:8090" target="_blank">
"http://localhost:8090"</a></p>
</blockquote>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<br>
Mark<br>
<br>
<br>
</p>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Mark Cyzyk, M.A., M.L.S.</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Library Applications Group</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Sheridan Libraries</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Johns Hopkins University</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Verba volant, scripta manent. </pre>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
On 7/12/23 10:34, Brian Hoffman wrote:</p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Hi Mark,</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">I am referring to
the value for :solr_url in the file
‘config/config.rb’</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Brian</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p style="margin:0in 0in 12pt;font-size:10pt;font-family:Calibri,sans-serif">
<b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">Mark
Cyzyk <a href="mailto:mcyzyk@gmail.com" target="_blank"><mcyzyk@gmail.com></a><br>
<b>Date: </b>Wednesday, July 12, 2023 at
10:32 AM<br>
<b>To: </b>Brian Hoffman <a href="mailto:brian.hoffman@lyrasis.org" target="_blank">
<brian.hoffman@lyrasis.org></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>,
Archivesspace Users Group <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">
<archivesspace_users_group@lyralists.lyrasis.org></a>, <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></p>
</div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Thanks, Brian,<br>
<br>
Here is what I see on screen:<br>
<br>
<img id="m_9044674422647143338m_6398207830784655580m_4501676620168833283m_-7203434989826652434x__x0000_i1025" style="width: 19.9479in; height: 7.5in;" src="cid:1894fc2ebb944c13fa81" width="1915" height="720" border="0"><br>
<br>
<br>
</span></p>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Mark Cyzyk, M.A., M.L.S.</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Library Applications Group</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Sheridan Libraries</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Johns Hopkins University</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Verba volant, scripta manent. </pre>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">On 7/12/23
10:24, Brian Hoffman wrote:</span></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Hi Mark,</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">I believe you
have incorrectly set the solr url to a
screen on the control panel.</span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Try replacing:<br>
<br>
</span><a href="http://localhost:8983/solr/#/~cores/archivesspace" title="http://localhost:8983/solr/#/~cores/archivesspace" target="_blank"><span style="font-size:12pt">http://localhost:8983/solr/#/~cores/archivesspace</span></a><br>
<br>
with </p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
</p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<a href="http://localhost:8983/solr/#/~cores/archivesspace" title="http://localhost:8983/solr/#/~cores/archivesspace" target="_blank"><span style="font-size:12pt">http://localhost:8983/solr/archivesspace</span></a></p>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p style="margin:0in 0in 12pt;font-size:10pt;font-family:Calibri,sans-serif">
<b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black"><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: </b>Wednesday, July 12, 2023
at 10:19 AM<br>
<b>To: </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: </b>Archivesspace Users Group <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank">
<archivesspace_users_group@lyralists.lyrasis.org></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></p>
</div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Darn:<br>
<br>
<br>
<br>
<br>
</span></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><code style="font-family:"Courier New",serif">{</code></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><code style="font-family:"Courier New",serif"> "</code><span>responseHeader</span><code style="font-family:"Courier New",serif">":</code><span>{</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> "</span><span>status</span><span>":</span><span>0</span><span>,</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> "</span><span>QTime</span><span>":</span><span>187</span><span>,</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> "</span><span>params</span><span>":{</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> "</span><span>q</span><span>":</span><span>"*:*"</span><span>,</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> "</span><span>indent</span><span>":</span><span>"true"</span><span>,</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> "</span><span>q.op</span><span>":</span><span>"OR"</span><span>,</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> "</span><span>_</span><span>":</span><span>"1689171084647"</span><span>}}</span><code style="font-family:"Courier New",serif">,</code></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><code style="font-family:"Courier New",serif"> "</code><span>response</span><code style="font-family:"Courier New",serif">":</code><span>{"</span><span>numFound</span><span>":</span><span>0</span><span>,"</span><span>start</span><span>":</span><span>0</span><span>,"</span><span>numFoundExact</span><span>":</span><span>true</span><span>,"</span><span>docs</span><span>":[]</span></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><span> }}</span></pre>
</blockquote>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"><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>
<br>
<br>
</span></p>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Mark Cyzyk, M.A., M.L.S.</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Library Applications Group</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Sheridan Libraries</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Johns Hopkins University</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Verba volant, scripta manent. </pre>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">On 7/12/23
10:09, Jesse Martinez wrote:</span></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Thanks for
sharing that, Mark! </span></p>
<div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">I have
another quick follow up question.</span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">What do
you see when you run a solr search
like this one:</span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"><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></span></p>
</div>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">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. </span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Jesse</span></p>
</div>
</div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
<div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">On Wed,
Jul 12, 2023 at 10:05 AM Mark Cyzyk
<<a href="mailto:mcyzyk@gmail.com" target="_blank">mcyzyk@gmail.com</a>>
wrote:</span></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<p style="margin:0in 0in 12pt;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"><br>
Thanks, Jesse,<br>
<br>
Here is the output of those
commands:</span></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">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</span></p>
</blockquote>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Puzzling!<br>
<br>
Mark<br>
<br>
<br>
<br>
</span></p>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Mark Cyzyk, M.A., M.L.S.</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Library Applications Group</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Sheridan Libraries</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">The Johns Hopkins University</pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"><a href="mailto:mcyzyk@jhu.edu" target="_blank">mcyzyk@jhu.edu</a></pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif"> </pre>
<pre style="margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New",serif">Verba volant, scripta manent. </pre>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">On
7/12/23 09:52, Jesse Martinez
wrote:</span></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span>ps aux | grep solr | grep -v
grep</span></p>
</blockquote>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
</blockquote>
</div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"><br clear="all">
</span></p>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span><span style="font-size:11pt">-- </span></span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Jesse
Martinez</span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">Senior
Library Applications
Developer</span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">O'Neill
Library, Boston College</span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a></span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">617-552-2509</span></p>
</div>
<div>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt">he/him/his</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</blockquote>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</blockquote>
<p style="margin:0in;font-size:10pt;font-family:Calibri,sans-serif">
<span style="font-size:11pt"> </span></p>
</div>
</blockquote>
<br>
</div>
</blockquote>
<br>
</div>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div>Jesse Martinez<br>
</div>
<div>Senior Library Applications Developer</div>
<div>O'Neill Library, Boston College</div>
<div><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a></div>
<div>617-552-2509</div>
<div>he/him/his</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Jesse Martinez<br></div><div>Senior Library Applications Developer</div><div>O'Neill Library, Boston College</div><div><a href="mailto:jesse.martinez@bc.edu" target="_blank">jesse.martinez@bc.edu</a></div><div>617-552-2509</div><div>he/him/his</div></div></div></div></div></div></div></div>