Hi, Everyone:
I have discovered that when I try to optimize my Solr indexes when I upgraded from DSpace 3.3 to 4.3
(wget ‘http://localhost:8080/solr/statistics/update?optimize=true’)
I get the following errors in the solr logs:
ERROR org.apache.solr.core.CoreContainer @ Unable to create core: statistics
Format version is not supported (resource: segment _32 in resource ChecksumIndexInput(MMapIndexInput(path="/cul/app/dspace/solr/statistics/data/index/segments_1p0"))): 2.x. This version of Lucene only supports indexes created with release 3.0 and later.
If I later try to upgrade to 5.1, I see during the ant update:
/cul/app/dspace/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:1061: ERROR occurred while checking Solr index version:
Exception in thread "main" java.io.IOException: Could not read Lucene segments files in /cul/app/dspace/solr/statistics/data/index
I know the 5.1 documentation states that you can manually update the Solr indexes. Should that be done in my 4.3 upgrade before I try to go to 5.1 or should it be done in the 5.1 upgrade?
George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
Graham:
I guess if I had two tomcat processes interfering with each other, I believe it would happen in both my DSpace 4.3 upgrade and my DSpace 5.1 upgrade, but everything works OK under DSpace 4.3 and then breaks down when I go to DSpace 5.1 (no changes to tomcat). However, I will do a bit more digging. Perhaps the older DSpace configs are more “forgiving” of problematic tomcat configurations.
By the way, I run my webapps under tomcat, but I know that some of you run the webapps in their dspace directory. Is there any advantage to doing one or another?