|
Hi, On 02/04/15 12:50, George Stanley Kozak
wrote:
No sorry, I didn't see that. I did however run into a very similar problem with one of my own DSpace 5.1 development instances the other day. I'm not quite sure what state the solr indexes were in at that stage, so I'm not sure how to reproduce it. It does look like we should add a big warning to the upgrade instructions for people to back up their solr index first -- my problem went away when I re-set the usage stats data dir in my dev instance to a fresh copy from (4.2) production.
My suspicion is that once the upgrade fails halfway through for some reason, there is no way to recover from the situation. Hence the importance of the back-up!
It looks like you can disable adding new hits to the Solr statistics by commenting out the SolrLoggerUsageEventListener bean in dspace-xmlui/src/main/webapp/WEB-INF/spring/applicationContext.xml (XMLUI) / dspace-jspui/src/main/webapp/WEB-INF/spring//applicationContext.xml (JSPUI). Then you could delete the contents of [dspace]/solr/statistics/data (for anyone following along on this -- this _will_ wipe all your usage stats data! Do this only when you're sure that's what you want!) and that should be it. But I've never tried this, so it may break lots of things in lots of interesting ways. cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand |
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

