Usage Statistics not available

349 views
Skip to first unread message

EduardsL

unread,
Mar 24, 2022, 10:07:58 AM3/24/22
to DSpace Technical Support
Hello, everyone! I'm hoping to get some help with solving a problem with our Usage Statistics. Running clarin-dspace which is a fork of DSpace based on 5.X. There might be some small differences, but I'm hoping someone could point me in the right direction.

When clicking on the menu item Statistics -> View Usage Statistics which points to URL/repository/xmlui/statistics-home, the page is empty and no statistics are shown. The page contains just a heading Most Viewed Items with no data. I know SOME data is being collected, as /xmlui/workflow-statistics and xmlui/search-statistics both contain and display statistics.

I don't have much experience with Solr or DSpace, but here's what I've tried so far:

1) Check that SOLR is accessible from the server URL (http://localhost:8080/repository/solr/statistics) specified in dspace/config/modules/solr-statistics.cfg. Solr is accessable from localhost and can be queried.
What is a query I could use to check if the usage statistics are available on Solr?

2) Check usage-statistics.cfg 
dspace/config/modules/usage-statistics.cfg -Simplified contents here:

dbfile = /data/repository/dspace/config/GeoLite2-City.mmdb resolver.timeout = 200 authorization.admin.usage=true authorization.admin.search=true authorization.admin.workflow=true workflow-start-date = 2020-07-16T11:27:34Z
I updated the GeoLite Database file using ant update_geolite just in case.

3) Ran the following built in scripts in dspace/bin:
./dspace index-discovery -b ./dspace stat-initial ./dspace stat-report-initial ./dspace stat-general ./dspace stat-monthly ./dspace stat-report-monthly ./dspace stat-report-general
If I understand correctly, these scripts are used for the old log-based statistics system, not Solr, so they probably would have no impact on the Usage Statistics problem.

If anyone has any ideas or pointers I would very much appreciate them.

Eduards :)
Reply all
Reply to author
Forward
0 new messages