SOLR Statistics - DSpace

99 views
Skip to first unread message

Jeff Garcia

unread,
Sep 15, 2022, 9:22:33 AM9/15/22
to DSpace Technical Support
Good morning,

What is a solution for enabling the Reporting Capabilities out of the box for DSpace? 

I found out running scripts in DSpace is not a solution, all I want is for Statistics to show in the "Statistics" section in DSpace. 

Please advise,

Thanks,
Jeff

Mumanyi, Bravismore

unread,
Sep 15, 2022, 9:45:34 AM9/15/22
to Jeff Garcia, DSpace Technical Support
Hi Jeff

Are you able to view statistics when logged in?

Kindly advise on version of DSpace you are on.

Regards
/Bravismore

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Jeff Garcia <jgar...@gmail.com>
Sent: 15 September 2022 15:22
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] SOLR Statistics - DSpace
 
--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/81854af6-efcb-47e5-a3a2-522e8d937440n%40googlegroups.com.

CAUTION -EXTERNAL SENDER: Please be careful when opening links and attachments. UNAM Directorate: Information & Communication Technology Services (DICTS)

Jeff Garcia

unread,
Sep 15, 2022, 10:09:12 AM9/15/22
to Mumanyi, Bravismore, DSpace Technical Support
Hello, 

We are on the latest version of dspace.

It says no data available when logged in

On Sep 15, 2022, at 9:45 AM, Mumanyi, Bravismore <bmum...@unam.na> wrote:



Jeff Garcia

unread,
Sep 16, 2022, 12:43:39 PM9/16/22
to DSpace Technical Support
We are running the command on the docker CLI - we cant run the DSpace command from docker CLI.

please advice what we can do next @timdonahue 
MicrosoftTeams-image.png

Tim Donohue

unread,
Sep 19, 2022, 12:51:55 PM9/19/22
to DSpace Technical Support
Hi Jeff,

I don't know what advice you are looking for & you've not indicated what debugging you've done.  See our Troubleshooting guide for hints on finding the root error: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

The DSpace Docker Scripts are unfortunately not "production ready" at this time (see the warnings everywhere on those scripts: https://github.com/DSpace/DSpace/tree/main/dspace/src/main/docker-compose#docker-compose-resources).  So, we cannot support those scripts for Production setups, but you are welcome to *adapt* them yourself to production.

Overall, it *is* possible to run DSpace 7 in production using Docker, *BUT* you will likely need to update the default DSpace Docker Scripts to make it all work properly (as those default DSpace scripts have only been tested in development scenarios).  Overall, you *must* be able to run some commandline (CLI) scripts in order to run DSpace in production.  So, you'd need to find a way to either SSH into your running Docker container, or you could modify the DSpace-CLI tools to work for you in Production.

Tim

Tim Donohue

unread,
Sep 21, 2022, 11:19:04 AM9/21/22
to Jeff Garcia, DSpace Technical Support
Hi Jeff,

Please make sure to send your responses to the mailing list, as I'm not available for one-on-one support.  I've copied in dspace-tech on my answer.

Currently, it's unclear to me what Docker CLI command you tried to run and what error you received.  I'd need to understand that before I can provide help on Docker CLI

It's also worth noting that if you are running the entire system in Docker on localhost URLs, then Solr Statistics may not fully work. This is because our statistics filter out all accesses from localhost (and if you are running the site on localhost, then all accesses will be from localhost).  To fully function, Solr Statistics require a public site (i.e. running on a public URL).

So, I'm not sure what to suggest, as I'm not sure what you are trying to accomplish.  If you are trying to test that Solr Statistics works, you may need to spin up a test site (with a public URL, not a localhost URL). That'd likely require not running it in Docker, or perhaps you could put a proxy in front of your localhost site which gives it a public URL (in which case any accesses via that proxy likely would trigger statistics to be logged)   

Or, you can take a look at the Solr Statistics on our Demo site at https://demo7.dspace.org/ (NOTE: It looks like our demo site is temporarily down cause it's being updated, but it should be back up again shortly)

Tim



From: Jeff Garcia <jgar...@gmail.com>
Sent: Wednesday, September 21, 2022 9:54 AM
To: Tim Donohue <tim.d...@lyrasis.org>
Subject: Re: [dspace-tech] SOLR Statistics - DSpace
 
Hi Tim,

We are not trying to run scripts in PROD, we are trying to run these scripts locally on my machine. 

Please advise what we can do to run docker scripts. 

Thanks,
Jeff 

You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/8s6ZWNvEvA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/acada67e-167a-4118-88c1-7ae9fee5431fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages