Hi George, The error below is essentially saying that your Solr statistics index is "too old" for the version of Solr packages with DSpace 4.3 to upgrade.
However, in the DSpace 5.1 upgrade process, during the "ant update" step, we've attempted to catch this scenario automatically -- we try to determine the version of a Solr index, and upgrade it automatically to the latest version. So, I'd recommend trying to point DSpace 5.1 at your old Solr index, and running "ant update". It is supposed to upgrade an old index automatically. If that doesn't work for some reason, another option is to do a more manual upgrade, as described in the DSpace 5.x documentation. This manual upgrade essentially requires downloading multiple versions of the Solr/Lucene core JAR, and running it against your index in order to upgrade it to the latest compatible version (this is essentially the same process that is now automated by "ant update" though) https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace#UpgradingDSpace-ManuallyUpgradingSolrIndexes By the way, from your earlier messages, recently I also did encounter that odd Solr "write.lock" error ("Index locked for write..") during a recent upgrade I tried to 5.1. In my situation, it seemed like it was a stale "write.lock" file which was somehow sitting around. After clearing it out, the upgrade proceeded. Admittedly, I still need to dig a bit further and ensure my analysis is correct. - Tim On 4/1/2015 3:16 PM, George Stanley Kozak wrote: > 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 > > 607-255-8924 > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette