Hia for all, 
we update from version 6.3 to version 7 and migrating all statistics 
following the steps and all works fine i can see the migrated statistics, 
however,  trying to run a stats-util -o gives me the following error:

















































*[root@srvcbdspacecrai bin]# ./dspace stats-util -oSOLR Optimize -- Process 
Started:1676896475033Exception: Error from server at 
http://10.184.184.13:8983/solr/#/statistics: Expected mime type 
application/octet-stream but got text/html. <html><head><meta 
http-equiv="Content-Type" 
content="text/html;charset=ISO-8859-1"/><title>Error 405 HTTP method POST 
is not supported by this URL</title></head><body><h2>HTTP ERROR 405 HTTP 
method POST is not supported by this 
URL</h2><table><tr><th>URI:</th><td>/solr/</td></tr><tr><th>STATUS:</th><td>405</td></tr><tr><th>MESSAGE:</th><td>HTTP
 
method POST is not supported by this 
URL</td></tr><tr><th>SERVLET:</th><td>LoadAdminUI</td></tr></table></body></html>org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:
 
Error from server at http://10.184.184.13:8983/solr/#/statistics: Expected 
mime type application/octet-stream but got text/html. <html><head><meta 
http-equiv="Content-Type" 
content="text/html;charset=ISO-8859-1"/><title>Error 405 HTTP method POST 
is not supported by this URL</title></head><body><h2>HTTP ERROR 405 HTTP 
method POST is not supported by this 
URL</h2><table><tr><th>URI:</th><td>/solr/</td></tr><tr><th>STATUS:</th><td>405</td></tr><tr><th>MESSAGE:</th><td>HTTP
 
method POST is not supported by this 
URL</td></tr><tr><th>SERVLET:</th><td>LoadAdminUI</td></tr></table></body></html>
  
      at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:635)
  
      at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266)
  
      at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248)
  
      at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214)      
  at org.apache.solr.client.solrj.SolrClient.optimize(SolrClient.java:675)  
      at 
org.apache.solr.client.solrj.SolrClient.optimize(SolrClient.java:612)      
  at 
org.dspace.statistics.SolrLoggerServiceImpl.optimizeSOLR(SolrLoggerServiceImpl.java:1159)
  
      at 
org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:96)  
      at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  
      at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)        
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)  
      at 
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)  
      at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)*

I have checked the solr logs, and solr interface and everything seems to be 
running fine and I see the old stats, but I don't see any stats for the new 
items. neither new statistics for existing items

however trying to run a stats-util -o gives me a 405 error

any ideas?

Humberto

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/ed79501f-69c8-4809-b72e-4624bce22fa1n%40googlegroups.com.

Reply via email to