Skip to content
English
  • There are no suggestions because the search field is empty.

Solr not available since latest update

Solr fails to start after a FileCloud update due to a missing solr.xml configuration file in SOLR_HOME. Restore the correct configuration and restart the Solr service to resolve the issue.

Original Question or Issue:

 Following the latest FileCloud update, the Solr service was unavailable and FileCloud search functionality was affected. 


Environment:

  • Product - FileCloud Server
  • Version - 
  • Platform - Linux

Steps to Reproduce:

 


Error or Log Message:

Review the Solr log:

/opt/solrfcdata/var/solr/logs/solr.log

The following errors were observed:

INFO (main) [] o.a.s.c.SolrXmlConfig solr.xml not found in SOLR_HOME, using built-in default
INFO (main) [] o.a.s.c.SolrXmlConfig Loading solr.xml from /opt/solr-9.10.1/server/solr/solr.xml
ERROR (main) [] o.a.s.s.CoreContainerProvider Could not start Solr. Check solr/home property and the logs => org.apache.solr.common.SolrException: Could not load SOLR configuration


Defect or Enhancement Number:

 


Cause:

The configured SOLR_HOME was missing the required solr.xml configuration file.

As a result, Solr attempted to load the default solr.xml from:

/opt/solr-9.10.1/server/solr/solr.xml

However, Solr was unable to load the required configuration and failed to start.


Resolution or Workaround:

  1. Review the Solr logs to confirm the configuration-loading error:/opt/solrfcdata/var/solr/logs/solr.log
  2. Verify that the required solr.xml configuration is available in the configured Solr home directory.
  3. The working solr.xml configuration was provided from:/opt/solr-9.10.1/server/solr/solr.xml
  4. Apply the appropriate solr.xml configuration to the configured SOLR_HOME.
  5. Restart the Solr service:
systemctl restart solr.service

     6. Verify that the Solr service starts successfully and monitor FileCloud search functionality.

Reference Configuration File

Download the working solr.xml configuration file from:

Download solr.xml


Notes: