I updated my OJS from 3.2.1-5 to 3.4.0-9, but now my statistics are being sent to the reject folder. I have been checking the rejected logs and noticed mixed entries, as follows:
The usage statistics moved into core and the log file format has changed.
I am wondering if you maybe still have the old UsageStatsPlugin running too? It should be removed – all the functionality is now in the core code.
And then yes, you would probably need to repair the log files and only leave the JSON entries. Then you can try to re-process them.
Thanks for your answer. I’ve checked my plugins folder, but the UsageStatsPlugin was removed after the upgrade. I was checking the scheduledTaskLogs and only got the following:
translated:
Usage statistics file loading task
[2025-11-10 19:11:35] [Notification] The task has started.
[2025-11-10 19:11:35] [Error] Line number 2 of the file /x/y/z/usageStats/proces>
[2025-11-10 19:11:35] [Notification] The task has stopped.
UsageStatsLoader
[2025-11-10 20:05:57] [Notification] The task has started.
[2025-11-10 20:05:57] [Notification] The task has stopped.
Original
Tareadecargadearchivodeestadísticasdeuso
[2025-11-10 19:11:35] [Notificaci n] Se ha iniciado la tarea.
[2025-11-10 19:11:35] [Error] El n mero de l nea 2 del archivo /x/y/z/usageStats/proces>
[2025-11-10 19:11:35] [Notificaci n] Se ha detenido la tarea.
UsageStatsLoader
[2025-11-10 20:05:57] [Notificaci n] Se ha iniciado la tarea.
[2025-11-10 20:05:57] [Notificaci n] Se ha detenido la tarea.