usageStats task recovery

Hi, Bozana.

We use OJS 3.0.2.
Well, what did I do:

  1. Removed the UsageStatsLoader from the DB table scheduled_tasks.
  2. Run the command.
  3. Checked log files - scheduledTaskLogs folder contains one log file (Task process started, Task process stopped), without any files processed.
  4. Moved one stats file from usageEventLogs to stage and run the command again.
  5. This file was processed and moved to archive, but with the following warning in the log file: log contains an url that the system can’t remove the base url from.

Yes, we changed base_url after upgrading OJS from 2.4.8 to 3.0.2, but 2.4.8 installation was not in production and did’t contain the journal launched.

I found Article statistics showing 0 abstract views and 0 PDF downloads - #93 by Ph_We with discussion about base_url. But since OJS upgrade we have the following records in config.inc.php:
base_url = "https://vestnik-journals.spbu.ru"
base_url[s3] = https://biocomm.spbu.ru and so on for all 17 journals.