New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cron Archive runs no error, but does not update numbers in report #19023
Comments
This issue has been mentioned on Matomo forums. There might be relevant details there: https://forum.matomo.org/t/cron-archive-runs-no-error-but-does-not-update-numbers-in-report/44677/12 |
Same issue here. However, executing the cron command (like Someone in the forum mentioned that
But what variables are expected here and can they be added to the execution command for the cron? |
As a workaround I'm now using Example: Just set your domain, paths and the token_auth-id to your needs and Nevertheless, it would be great to have the "native" |
It seems to be the same behaviour with the web cron: Here is the log from 2022-10-25 22:00:05 night:
This morning 2022-10-26 07:40:10, I noticed that the numbers again were not updated to I did set up a new cron and set to 1 minute execution time. This resulted in the following log (successfully updating the numbers):
What makes me wonder is this line in both logs:
Shouldn't that be a different time each time? |
From: https://forum.matomo.org/t/cron-archive-runs-no-error-but-does-not-update-numbers-in-report/44677
Several users report the same issue
It seems this issue appeared since version 4.7.1+
Garrett
When using the cron to archive reports, new events are not reflected in the numbers.
If I change the settings to allow archive via browser, all the number update as they should.
I’ve setup cron to run the core:archive and have an error log setup to make sure everything is working properly. The cron job is setup under the www-data user as follows:
*/15 * * * * php /var/www/html/URL/console core:archive --matomo-domain=URL > /home/USER/MatomoErrors/matomo-archive-errors.log
I have it running every 15 minutes as I’m trouble shooting the issue.
The log file outputs the following:
It acts as if there is just nothing to archive??? I’m so stuck. Everything seems to be working perfect otherwise. I’ve checked all permissions on files and folders, my system check is all clear, and I just don’t know what else could be causing the issue.
Click to view System Check
Timothy van Exel
We’re experience the exact same issue with Matomo version 4.8.0. When we change “Archive reports when viewed from the browser” to yes then all stats are updated nicely, when we change it to no and use the cronjob below, nothing happens.
Site ID 4 is the site for which reports should be generated.
The following settings are configured on the website and the server:
Click to view System Check
Babita De Boer
Experiencing the same thing. Since using to 4.8.0. We have freshly installed a new matomo server wanted to use the "Archive reports when viewed from the browser” to “No” and we set the cron to run every 30 minutes.
It keeps saying exactly what the user above me says, specifically this part “Processed 0 archives” :
The text was updated successfully, but these errors were encountered: