Hi,

I tried this from my fresh install of Solr. It didn’t work.

"[theadmin@aspace3-test-localdomain archivesspace]$ /opt/solr/bin/solr 
create_core -c archivesspace -d /opt/archivesspace//solr

ERROR: Failed to create new core instance directory: 
/var/solr/data/archivesspace"


I wondered about the path so I tried this:

"[theadmin@aspace3-test-localdomain archivesspace]$ /opt/solr/bin/solr 
create_core -c archivesspace -d /opt/archivesspace//solr

ERROR: Failed to create new core instance directory: 
/var/solr/data/archivesspace"

This is Solr installed as laid out at 
https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html
 and I have moved the ArchivesSpace files in to the A 
solr/server/solr/configsets/archivesspace/conf/. Any help would be appreciated. 
Thanks!


[Towson University logo]<http://www.towson.edu/>
Eric T. Gadsby
Pronouns: he/him/his
IT Operations Specialist  |  Albert S. Cook Library
—
P: 410-704-3340
[email protected]<mailto:[email protected]>  |  
libraries.towson.edu<http://www.towson.edu/https:/libraries.towson.edu>
 —

Confidentiality Notice: This message may contain information that is 
confidential, privileged, proprietary, or otherwise legally exempt from 
disclosure. If you are not the intended recipient, you are notified that you 
are not authorized to read, print, copy or disseminate this message, any part 
of it, or any attachments. If this message has been sent to you in error, 
please notify the sender by replying to this transmission, or by calling Albert 
S. Cook Library at 410-704-3340 .



From: [email protected] 
<[email protected]> on behalf of Brian 
Hoffman <[email protected]>
Date: Monday, May 1, 2023 at 4:14 AM
To: Archivesspace Users Group <[email protected]>
Subject: Re: [Archivesspace_Users_Group] The best way to implement Solr - 
confused by documentation

[ CAUTION: This email is from outside of TU. Use caution before clicking links 
or opening attachments. If suspicious, report to [email protected]. ]
Hi Eric,

There are different ways to do it, but this is what I recommend with a standard 
Solr install:


  1.  Start Solr:

solr start -p 8983


  1.  Cd to where you installed archivesspace:
cd /opt/archivesspace


  1.  Create a new Solr core:
/opt/solr/bin/solr create_core -c archivesspace -d solr


  1.  Navigate to http://yourserver:8983/solr and confirm that the collection 
‘archivesspace’ exists in the dropdown on the left side.

Brian


From: [email protected] 
<[email protected]> on behalf of Gadsby, 
Eric T. <[email protected]>
Date: Friday, April 28, 2023 at 5:32 PM
To: Archivesspace Users Group <[email protected]>
Subject: Re: [Archivesspace_Users_Group] The best way to implement Solr - 
confused by documentation
Brian,

Thanks!  Let me make sure I understand…


  1.  Download ArchivesSpace, stick it someplace… let’s say /opt
  2.  Download Solr , stick it someplace… let’s say /opt
  3.  mkdir -p /$path/$to/$solr/server/solr/configsets/archivesspace/conf
  4.  Copy the configutrtion files from ArchivesSpace to 
/$path/$to/$solr/server/solr/configsets/archivesspace/conf
  5.  solr start -p 8983
  6.  solr create_core -c archivesspace -d solr

Then I would need to define the Solr path in the ArchivesSpace config file and 
start it.  What would be your suggestion on how to make Solr survive a reboot?

Thanks again!



[Towson University logo]<http://www.towson.edu/>
Eric T. Gadsby
Pronouns: he/him/his
IT Operations Specialist  |  Albert S. Cook Library
—
P: 410-704-3340
[email protected]<mailto:[email protected]>  |  
libraries.towson.edu<http://www.towson.edu/https:/libraries.towson.edu>
 —

Confidentiality Notice: This message may contain information that is 
confidential, privileged, proprietary, or otherwise legally exempt from 
disclosure. If you are not the intended recipient, you are notified that you 
are not authorized to read, print, copy or disseminate this message, any part 
of it, or any attachments. If this message has been sent to you in error, 
please notify the sender by replying to this transmission, or by calling Albert 
S. Cook Library at 410-704-3340 .



From: [email protected] 
<[email protected]> on behalf of Brian 
Hoffman <[email protected]>
Date: Friday, April 28, 2023 at 4:34 PM
To: Archivesspace Users Group <[email protected]>
Subject: Re: [Archivesspace_Users_Group] The best way to implement Solr - 
confused by documentation

[ CAUTION: This email is from outside of TU. Use caution before clicking links 
or opening attachments. If suspicious, report to [email protected]. ]
Hi Eric,

I recommend trying a simpler approach:

First, start solr. For example:

solr start -p 8983

Then cd to where you installed archivesspace and:

solr create_core -c archivesspace -d solr

Once you do that, you should be able to navigate to http://host:8983 and see 
the ‘archivesspace’ core in the collection dropdown.

Brian

From: [email protected] 
<[email protected]> on behalf of Gadsby, 
Eric T. <[email protected]>
Date: Friday, April 28, 2023 at 3:31 PM
To: Archivesspace Users Group <[email protected]>
Subject: [Archivesspace_Users_Group] The best way to implement Solr - confused 
by documentation
Dear Friends,

In relationship to my previous message about moving our ArchivesSpace to a new 
server I am in the process of setting up Solr in our test environment and 
having troubles.

I set up Solr as outlined at 
https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html;
 specifically running the install script that places all files in the correct 
places, makes a solr user, and sets the start-up process. Solr installed fine 
but I could not make the ArchivesSpace core using the process laid out at 
https://archivesspace.github.io/tech-docs/provisioning/solr.html; I got an 
error.

Now here is where I have found a contradiction. The ArchivesSpace documentation 
instructs you to follow the Solr documentation. The Solr documentation says to 
run the script but that starts Solr while the ArchivesSpace documentation goes 
onto says to not run Solr before importing the ArchivesSpace configuration 
files.  Which is accurate?

I have rolled my testing environment back and am trying again.  In trying to 
get a better understanding I looked at Blake’s video at  
https://www.youtube.com/watch?v=1KbD0M_XfqI.  In the video he says to simply 
move solr to /opt and you’re done, no need to run the script.  Is that the 
case?  Perhaps I am over thinking this but don’t you need to script to set up 
all the things Solr need like it’s own user and init file.  The Solr document 
says you can start the software from anywhere (ie your home directory) but they 
call it a “toy” install and cautions you not to overtax it suggesting you 
should test that way but run a full install.

As I roll up my sleaves to try again any guidance would be most helpful. Thanks 
in advance for your help!


[Towson University logo]<http://www.towson.edu/>
Eric T. Gadsby
Pronouns: he/him/his
IT Operations Specialist  |  Albert S. Cook Library
—
P: 410-704-3340
[email protected]<mailto:[email protected]>  |  
libraries.towson.edu<http://www.towson.edu/https:/libraries.towson.edu>
 —

Confidentiality Notice: This message may contain information that is 
confidential, privileged, proprietary, or otherwise legally exempt from 
disclosure. If you are not the intended recipient, you are notified that you 
are not authorized to read, print, copy or disseminate this message, any part 
of it, or any attachments. If this message has been sent to you in error, 
please notify the sender by replying to this transmission, or by calling Albert 
S. Cook Library at 410-704-3340 .


_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to