[Archivesspace_Users_Group] Staging upgrade using Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet no data displayed in ASpace application

Jesse Martinez jesse.martinez at bc.edu
Wed Jul 12 09:52:51 EDT 2023


Hi Mark,

Can you share the output of this command? This will give some clues on how
your solr instance is configured.

ps aux | grep solr | grep -v grep


Jesse

On Wed, Jul 12, 2023 at 9:40 AM Blake Carver <blake.carver at lyrasis.org>
wrote:

> Do you have the solr_url set correctly?
>
> https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L38-L40
>
> You don't have "enable_solr" in your config file do you?
>
> You're tried restarting both Solr and ArchivesSpace ?
>
> What's in the Solr server logs?
>
> /var/solr/server/solr/configsets/archivesspace/conf
> You have the correct files in there? (I think that's the right path, maybe
> wrong on that)
>
> /var/solr/data/archivesspace/data/
> That directory is just empty?
>
>
> ------------------------------
> *From:* archivesspace_users_group-bounces at lyralists.lyrasis.org <
> archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of
> Mark Cyzyk <mcyzyk at gmail.com>
> *Sent:* Wednesday, July 12, 2023 9:28 AM
> *To:* Archivesspace Users Group <
> archivesspace_users_group at lyralists.lyrasis.org>
> *Subject:* Re: [Archivesspace_Users_Group] Staging upgrade using
> Vagrant/Virtualbox, data in MySQL tables, Solr core present, reindexed, yet
> no data displayed in ASpace application
>
>
> More, from the log:
>
> I, [2023-07-12T13:22:30.618347 #4611]  INFO -- : Thread-2956: Staff
> Indexer [2023-07-12 13:22:30 +0000] Running index round
> I, [2023-07-12T13:22:32.215842 #4611]  INFO -- : Thread-2956: Staff
> Indexer [2023-07-12 13:22:32 +0000] Index round complete
> I, [2023-07-12T13:22:56.046694 #4611]  INFO -- : Thread-3306: PUI Indexer
> [2023-07-12 13:22:56 +0000] Running index round
> I, [2023-07-12T13:22:57.479284 #4611]  INFO -- : Thread-3306: PUI Indexer
> [2023-07-12 13:22:57 +0000] Index round complete
>
>
> I'm sensing that those "+0000" should be actual numbers of records
> indexed.
>
> Not sure why it successfully starts an indexing round, and successfully
> completes an indexing round, if 0 records are added to Solr.
>
> Searching,
>
> Mark
>
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> Mark Cyzyk, M.A., M.L.S.
> Library Applications Group
> The Sheridan Libraries
> The Johns Hopkins Universitymcyzyk at jhu.edu
>
> Verba volant, scripta manent.
>
> On 7/11/23 11:47, Mark Cyzyk wrote:
>
> A Clue!
>
> Solr with Archivesspace Core present, Aspace indexing going going going.
>
> But I look at the Solr config and see this:
>
> Core
>
>    - startTime: about 3 hours ago
>    - instanceDir: /var/solr/data/archivesspace
>    - dataDir: /var/solr/data/archivesspace/data/
>
> Index
>
>    - lastModified: -
>    - version: 2
>    - numDocs: 0
>    - maxDoc: 0
>    - deletedDocs: 0
>    - current:
>    - directory:
>    org.apache.lucene.store.NRTCachingDirectory:NRTCachingDirectory(MMapDirectory@/var/solr/data/archivesspace/data/index
>    lockFactory=org.apache.lucene.store.NativeFSLockFactory at 782702f4;
>    maxCacheMB=48.0 maxMergeSizeMB=4.0)
>
>
> Zero documents!
>
> Wondering where all this indexing is going...  No errors.  Researching....
>
> Mark
>
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> Mark Cyzyk, M.A., M.L.S.
> Library Applications Group
> The Sheridan Libraries
> The Johns Hopkins Universitymcyzyk at jhu.edu
>
> Verba volant, scripta manent.
>
> On 7/9/23 11:04, Mark Cyzyk wrote:
>
>
> All,
>
> Another puzzler:
>
> 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.
>
> 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.
>
> Functioning, but no data!
>
> Researching....  But advice appreciated!
>
> Mark
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>


-- 
Jesse Martinez
Senior Library Applications Developer
O'Neill Library, Boston College
jesse.martinez at bc.edu
617-552-2509
he/him/his
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230712/9e16a4c9/attachment.html>


More information about the Archivesspace_Users_Group mailing list