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
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 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
![]()
Hi Christine, I think my access to the archivesspace list might be going into spam, but I saw your reply – I took your advice and reinstalled solr, using a different java version (not sure if this made any difference) and it worked – I also downloaded the most recent schema.xml and solrconfig.xml from the archivesspace github incase there was any errors in the current one. This gave a checksum error but I just switched the checksum flag in the config.rb to false, and everything is now working!
I had tried changing the name from ‘managedschema’ back to ‘schema’ but it just kept changing it! Which is strange; I had looked at the link you sent to the solr documentation before, and the schema factory tag was set correctly it the solrconfig. So I really don’t know what it was!
I may be back with more questions, but your solution worked, so just wanted to say thanks! Hope you had a good thanksgiving.
Mike Saunders (he/him)
Library Systems
National Library of Scotland
312-320 Lawnmarket
EH1 2PH
Email: m.sau...@nls.uk
Website: www.nls.uk
![]()