<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
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">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);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted3">
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);" class="elementToProof ContentPasted0 ContentPasted3">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted3">
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);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
What's in the Solr server logs?</div>
<div class="elementToProof">
<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);" class="ContentPasted2">
/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);" class="ContentPasted2">
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);" class="ContentPasted1">
/var/solr/data/archivesspace/data/ </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="ContentPasted1">
That directory is just empty?<br class="ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="ContentPasted1">
<br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> 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> Wednesday, July 12, 2023 9:28 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><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 class="x_moz-signature" cols="72"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a class="x_moz-txt-link-abbreviated" href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a>
Verba volant, scripta manent.
</pre>
<div class="x_moz-cite-prefix">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="x_data" class="x_requires-core">
<div class="x_block" id="x_core-data">
<h2><span>Core</span></h2>
<div class="x_message-container"></div>
<div class="x_content">
<ul>
<li class="x_startTime">
<dl class="x_clearfix"><dt><span>startTime:</span> </dt><dd class="x_timeago x_ng-binding">about 3 hours ago </dd></dl>
</li><li class="x_instanceDir">
<dl class="x_clearfix"><dt><span>instanceDir:</span> </dt><dd class="x_ng-binding">/var/solr/data/archivesspace </dd></dl>
</li><li class="x_dataDir">
<dl class="x_clearfix"><dt><span>dataDir:</span> </dt><dd class="x_ng-binding">/var/solr/data/archivesspace/data/ </dd></dl>
</li></ul>
</div>
</div>
<div class="x_block" id="x_index-data">
<h2><span>Index</span></h2>
<div class="x_message-container"></div>
<div class="x_content">
<ul>
<li class="x_lastModified">
<dl class="x_clearfix"><dt><span>lastModified:</span> </dt><dd class="x_timeago x_ng-binding">- </dd></dl>
</li><li class="x_version">
<dl class="x_clearfix"><dt><span>version:</span> </dt><dd class="x_ng-binding">2 </dd></dl>
</li><li class="x_numDocs">
<dl class="x_clearfix"><dt><span>numDocs:</span> </dt><dd class="x_ng-binding">0 </dd></dl>
</li><li class="x_maxDoc">
<dl class="x_clearfix"><dt><span>maxDoc:</span> </dt><dd class="x_ng-binding">0 </dd></dl>
</li><li class="x_deletedDocs">
<dl class="x_clearfix"><dt><span>deletedDocs:</span> </dt><dd class="x_ng-binding">0 </dd></dl>
</li><li class="x_current">
<dl class="x_clearfix"><dt><span>current:</span> </dt><dd class="x_ico x_ico-1"><span></span><br>
</dd></dl>
</li><li class="x_directory">
<dl class="x_clearfix"><dt><span>directory:</span> </dt><dd class="x_ng-binding">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 class="x_moz-signature" cols="72"><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
<a class="x_moz-txt-link-abbreviated x_moz-txt-link-freetext" href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a>
Verba volant, scripta manent.
</pre>
<div class="x_moz-cite-prefix">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>
</body>
</html>