Skip to content
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

2.16.0 upgrade error auto archiving #9725

Closed
mvdepot opened this issue Feb 7, 2016 · 4 comments
Closed

2.16.0 upgrade error auto archiving #9725

mvdepot opened this issue Feb 7, 2016 · 4 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@mvdepot
Copy link

mvdepot commented Feb 7, 2016

ERROR [2016-02-05 21:42:02] Got invalid response from API request: ?module=API&method=API.get&idSite=3&period=day&date=last52&format=php&trigger=archivephp. Response was 'a:2:{s:6:"result";s:5:"error";s:7:"message";s:352:"Your Piwik codebase is running the old version 2.15.0 and we have detected that your Piwik Database has already been upgraded to the newer version 2.16.0. Maybe your Piwik administrators are currently finishing the upgrade process. Please try again in a few minutes. If you still have this issue please contact your Piwik administrator for assistance. ";}'

new error from chron after upgrading to 2.16.0

Also get the following, but I assume it is related the the first, any ideas?:

ERROR [2016-02-05 21:42:02] Empty or invalid response '' for website id 3, Time elapsed: 0.566s, skipping ERROR [2016-02-05 21:42:02] 2 total errors during this script execution, please investigate and try and fix these errors.

@tsteur
Copy link
Member

tsteur commented Feb 7, 2016

Have you updated all Piwik files (and cleared any opcache if needed)? Sounds like your Piwik is still running on 2.15.0 but database is 2.16.0. Have a look here: http://piwik.org/docs/update/#the-manual-three-step-update

I think it is related to the first but hard to tell as there's not much to see.

@mvdepot
Copy link
Author

mvdepot commented Feb 7, 2016

Thanks for the ideas. Piwik says it is running 2.16 in the admin console. Opcache is not enabled on cli, but I cleared it anyhow with no improvement to the auto archive errors. Also restarted apache, no change. I will try the manual upgrade, have never had to do that in the past.

@tsteur
Copy link
Member

tsteur commented Feb 7, 2016

Just FYI: The cron archiver might use HTTP and go via web to send archiving requests depending on the operating system and installed packages. That's why I mentioned re opcache. Let me know how it goes after the manual update. Don't forget to backup config/config.ini.php

@mvdepot
Copy link
Author

mvdepot commented Feb 7, 2016

tried a differential update, no help. did a full replace update - no help.
while I was logged into the server I grabbed the autoupdate command from the cron job to run it from the console and found the issue: the cron job was not changed when we updated domain names.
Thank you for the assistance tsteur, have a great week. MVD

@mvdepot mvdepot closed this as completed Feb 7, 2016
@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants