OJS 3.1.1.2 / 3.1.1.4 usageStats doesn't work

Hi everybody!!

At the time of running the usage statistics of my journal portal, no data is inserted into the database.

I think the problem is that the plugin does not enter the “lib” directory, but I’m not sure.

Can you help me?

Hi @david_marquez

Could you please double check that your plugin is enabled?

Best,
Israel

Hi, @israel.cefrin

Yes! My usageStats Plugin is enabled!

Hi @david_marquez

Have you attempt run stats manually to check if its fetching and storing data from log files correctly?

Please read this section on PKP Documentation Statistics section:
https://docs.pkp.sfu.ca/admin-guide/en/statistics#2-configure-a-server-side-cron-job

Best,
Israel

Hi @israel.cefrin

That’s exactly what we do, first we delete the database record in the scheduledtasks table, and then we run them manually, but it does not insert anything in the database.

Hi @david_marquez

Have you checked your statistis processing log files. They may show if some log file is not being processed.
They are stored in following path:

files/scheduledTaskLogs/Usagestatisticsfileloadertask*

Best,
Israel