Ticket #664 (closed maintenance: fixed)
Upgrade Piwik to 2.0.2
Reported by: | chris | Owned by: | chris |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | Piwik | Keywords: | |
Cc: | sam | Estimated Number of Hours: | 0.25 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 0.7 |
Description
This is a bugfix version which fixes 3 issues, see http://piwik.org/changelog/piwik-2-0-1/
Upgrade notes are here, wiki:PiwikServer#Updates
Change History
comment:1 follow-up: ↓ 2 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.45
- Total Hours changed from 0.0 to 0.45
comment:2 in reply to: ↑ 1 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.25
- Status changed from new to closed
- Resolution set to fixed
- Total Hours changed from 0.45 to 0.7
Replying to chris:
I have raised a ticket about it here: http://dev.piwik.org/trac/ticket/4434
The answer from Matt on the Pwiki Trac:
Can you check all files were uploaded properly?
If so, what php version do you use?
Closing as it should not be a bug but likely config or php or missing file issue...
However after downloading and installing the files again we now have a 500 error for the front page, so I have changed the log level from crit to debug and restarted Nginx and we now have this in the logs:
2013/12/26 11:20:31 [error] 27131#0: *32 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'Zend_Session_Abstract' not found in /web/stats.transitionnetwork.org/piwik/libs/Zend/Session.php on line 50 PHP message: PHP Fatal error: Class 'Piwik\Session' not found in /web/stats.transitionnetwork.org/piwik/core/FrontController.php on line 432" while reading response header from upstream, client: XX.XX.XX.XX, server: stats.transitionnetwork.org, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "stats.transitionnetwork.org"
So I restarted php-fpm and it's fixed!
I have updated the docs, wiki:PiwikServer#Updates and switched on stats recording.
comment:3 Changed 3 years ago by chris
For all previous upgrades a php-fpm restart wasn;t needed and I think this is because previously we were not running with APC, but now we are, see ticket:535#comment:55
Following wiki:PiwikServer#Updates
Switch off the recording of stats by adding this to /web/stats.transitionnetwork.org/piwik/config/config.ini.php:
Download, extract, and update the database:
Then we have this error:
I have searched the ticketing system, http://dev.piwik.org/ and forums http://forum.piwik.org/ for anyone else with this problem but couldn't find any reports of this issue.
I have raised a ticket about it here: http://dev.piwik.org/trac/ticket/4434