[opencms-dev] upgrade to opencms 11.0.2 SOLR problem

Daniel Seidel d.seidel at alkacon.com
Wed Feb 24 16:12:31 CET 2021


Hi Hein,

please delete things in WEB-INF/index, at least the "Solr-Offline" and 
"Solr-Online" subfolders. Then restart again.

Best, Daniel.

Am 24.02.21 um 13:25 schrieb Hein van der Kallen:
>
> 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/index/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 ?
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-- 
Kind Regards

Daniel.

-------------------

Daniel Seidel
Alkacon Software GmbH & Co. KG - The OpenCms Experts
https://www.alkacon.com - http://www.opencms.org

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


More information about the opencms-dev mailing list