[opencms-dev] upgrade to opencms 11.0.2 SOLR problem

Hein van der Kallen hvanderkallen at xs4all.nl
Wed Feb 24 13:25:37 CET 2021


When i upgraded a working opencms 10.5.4 (demo) implementation to 11.0.2 

The upgrade worked ( and I can log in) , but solr did not work. 

 

I put back the default opencms-search.xml from the distribution

Cleaned the solr directory and filled it with the content of the solr-update
directory from the distribution

Made them both writable for the tomcat user. 

Stopped and started tomcat

 

But in the opencms.log I keep getting 

24 Feb 2021 12:49:28,213  INFO [pencms.search.CmsSearchManager:3201] .
Search Solr          : Solr core container created using
/./webapps/ROOT/WEB-INF/solr as Solr home and solr.xml as configuration
file.

24 Feb 2021 12:49:28,215  INFO [pencms.search.CmsSearchManager:1807] .
Search Solr          : Solr index directory created for index "Solr Online"
(/./webapps/ROOT/WEB-INF/index/Solr Online).

24 Feb 2021 12:49:29,523  WARN [pencms.search.CmsSearchManager:2670] .
Search index         : Initialization of index "Solr Online" failed

org.apache.solr.common.SolrException: Error CREATEing SolrCore
'Solr-Online': Unable to create core [Solr-Online] Caused by: Format version
is not supported (resource
BufferedChecksumIndexInput(MMapIndexInput(path="/./webapps/ROOT/WEB-INF/inde
x/Solr Online/index/segments_ez"))): 6 (needs to be between 7 and 9). This
version of Lucene only supports indexes created with release 6.0 and later.

 

In the lib directory the 8.0.0 versions of lucene and solr are installed. 

I run on tomcat 8 

 

What is wrong ?  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.opencms.org/pipermail/opencms-dev/attachments/20210224/a9ffe71a/attachment.htm>


More information about the opencms-dev mailing list