[Archivesspace_Users_Group] trouble setting up solr
Christine Di Bella
christine.dibella at lyrasis.org
Wed Nov 22 11:12:16 EST 2023
Hi Mike,
This is going to sound silly, but if you shut down Solr, then rename that schema file manually back to what it's supposed to be called (schema.xml) and restart, does anything change? I see from this page in the general Solr documentation<https://solr.apache.org/guide/6_6/schema-factory-definition-in-solrconfig.html> that there are conditions under which that file does gets renamed.
I use Windows and since I mainly need to install and run ArchivesSpace myself for testing purposes, not production, when I encounter problems with Solr my usual approach is to go back to the beginning, make a new configset and core and try again. Most of the time that solves it for me. If the problem persists for you, though, and there aren't other suggestions, we can help you through a tech support ticket, though it may take a few days to get to it.
(I am not at all the Solr expert on the team, but answering as the American contingent of the ArchivesSpace community is probably a little sparse for the next few days since there's a holiday here tomorrow.)
Christine
Christine Di Bella
ArchivesSpace Program Manager
christine.dibella at lyrasis.org<mailto:christine.dibella at lyrasis.org>
[cid:image001.jpg at 01DA1D2F.2BEB4BC0]
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Saunders, Mike
Sent: Wednesday, November 22, 2023 4:30 AM
To: 'archivesspace_users_group at lyralists.lyrasis.org' <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] trouble setting up solr
Hi all, I'm attempting to set up a local development/testing install of archivesspace. I've successfully got the sql server and database ready to go, but I'm having trouble at the solr stage. Solr is running, and I can see the archivesspace schema at http://localhost:8983/solr/#/archivesspace/files?file=schema.xml. However, when I attempt to start archivesspace I get an error - the message is long and I'm happy to copy more of it, but as far as I can see the important part is that it can't see the schema - "Can not find: schema.xml [C:\\solr-8.11.2\\server\\solr\\archivesspace\\conf\\schema.xml]", "code":404".
When I go to check to see if the schema is in that folder, it's renamed to managed-schema. The schema and solrconfig etc are all intact in server/solr/configsets/archivesspace/conf.
I'm running it on Windows 11.
Has anyone else come across this or can give me troubleshooting tips?
Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20231122/1326e669/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 56099 bytes
Desc: image001.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20231122/1326e669/attachment.jpg>
More information about the Archivesspace_Users_Group
mailing list