Hi All.
A few months ago I upgraded from 3.1 to 3.2 and we are now running 3.2.1-1.
It was recently brought to my attention that the statistics have not being processed since the upgrade from 3.1.
Statistics for dates prior to the upgrade are available and the metrics table is populated, it not recording any new information.
I am manually running the scheduled task with the command:
/usr/bin/php /var/www/html/tools/runScheduledTasks.php /var/www/html/plugins/generic/usageStats/scheduledTasks.xml
Running the command updates the ‘last_run’ field for ‘class_name’ plugins.generic.usageStats.UsageStatsLoader in the scheduled_tasks table.
The directory /var/www/ojsfiles/usageStats/usageEventLogs/ is full of files that have been unprocessed since the upgrade. Files do not get moved to the ‘processing’ or ‘stage’ directories and those directories are writable by the webserver. The scheduled command does run quickly (real 0m0.169s) despite there being three months worth of logs present.
The base_url has changed, but I thought this was before this problem started and in any case, it looks like the scheduled command isn’t even trying to process the log files.
I’m not really sure where next to look next so any help would be gratefully received.