I’ve noted that the metrics table stopped updating about 10 days ago. The Usage Statistics Plugin is recording usage to [files]/usageStats/usageEventLogs.
When the Scheduled Task runner (runScheduledTasks.php) runs, I’m not getting/logging any errors. I’m also not getting the metrics table updated and the usageEventLogs files don’t seem to be touched.
The logs do accumulate in scheduledTaskLogs. Further, if I move the files to stage and manually run {ojs_root}/tools/runScheduledTasks.php {ojs_root}/lib/pkp/plugins/generic/usageStats/scheduledTasks.xml, they do update.
php {ojs_root}/tools/runScheduledTasks.php generates no logs in scheduledTaskLogs and files are not processed.
Moving the files to stage and then running php {ojs_root}/tools/runScheduledTasks.php {ojs_root}/lib/pkp/plugins/generic/usageStats/scheduledTasks.xml generates:
[2017-03-07 10:45:29] [Notice] Task process started.
[2017-03-07 10:45:32] [Notice] File {ojs_files}/usageStats/processing/usage_events_20170305.log was processed and archived.
[2017-03-07 10:45:37] [Notice] File {ojs_files}/usageStats/processing/usage_events_20170306.log was processed and archived.
[2017-03-07 10:45:37] [Notice] Task process stopped.