<div dir="ltr">Hi Mark,<div><br></div><div>Can you share the output of this command? This will give some clues on how your solr instance is configured.</div><div><br></div><div><font face="monospace">ps aux | grep solr | grep -v grep</font><br></div><div><br></div><div><br></div><div>Jesse</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 12, 2023 at 9:40 AM Blake Carver <<a href="mailto:blake.carver@lyrasis.org">blake.carver@lyrasis.org</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 class="msg4883285272977762926">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Do you have the solr_url set correctly?<br>
<a href="https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L38-L40" target="_blank">https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L38-L40</a><br>
</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)">
You don't have "enable_solr" in your config file do you?</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)">
You're tried restarting both Solr and ArchivesSpace ?</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)">
What's in the Solr server logs?</div>
<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)">
/var/solr/server/solr/configsets/archivesspace/conf<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
You have the correct files in there? (I think that's the right path, maybe wrong on that)</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)">
/var/solr/data/archivesspace/data/ </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
That directory is just empty?<br>
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
</div>
<div id="m_4883285272977762926appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_4883285272977762926divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><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 9:28 AM<br>
<b>To:</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</font>
<div> </div>
</div>
<div><br>
More, from the log:<br>
<br>
<blockquote>I, [2023-07-12T13:22:30.618347 #4611] INFO -- : Thread-2956: Staff Indexer [2023-07-12 13:22:30 +0000] Running index round<br>
I, [2023-07-12T13:22:32.215842 #4611] INFO -- : Thread-2956: Staff Indexer [2023-07-12 13:22:32 +0000] Index round complete<br>
I, [2023-07-12T13:22:56.046694 #4611] INFO -- : Thread-3306: PUI Indexer [2023-07-12 13:22:56 +0000] Running index round<br>
I, [2023-07-12T13:22:57.479284 #4611] INFO -- : Thread-3306: PUI Indexer [2023-07-12 13:22:57 +0000] Index round complete<br>
</blockquote>
<br>
I'm sensing that those "+0000" should be actual numbers of records indexed. <br>
<br>
Not sure why it successfully starts an indexing round, and successfully completes an indexing round, if 0 records are added to Solr.<br>
<br>
Searching,<br>
<br>
Mark<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>
Verba volant, scripta manent.
</pre>
<div>On 7/11/23 11:47, Mark Cyzyk wrote:<br>
</div>
<blockquote type="cite">A Clue!<br>
<br>
Solr with Archivesspace Core present, Aspace indexing going going going.<br>
<br>
But I look at the Solr config and see this:<br>
<br>
<blockquote type="cite">
<div id="m_4883285272977762926x_data">
<div id="m_4883285272977762926x_core-data">
<h2><span>Core</span></h2>
<div></div>
<div>
<ul>
<li>
<dl><dt><span>startTime:</span> </dt><dd>about 3 hours ago </dd></dl>
</li><li>
<dl><dt><span>instanceDir:</span> </dt><dd>/var/solr/data/archivesspace </dd></dl>
</li><li>
<dl><dt><span>dataDir:</span> </dt><dd>/var/solr/data/archivesspace/data/ </dd></dl>
</li></ul>
</div>
</div>
<div id="m_4883285272977762926x_index-data">
<h2><span>Index</span></h2>
<div></div>
<div>
<ul>
<li>
<dl><dt><span>lastModified:</span> </dt><dd>- </dd></dl>
</li><li>
<dl><dt><span>version:</span> </dt><dd>2 </dd></dl>
</li><li>
<dl><dt><span>numDocs:</span> </dt><dd>0 </dd></dl>
</li><li>
<dl><dt><span>maxDoc:</span> </dt><dd>0 </dd></dl>
</li><li>
<dl><dt><span>deletedDocs:</span> </dt><dd>0 </dd></dl>
</li><li>
<dl><dt><span>current:</span> </dt><dd><span></span><br>
</dd></dl>
</li><li>
<dl><dt><span>directory:</span> </dt><dd>org.apache.lucene.store.NRTCachingDirectory:NRTCachingDirectory(MMapDirectory@/var/solr/data/archivesspace/data/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@782702f4; maxCacheMB=48.0 maxMergeSizeMB=4.0)
</dd></dl>
</li></ul>
</div>
</div>
</div>
</blockquote>
<br>
Zero documents!<br>
<br>
Wondering where all this indexing is going... No errors. Researching....<br>
<br>
Mark<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>
Verba volant, scripta manent.
</pre>
<div>On 7/9/23 11:04, Mark Cyzyk wrote:<br>
</div>
<blockquote type="cite"><br>
All, <br>
<br>
Another puzzler: <br>
<br>
As I continue to build a staging version of ASpace in Vagrant/Virtualbox, in the end I am seeing data in the MySQL tables, a Solr core present, I've reindexed overnight -- and yet there are No Records Found in the ASpace Web interface itself.
<br>
<br>
I feel like I'm missing a step here, but it seems like with codebase present, and a Restore of my SQL dump into MySQL, and a Solr core present to take indexing data, and with the ASpace Web app up and running without error, I should have a fully functioning
ASpace. <br>
<br>
Functioning, but no data! <br>
<br>
Researching.... But advice appreciated! <br>
<br>
Mark <br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</div>
</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>
</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>