Statistics Issue

Hi!

I’m having some issues with the statistics on an OJS, I can see some of the logs in the “usageStats/reject” directory, and the logs for the task doesn’t show any error, it only shows this:
image

However, the articles that are in the logs of “usageStats/archive” should show some statistics but they all are in 0 views.

On the other hand, the rejected logs, show the url like this: https://institution.edu.co/index.php/journal1/article/download/1297/3268/10101

However, the links in this OJS are modified by apache with the following vhost configuration:

<VirtualHost *:80>
ServerName journal1.institution.edu.co
ServerAdmin root@openjournalweb.institution.edu.co
DocumentRoot /var/www/html/ojs/
DirectoryIndex index.php/journal1

ErrorLog /var/www/log/journal1_error.log
CustomLog /var/www/log/journal1_access.log common

<Directory “/var/www/html/ojs/”>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted

    RewriteEngine on
    RewriteRule ^/index.php/journal2 - [R=404]
    RewriteRule ^/index.php/journal3 - [R=404]
    RewriteRule ^/index.php/journal4 - [R=404]
    RewriteRule ^/index.php/journal5 - [R=404]

Can this configuration be messing with the schedule task or with the statistics processed in “usageStats/archive”?

The other issue is that in the “usageStats/reject” directory are only logs from 08/21/2022 to 05/09/2022 and in my “usageStats/archive” the last date for the logs is 23/12/2021, is there any way to generate the logs missing from 2022?

Best regards,

Juan.