Piwik stopped tracking after update to 3.0.0

I’ve got a long running Piwik installation (over 5 years), and updated to 3.0.0 yesterday… and after the upgrade, it is not tracking visits anymore.

Everything seems to be working fine - EXCEPT - in the middle of the admin page, between “System Summary” and “Need Help?,” there is an error window, “Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Piwik administrator for assistance.” - I don’t know what’s supposed to be in that block, though.

I’ve no other clues at all as to why tracking has stopped.

The only change was updating to 3.0.0.

(And, it’s actually even worse than it seems - in another part of admin, I got an error that “Goals” was not enabled. I never enabled it; I don’t care about Goals. But if it’s an error to not have it enabled, I figured… go ahead and enable it. So I did that, and the system then did another (!!) DB update… and when I went back into admin after that, there were a ton of error messages relating to Goals:

“WARNING: /usr/www/users/pazuzu/piwik/plugins/Goals/Reports/BaseEcommerce.php(56): Notice - Undefined index: idSites - Piwik 3.0.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)”

So… I’ve got a big problem on my system.

Hopefully this can get fixed, as like I said, this is a long-running installation.)

I have the same Problem here. Just updated to 3.0 and got those errors. Maybe this is a missing SQL index ?

I also get the following error with the cron job:
/usr/bin/php5 /data/app/www/piwik/console core:archive --url=http://www.plweb.at/piwik/ > /data/logs/piwikarchive.log
PHP Fatal error: Call to undefined method Piwik\Plugins\CorePluginsAdmin\CorePluginsAdmin::isMarketplaceEnabled() in /data/app/www/piwik/plugins/CorePluginsAdmin/Tasks.php on line 17

@steven2612 the solution is to delete this file www/piwik/plugins/CorePluginsAdmin/Tasks.php

Thanks - this solved the message within the cron job !

but whats about this message ? how to solve this ?

UPDATED @steven2612 delete the file plugins/Goals/Reports/BaseEcommerce.php

ok, this seems to solve this problem. But there is one more:
In error Log is following line very often:

PHP Fatal error: Cannot redeclare class Piwik\Plugins\UserCountry\LocationProvider\DefaultProvider in /data/app/www/piwik/plugins/UserCountry/LocationProvider/Default.php on line 0

sorry for hijacking this thread …

one more problem:

/usr/bin/php5 /data/app/www/piwik/console core:archive --url=http://www.plweb.at/piwik/ 
INFO [2016-12-31 12:53:41] ---------------------------
INFO [2016-12-31 12:53:41] INIT
INFO [2016-12-31 12:53:41] Running Piwik 3.0.0 as Super User
INFO [2016-12-31 12:53:41] ---------------------------
INFO [2016-12-31 12:53:41] NOTES
INFO [2016-12-31 12:53:41] - Reports for today will be processed at most every 3600 seconds. You can change this value in Piwik UI > Settings > General Settings.
INFO [2016-12-31 12:53:41] - Reports for the current week/month/year will be refreshed at most every 3600 seconds.
INFO [2016-12-31 12:53:41] - Archiving was last executed without error 15 hours 47 min ago
INFO [2016-12-31 12:53:41] - Will process 41 other websites because the last time they were archived was on a different day (in the website's timezone) , IDs: 2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45
INFO [2016-12-31 12:53:44] Will ignore websites and help finish a previous started queue instead. IDs: 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45
INFO [2016-12-31 12:53:44] ---------------------------
INFO [2016-12-31 12:53:44] START
INFO [2016-12-31 12:53:44] Starting Piwik reports archiving...
INFO [2016-12-31 12:53:45] Day has finished for website id 9 since last run
INFO [2016-12-31 12:53:45] Will pre-process for website id = 9, period = day, date = last52
INFO [2016-12-31 12:53:45] - pre-processing all visits
ERROR [2016-12-31 12:53:49] Got invalid response from API request: ?module=API&method=API.get&idSite=9&period=day&date=last52&format=php&trigger=archivephp. Response was 'a:2:{s:6:"result";s:5:"error";s:7:"message";s:187:"Entry "Piwik\Auth" cannot be resolved: the class is not instantiable Full definition: Object (     class = #NOT INSTANTIABLE# Piwik\Auth     scope = singleton     lazy = false )";}'
ERROR [2016-12-31 12:53:49] Empty or invalid response '' for website id 9, Time elapsed: 3.756s, skipping
INFO [2016-12-31 12:53:51] Day has finished for website id 11 since last run
INFO [2016-12-31 12:53:51] Will pre-process for website id = 11, period = day, date = last52

ok - i did now a full fresh install of piwik 3.0.0 and used only the old config file. Now everything seems to work as expected. It seems, the upgrade process to piwik 3.0.0 is not perfect.

Thanks for your support !

1 Like