Unable to create new core WPSolr 22.3, Solr 9.0
- simplistics-gordParticipant2 years, 8 months ago #30674
After extracting the WPSolr-generated configset files to /var/solr9/data/configsets/indexname, loading the Core Admin page of the Solr Admin panel shows the following error:
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load configuration from directory /var/solr9/data/configsets/indexnameAttemping to then create the core from the interface, using default values except for instanceDir:configsets/indexname as suggested, another error is thrown:
org.apache.solr.common.SolrException: Error CREATEing SolrCore ‘indexname’: Couldn’t persist core properties to /var/solr9/data/configsets/indexname/core.propertieswpsolrKeymaster2 years, 8 months ago #30675It could be an issue with folder rights: https://stackoverflow.com/questions/50335733/adding-core-solr-error
For instance, if you installed Solr with root, but started it with solr user, solr user cannot write in root’s owned folders.
Ifls -l /var/solr9/data/
shows root owner, change the owner recursively withchown -R solr:solr /var/solr9/data/
- This reply was modified 2 years, 8 months ago by wpsolr.
simplistics-gordParticipant2 years, 7 months ago #30720I’ve resolved permission issues and no longer get the warning of not being able to write to the configset dir, but still have the Solr error
Exception in reloading spell check index for spellchecker: suggest
when creating the index, which triggers the request to fail and the configuration to not save to the site DBwpsolrKeymaster2 years, 7 months ago #30721There must remain some kind of a similar issue.
You can create, though, your index “index1” manually in Solr’s dashboard (with the WPSOLR config files), then connect it to WPSOLR with the “/solr/index1” path. This will work, because WPSOLR will not try to create “index1” as it already exists: it will just save the index configuration in database.
You must be logged in to reply to this topic.