Hi Monika! Index version looks good:
dspace@dspace-novo:/opt/dspace/deploy/bin> ./dspace dsrun org.dspace.app.util.IndexVersion /opt/dspace/deploy/solr/statistics/data/index 4.10.2 2015-12-17 13:53 GMT-02:00 Monika C. Mevenkamp <moni...@princeton.edu>: > You need to upgrade your statistics and solr index ? > > I am getting ready to do the same uproar - and I pieced together some > notes based on > wiki-doc: https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace > <https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace> > > > you can test whether your solr version is outdated (probably you are ok > there since you say everything but stats works) > > # test that index is outdated anything smaller than 3.5 > /dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion > /dspace/solr/statistics/data/index > > but if your versions are off do the following - get yourself an uptodate > lucene-core-3.5.0.jar > > # upgrade statistics index > # in home directory we have the jar parked > java -cp lucene-core-3.5.0.jar org.apache.lucene.index.IndexUpgrader > /dspace/solr/statistics/data/index/ > > # expect to see 3.5 > /dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion > /dspace/solr/statistics/data/index > > #update index > ant update_solr_indexes > /dspace/bin/dspace dsrun org.dspace.app.util.IndexVersion > /dspace/solr/statistics/data/index > > > > — > Monika Mevenkamp > Digital Repository Infrastructure Developer > Princeton University > Phone: 609-258-4161 > Skype: mo-meven > > On Dec 17, 2015, at 10:39 AM, Tiago Delboni <delb...@gmail.com> wrote: > > Hi! > > I'm working on upgrading DSpace from 1.8.2 to 5.4. I guess was able to put > everything working but the statistics. Everytime I click the Statistics > menu, in JSPUI, DSpace come out with a Internal Server Error. > Bellow is the relevant part gattered from dspace.log. Any ideas how to > fix it? > > Also, I would like to know if I can keep the historical statistics I have > on 1.8.x. What I did, trying to achieve this, was to copy the contents from > [dspace1.8]/log and [dspace1.8]/solr/statistics/data to [dspace5.4] and > ran [dspace5.4]/bin/dspace solr-reindex-statistics. > > 2015-12-17 13:15:12,864 WARN > org.dspace.app.webui.servlet.InternalErrorServlet @ > :session_id=0CFF63BC0604F2B56DD0EE375E575ED9:internal_error:-- URL Was: > https://dspace-novo.almg.gov.br/jspui/statistics > -- Method: GET > -- Parameters were: > > java.lang.NullPointerException > at > org.dspace.app.webui.servlet.StatisticsServlet.showStatistics(StatisticsServlet.java:121) > at > org.dspace.app.webui.servlet.StatisticsServlet.doDSPost(StatisticsServlet.java:68) > at > org.dspace.app.webui.servlet.StatisticsServlet.doDSGet(StatisticsServlet.java:49) > at > org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119) > at > org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) > at > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) > at > org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > at java.lang.Thread.run(Thread.java:745) > 2015-12-17 13:15:12,865 WARN org.dspace.app.webui.util.UIUtil @ Unable to > send email alert > java.lang.NullPointerException > at > org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:230) > at > org.dspace.content.DSpaceObject$MetadataCache.retrieveMetadata(DSpaceObject.java:1330) > at > org.dspace.content.DSpaceObject$MetadataCache.get(DSpaceObject.java:1265) > at > org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:676) > at > org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:585) > at > org.dspace.content.DSpaceObject.getMetadataFirstValue(DSpaceObject.java:653) > at org.dspace.eperson.EPerson.getFirstName(EPerson.java:772) > at org.dspace.eperson.EPerson.getFullName(EPerson.java:748) > at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:419) > at > org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:54) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:622) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) > at > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) > at > org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:439) > at > org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:382) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) > at > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) > at > org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:844) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > at java.lang.Thread.run(Thread.java:745) > > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dspace-tech+unsubscr...@googlegroups.com. > To post to this group, send email to dspace-tech@googlegroups.com. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > > > -- *Tiago M Delboni* +55 31 8898-5873 | *mobile* tdelboni | *skype* br.linkedin.com/in/delboni | *linkedin* facebook.com/ <https://www.facebook.com/tiago.delboni>*tiago.delboni* | *facebook* -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.