Describe the issue or problem
I’m trying to process logs form a former version of OJS, following the steps described in the documentation, but i is not working, the log says:
[Error] El archivo usage_events_20250621.log está en un formato de registro antiguo que no puede ser procesado, así que se devolverá al directorio de preparación (‘stage directory’)
In english it would be:
[Error] The file usage_events_20250621.log is in old log file format that cannot be processed and will thus be moved back to the stage directory.
Steps I took leading up to the issue
- I copy the old log files, from 3.3, into the usagestats/archive folder
- Through SSH I run php lib/pkp/tools/convertUsageStatsLogFile.php
- It works, a new log file with a Json format is created and the former one is renamed adding a _old suffix
- I move those brand new log files to stage folder
- I run php lib/pkp/tools/reprocessUsageStatsMonth.php 202506 (cause I’m beginning with that month statistics)
- Nothing happens, en the scheduledTaskLogs i see the error I mentioned up here:
[Error] El archivo usage_events_20250621.log está en un formato de registro antiguo que no puede ser procesado, así que se devolverá al directorio de preparación (‘stage directory’)
What application are you using?
For example, OJS 3.3.0-4
Additional information
I have recently updating OJS from 3.3 to 3.4.0.9, statistcs are working fine since I updated but I’m trying to add the two former years statistics.
I tried the same steps in a development clean installations, in another server, and it worked.
I have checked if the base url was the same and it is.
Thank’s
Kike