EPrints Technical Mailing List Archive

Message: #08657


< 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


CAUTION: This e-mail originated outside the University of Southampton.
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:
CAUTION: 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:

cron setup.jpeg

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:
CAUTION: This e-mail originated outside the University of Southampton.

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/

-- 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.
*** 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/