Hi John,

Have you checked your logs whenever performing an action in DSpace 7 which 
should be generating statistics?  E.g. viewing a Community/Collection/Item, 
performing a search etc?  It's possible some error is being reported there 
which can lead you to what the core problem may be.   I'd recommend 
checking the dspace.log first, but if nothing useful is there, also check 
Tomcat and Solr logs just in case they are reporting an issue.

You also could double check that you copied all the DSpace Solr Core 
configs over to Solr during the install... see step 13 
here: 
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-InstallingtheBackend(ServerAPI)
  
 If somehow you are missing some of the files for the "statistics" core, 
that would cause odd behavior.

If you find anything else, let us know on this list.

Tim

On Thursday, February 17, 2022 at 3:07:49 PM UTC-6 [email protected] wrote:

> Incidentally, I just tired manually reindexing this core, and received 
> this error:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *[john@server bin]# ./dspace solr-reindex-statisticsNo index name 
> provided, defaulting to "statistics".Exception: Error from server at 
> http://localhost:8983/solr <http://localhost:8983/solr>: Path 
> /dspace7/solr/statistics must be relative to SOLR_HOME, SOLR_DATA_HOME 
> coreRootDirectory. Set system property 'solr.allowPaths' to add other 
> allowed 
> paths.org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: 
> Error from server at http://localhost:8983/solr 
> <http://localhost:8983/solr>: Path /dspace7/solr/statistics must be 
> relative to SOLR_HOME, SOLR_DATA_HOME coreRootDirectory. Set system 
> property 'solr.allowPaths' to add other allowed paths.        at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:681)
>   
>       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.SolrRequest.process(SolrRequest.java:231)      
>   at org.dspace.util.SolrImportExport.reindex(SolrImportExport.java:320)    
>     at org.dspace.util.SolrImportExport.main(SolrImportExport.java:189)    
>     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)*
>
> On Thursday, February 17, 2022 at 3:28:26 PM UTC-5 John Fitzgerald wrote:
>
>> Hey all, 
>>
>> I recently started evaluating DS 7.2 and am excitedly anxious to migrate 
>> my DS 6 instance. 
>>
>> This DS 7.2 instance is pretty much an out-of-the-box install, and I'm 
>> very pleased with how it's running, and I successfully added a few diverse 
>> items in a single collection. However, it appears that its Solr Statistics 
>> are not updating and I'm flummoxed.  Solr Search is working fine, and I 
>> don't see any indications that there's an issue with my Solr-instance:
>>
>> Image of my Solr-dashboard <https://imgur.com/BruA9pm>.
>>
>> According to the official SOLR Statistics instructions 
>> <https://wiki.lyrasis.org/display/DSDOC7x/SOLR+Statistics>:
>>
>> *Unlike previous versions, enabling statistics in DSpace does not require 
>> additional installation or customization. *
>>
>> So I'm thinking I may have in fact messed up a configuration-setting 
>> somewhere.
>>
>> Can anyone advise?
>>
>> Thanks,
>> -John
>>
>

-- 
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 Community" 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-community/281cb780-c264-460f-96ed-5209b31b7c4dn%40googlegroups.com.

Reply via email to