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

Mark Cyzyk mcyzyk at gmail.com
Wed Jul 12 10:01:05 EDT 2023


Thanks, Blake,

> Do you have the solr_url set correctly?
> https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L38-L40
Yes, http://localhost:8983/solr/#/~cores/archivesspace

>
> You don't have "enable_solr" in your config file do you?
I /do/ have that:

# Setting any of the keys below to false will prevent the associated
# applications from starting. Temporarily disabling the frontend and public
# UIs and/or the indexer may help users who are running into memory-related
# issues during migration.
AppConfig[:enable_backend] = true
AppConfig[:enable_frontend] = true
AppConfig[:enable_public] = true
AppConfig[:enable_solr] = true
AppConfig[:enable_indexer] = true
AppConfig[:enable_docs] = true
AppConfig[:enable_oai] = true
>
> You're tried restarting both Solr and ArchivesSpace ?
Yes, I have done that.

>
> What's in the Solr server logs?
I do not see any Solr log in /var/log:

vagrant at vagrant:/var/log$ ls
alternatives.log       dmesg.0         kern.log.1   syslog.4.gz
apt                    dmesg.1.gz      landscape ubuntu-advantage.log
auth.log               dmesg.2.gz      lastlog ubuntu-advantage-timer.log
auth.log.1             dpkg.log        mysql vboxadd-setup.log
bootstrap.log          faillog         private vboxadd-setup.log.1
btmp                   fontconfig.log  syslog vboxadd-setup.log.2
cloud-init.log         installer       syslog.1     wtmp
cloud-init-output.log  journal         syslog.2.gz
dmesg                  kern.log        syslog.3.gz

>
> /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)
ls -la /var/solr/data/archivesspace/conf
total 32
drwxrwxr-x 2 solr solr  4096 Jul  8 15:05 .
drwxrwxr-x 4 solr solr  4096 Jul  8 15:05 ..
-rw-r--r-- 1 solr solr 18747 Jul  8 15:05 schema.xml
-rw-r--r-- 1 solr solr  3046 Jul  8 15:05 solrconfig.xml
-rw-r--r-- 1 solr solr     0 Jul  8 15:05 stopwords.txt
-rw-r--r-- 1 solr solr     0 Jul  8 15:05 synonyms.txt

>
> /var/solr/data/archivesspace/data/
> That directory is just empty?
ls -la /var/solr/data/archivesspace/data/index
total 12
drwxrwxr-x 2 solr solr 4096 Jul  8 15:05 .
drwxrwxr-x 4 solr solr 4096 Jul  8 15:05 ..
-rw-rw-r-- 1 solr solr   69 Jul  8 15:05 segments_1
-rw-rw-r-- 1 solr solr    0 Jul  8 15:05 write.lock


Ah ha!  Should that "write.lock" file be there?

Mark

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
mcyzyk at jhu.edu

Verba volant, scripta manent.

On 7/12/23 09:39, Blake Carver 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230712/74b416b3/attachment.html>


More information about the Archivesspace_Users_Group mailing list