Howdy

We have recently upgraded our DSpace instance from 1.7.1 to 1.8.2 and were 
having SOLR issues. 

We had previously been using SOLR statistics without issue, but the module 
broke and was returning a blank page in XMLUI. Attempts to run the "dspace 
stats-util" command (with -o or -b flags) would also result in a 
"org.apache.solr.common.SolrException: Internal Server Error" and partial stack 
trace. We have double checked our configuration settings (dspace and solr) and 
found them to be correct. We also saw similar issues brought up on the mailing 
list without resolution. 

The problem turned out to be the schema definitions attached to the internal 
SOLR configs. The addition of the bundleName field to the schema in 1.8 caused 
our issue with viewing statistics generated by 1.7 in a new 1.8 instance.

We recommend adding an extra set of instructions to the end of the wiki page:
https://wiki.duraspace.org/display/DSDOC18/Upgrading+From+1.7.x+to+1.8.x

telling folks to copy the new schema.xml files from source into their existing 
SOLR data directories:
cp [dspace-build]/dspace/solr/statistics/conf/schema.xml  
[dspace-install]/solr/statistics/conf/schema.xml
and
cp [dspace-build]/dspace/solr/statistics/conf/schema.xml  
[dspace-install]/solr/search/conf/schema.xml


-Alex
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to