[OJS-3.4.0-4] Statistic problem

Are you sure the last patch was applied successfully?
Do you see these two new lines in your PKPUsageStatsLoader: pkp/pkp-lib#9679 allow processing of the log files from the last month · pkp/pkp-lib@d0862af · GitHub ?
But somehow I think you would get/see an error if this would be wrong… Hmmm…

Can you try following:

  • move 20240205 temporary to archive folder
  • move 20240204 to usageEventLogs folder
  • clear temporary usage stats tables (all)
  • remove the row that contains APP\tasks\UsageStatsLoader from the DB table scheduled_tasks, e.g. by running:
    DELETE FROM scheduled_tasks where class_name = ‘APP\tasks\UsageStatsLoader’;
  • request an OJS page – the next request of your journal’s page will run the scheduled task
  • watch for errors in server’s PHP error log, is there any?
  • where is the log file now?
  • take a look in the scheduledTaskLogs folder, in the newest Usagestatisticsfileloadertask… file. What is there?
  • take a look in the temporary usage stats tables. What is there?

If that does not tell us anything:
Can you revert the last patch, those two changes from this link above, and then try the steps here again?