[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:59:12 EDT 2023


Brian,

That value, commented out because it's the default, in my config is:

    ## The ArchivesSpace Solr index listens on port 8090 by default. 
    You can
    ## set it to something else below.
    #AppConfig[:solr_url] = "http://localhost:8090"


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 10:34, Brian Hoffman wrote:
>
> Hi Mark,
>
> I am referring to the value for :solr_url in the file ‘config/config.rb’
>
> Brian
>
> *From: *Mark Cyzyk <mcyzyk at gmail.com>
> *Date: *Wednesday, July 12, 2023 at 10:32 AM
> *To: *Brian Hoffman <brian.hoffman at lyrasis.org>, mcyzyk at jhu.edu 
> <mcyzyk at jhu.edu>, Archivesspace Users Group 
> <archivesspace_users_group at lyralists.lyrasis.org>, 
> jesse.martinez at bc.edu <jesse.martinez at bc.edu>
> *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
>
> Thanks, Brian,
>
> Here is what I see on screen:
>
>
>
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> 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 10:24, Brian Hoffman wrote:
>
>     Hi Mark,
>
>     I believe you have incorrectly set the solr url to a screen on the
>     control panel.
>
>     Try replacing:
>
>     http://localhost:8983/solr/#/~cores/archivesspace
>     <http://localhost:8983/solr/#/~cores/archivesspace>
>
>     with
>
>     http://localhost:8983/solr/archivesspace
>     <http://localhost:8983/solr/#/~cores/archivesspace>
>
>     *From: *archivesspace_users_group-bounces at lyralists.lyrasis.org
>     <archivesspace_users_group-bounces at lyralists.lyrasis.org>
>     <mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>
>     on behalf of Mark Cyzyk <mcyzyk at gmail.com> <mailto:mcyzyk at gmail.com>
>     *Date: *Wednesday, July 12, 2023 at 10:19 AM
>     *To: *jesse.martinez at bc.edu <jesse.martinez at bc.edu>
>     <mailto:jesse.martinez at bc.edu>, mcyzyk at jhu.edu <mcyzyk at jhu.edu>
>     <mailto:mcyzyk at jhu.edu>
>     *Cc: *Archivesspace Users Group
>     <archivesspace_users_group at lyralists.lyrasis.org>
>     <mailto: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
>
>     Darn:
>
>
>
>         |{|
>
>         |  "|responseHeader|":|{
>
>             "status":0,
>
>             "QTime":187,
>
>             "params":{
>
>               "q":"*:*",
>
>               "indent":"true",
>
>               "q.op":"OR",
>
>               "_":"1689171084647"}}|,|
>
>         |  "|response|":|{"numFound":0,"start":0,"numFoundExact":true,"docs":[]
>
>           }}
>
>
>     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!).
>
>     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 10:09, Jesse Martinez wrote:
>
>         Thanks for sharing that, Mark!
>
>         I have another quick follow up question.
>
>         What do you see when you run a solr search like this one:
>
>         http://localhost:8983/solr/#/archivesspace/query?q=*:*&q.op=OR&indent=true
>         <http://localhost:8983/solr/#/archivesspace/query?q=*:*&q.op=OR&indent=true>
>
>         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.
>
>         Jesse
>
>         On Wed, Jul 12, 2023 at 10:05 AM Mark Cyzyk <mcyzyk at gmail.com>
>         wrote:
>
>
>             Thanks, Jesse,
>
>             Here is the output of those commands:
>
>                 ps aux | grep solr | grep -v grep
>                 solr         898  0.0  0.1  19096  9812 ? Ss   Jul11  
>                 0:00 /lib/systemd/systemd --user
>                 solr         910  0.0  0.0 169492  3368 ? S    Jul11  
>                 0:00 (sd-pam)
>                 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
>
>             Puzzling!
>
>             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:52, Jesse Martinez wrote:
>
>                 ps aux | grep solr | grep -v grep
>
>
>         -- 
>
>         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/d647b2eb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snapshot1.png
Type: image/png
Size: 98031 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230712/d647b2eb/attachment.png>


More information about the Archivesspace_Users_Group mailing list