EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08666
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] IRStats2 downloads graphic not complete
- To: Ajunk Pracetio <prazetyo@gmail.com>
- Subject: Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
- Date: Wed, 23 Jun 2021 08:37:46 +0700
Hi Bilal,
If you look at it, it looks like the irstats guide is in the wrong position for placing the command.
For irstats, the initial configuration process can use the command: /opt/eprints3/archives/REPO_ID/bin/stats/process_stats REPO_ID --setup --verbose
The above command does not need to be entered into cron, but it is enough to run it once. Unless there are other things that cause you have to run the above command again.
As for the next or daily process, you can add the following command in cron:
perl /opt/eprints3/archives/REPO_ID/bin/stats/process_stats REPO_ID 1>/dev/null 2>/dev/null
But there is one thing I want to ask. Where is the eprints installation located? in the /usr/share/eprints folder or in the /opt/eprints3/ folder?
Regard,Agung Prasetyo W.
On Tue, Jun 22, 2021 at 2:29 PM Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com> wrote:
Hi Agung,
Thanks for the suggestion, I'm actually a bit confused with the words "add above line in cron" because it refers to the one that has the --setup thing. Maybe what you suggest is the right cron command for the daily incremental process. We will try it. Thanks again.
Regards,
Bilal
Pada tanggal Sel, 22 Jun 2021 pukul 13.52 Ajunk Pracetio <prazetyo@gmail.com> menulis:
Hi Bilal,
For daily, you can run command below and add this to your cron. Maybe it can solve your problem.perl /opt/eprints3/archives/REPO_ID/bin/stats/process_stats REPO_ID 1>/dev/null 2>/dev/null
Regards,Agung Prasetyo W.
On Tue, Jun 22, 2021 at 9:25 AM Perpustakaan Politeknik APP Jakarta via Eprints-tech <eprints-tech@ecs.soton.ac.uk> wrote:
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-techCAUTION: This e-mail originated outside the University of Southampton.Hi Alan,
Yes, we've already read that documentation and added the cron schedule last week, but the problem remains. Here is the cron command:
Or is there something wrong with the above setting?
Thank you
Bilal
Pada tanggal Sen, 21 Jun 2021 pukul 19.25 Alan.Stiles via Eprints-tech <eprints-tech@ecs.soton.ac.uk> menulis:
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-techCAUTION: This e-mail originated outside the University of Southampton.-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its secondary activity of credit broking.Hi,
Have you seen the documentation at http://eprints.github.io/irstats2/ particularly the processing section of http://eprints.github.io/irstats2/install.html ? It looks like you need to set the overnight processing to run regularly.
You have historical data as it is drawn from e.g. the Access table of EPrints, but that is a one off task when IRStats2 was set up and anything since then would need the regular processing to be included.
Alan
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> On Behalf Of Perpustakaan Politeknik APP Jakarta via Eprints-tech
Sent: 14 June 2021 05:48
To: eprints-tech@ecs.soton.ac.uk; Alan.Stiles <alan.stiles@open.ac.uk>
Subject: Re: [EP-tech] IRStats2 downloads graphic not complete
CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content.
CAUTION: This e-mail originated outside the University of Southampton.
Hi Alan,
We run the query for two different periods (Feb '21 & June '21) to show the difference like below:
And as for the crontab, here is the result:
What makes us confused is that IRStats2 get installed in May '21, and previous downloads history (back from 2019 when eprints get installed) is available but start counted 0 in March '21. Previously we assumed that the data will be collected starting in May '21, but turned out the history data was already counted & collected. So what happened with March '21 and afterward? Because our students and staff still able to download articles at repository in that periods of time. I'm sorry for the questions if it sounds too basic 😁🙏
Thank you
Bilal
Pada tanggal Jum, 11 Jun 2021 pukul 15.22 Alan.Stiles via Eprints-tech <eprints-tech@ecs.soton.ac.uk> menulis:
CAUTION: This e-mail originated outside the University of Southampton.
Hi Bilal,
If you have access to the SQL database, do you get any results if you run the query:
SELECT * FROM `irstats2_downloads` WHERE `datestamp` = 20210610;
This is checking to see if IRStats2 has processed the stats via a scheduled overnight process.
If you can run a “ crontab -l “ as your eprints user you should have an entry that looks something like:
0 7 * * * /opt/eprints3/archives/<REPO_SHORT_NAME>/bin/stats/process_stats <REPO_SHORT_NAME>
Alan
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Reply to: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
Date: Friday, 11 June 2021 at 09:02
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, Yuri Carrer <yuri.carrer@unipd.it>
Subject: Re: [EP-tech] IRStats2 downloads graphic not complete
CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content.
CAUTION: This e-mail originated outside the University of Southampton.
Hi Yuri, I can't be sure to answer your question. But when we tried to reload the process_stats, the value of most downloaded items and total downloads (activity overview) was changed, yet the graphic remained. In what details of cron do you suggest we should take a look?
Many thanks
Bilal
Pada tanggal Kam, 10 Jun 2021 pukul 13.55 Yuri Carrer via Eprints-tech <eprints-tech@ecs.soton.ac.uk> menulis:
CAUTION: This e-mail originated outside the University of Southampton.
the cron to collect data are working correctly?
Il 10/06/21 04:39, Perpustakaan Politeknik APP Jakarta via Eprints-tech
ha scritto:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Hi All,
>
> Last month, we successfully installed IRStats2, but noticed some
> incomplete downloads graphic (start form March 2021 until now, picture
> attached). By downloading the CSV report, we know that the downloads
> 'count' has had 0 value since March 2021, while for older periods it
> was just fine. We have tried to reload the counting process via
> server, but nothing has changed. Has anyone encountered the
> same issue? Or probably any advice for this kind of error?
>
> Many thanks before.
>
> Bilal
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url="">
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url="">
--
Yuri Carrer
CAB - Centro di Ateneo per le Biblioteche, Università di Padova
Tel: 049/827 9712 - Via Beato Pellegrino, 28 - Padova
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- References:
- [EP-tech] IRStats2 downloads graphic not complete
- From: Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Yuri Carrer <yuri.carrer@unipd.it>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] IRStats2 downloads graphic not complete
- From: Perpustakaan Politeknik APP Jakarta <perpusappjakarta@gmail.com>
- [EP-tech] IRStats2 downloads graphic not complete
- Prev by Date: Re: [EP-tech] archive statistics
- Next by Date: [EP-tech] Faceted Search with Elasticsearch in EPrints (on Github EprintsUG)
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):