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

Problem upgrading from 2.0.1 to 2.0.2 #4434

Closed
anonymous-matomo-user opened this issue Dec 24, 2013 · 3 comments
Closed

Problem upgrading from 2.0.1 to 2.0.2 #4434

anonymous-matomo-user opened this issue Dec 24, 2013 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

After doing an manual upgrade from 2.0.1 to 2.0.2 I have this error:

A fatal error occurred

The following error just broke Piwik (v2.0.2):

Class 'Twig_Loader_Filesystem' not found

in

/web/stats.transitionnetwork.org/piwik/core/Twig.php line 150

Some more info has been posted here: https://trac.transitionnetwork.org/trac/ticket/664

Any suggestions?

@mattab
Copy link
Member

mattab commented Dec 26, 2013

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...

Btw transitionnetwork is an awesome idea!

@anonymous-matomo-user
Copy link
Author

Replying to matt:

Can you check all files were uploaded properly?

Yes, I have just downloaded and extracted the latest zip:

cp piwik/config/config.ini.php .
wget "http://piwik.org/latest.zip" -O latest.zip
unzip latest.zip
 Archive:  latest.zip
 replace piwik/config/global.ini.php? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
cp config.ini.php piwik/config/
php piwik/index.php -- "module=CoreUpdater"

And now I don't have the error as before, just a blank page:

And a 500 error in the Nginx logs.

If so, what php version do you use?

The default Wheezy one:

 PHP 5.4.4-14+deb7u7 (cli) (built: Dec 12 2013 08:42:07) 
 Copyright (c) 1997-2012 The PHP Group
 Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

Closing as it should not be a bug but likely config or php or missing file issue...

OK... the config.ini.php is exactly the same as it was when running Piwik 2.0.1 and the files have simply been unzipped in place, so I'm not sure how that could have happened?

Anything else I can check?

Btw transitionnetwork is an awesome idea!

Indeed! I'm very lucky to be working on deploying and maintining Free software applications on their behalf :-)

@anonymous-matomo-user
Copy link
Author

A php-fpm restart appers to have solved it, I'll post more info on the Transition Network Trac if anyone is interested.

Matt, thanks for the support!

@anonymous-matomo-user anonymous-matomo-user added this to the 2.0.3 - Piwik 2.0.3 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants