statistics not show up for all users

51 views
Skip to first unread message

bens...@gmail.com

unread,
Mar 4, 2024, 2:30:43 PM3/4/24
to DSpace Technical Support
My configs look like:
#View/download statistics
usage-statistics.authorization.admin.usage=false
#Search/search result statistics
usage-statistics.authorization.admin.search=false

(before they were both true)
I restarted the backend (tomcat)

and the stats still aren't showing unless I log in.

Do I need to recompile the front end?

bens...@gmail.com

unread,
Mar 4, 2024, 3:30:59 PM3/4/24
to DSpace Technical Support
When not logged in, sometimes the stats link shows up. When you click on it, it takes you to the log in page. 
Message has been deleted

bens...@gmail.com

unread,
Mar 4, 2024, 5:18:27 PM3/4/24
to DSpace Technical Support
OK I fixed this thanks to googling.  


said to run

insert into resourcepolicy (policy_id, resource_type_id, dspace_object, action_id, epersongroup_id ) select getnextid('resourcepolicy') as policy_id, 5 as resource_type_id, (select site.uuid from site limit 1) as dspace_object, 0 as action_id, (select epersongroup.uuid from epersongroup where name = 'Anonymous') as epersongroup_id;

That fixed it
Reply all
Reply to author
Forward
0 new messages