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
core:archive doesn't produce hourly archives #5043
Comments
Are you maybe running both at the same time? please try only use the new one, core:archive, and if you can copy paste the output for one full day (do you run the log hourly?) |
Yes, I run it hourly from cron. I do run only one at the time, once migrated to 2.2.0 I switched to core:archive and noticed after couple of days it does only daily archives. Every hour it returned following:
only at mignight it processed java script tracked sites because last archive was on the other day
no problem at all with archive.php ... another strange thing just noticed, coreconsole returns different times when it starts archive see below (notice 2 hours offset with START)
vs archive.php
|
Ok thanks for the report, you actually pointed out directly to a bug which was not discovered until now: the console was not setting the timezone as UTC. can you try again with this patch and see if it works better? |
Running the patch since this morning and so far it works correctly every hour, so I guess it's fixed now :) |
Nice! |
…atomo-org#5043 This could potentially cause some big problems.
php5 /var/www/mypiwik/piwik/misc/cron/archive.php --url=http://mypiwik
behaves different than
php5 /var/www/mypiwik/piwik/console core:archive --url=http://mypiwik
The old one does archive both log imported invalidated sites + js tracked sited.
The new one always returns below for js tracked sites
Except for the first run on a new day when doing daily archives. Based on the --help
I would expect it's not necessary specify --force-all-periods parameter.
Piwik 2.2.0
The text was updated successfully, but these errors were encountered: