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

Upgrading from 3.5.0 to 3.6.0 broke working setup #13372

Closed
bigretromike opened this issue Aug 31, 2018 · 3 comments
Closed

Upgrading from 3.5.0 to 3.6.0 broke working setup #13372

bigretromike opened this issue Aug 31, 2018 · 3 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@bigretromike
Copy link

Im using Matomo since 'piwik' era.
I just updated from version 3.5.0 to 3.6.0 and end up with blank page and log full of same error.
I did what I do always when those things happens:

  • clear cache console cache:clear
  • reinstall reuse same db (and delete every autoload.php that installation tells me to)
    But this time it didn't helped and Im stuck with:
    [Fri Aug 31 07:39:42.203081 2018] [:error] [pid 29745] [client x.x.x.x:64220] FastCGI: server "/var/www/x/y/z/cgi-bin/php5-fcgi-*-80-piwik" stderr: PHP message: PHP Fatal error: Cannot redeclare class Piwik\\Plugins\\Goals\\Columns\\Metrics\\GoalSpecificProcessedMetric in /var/www/x/y/z/web/plugins/Goals/Columns/Metrics/GoalSpecificProcessedMetric.php on line 23, referer: http://x.y/index.php?action=finished&module=Installation

It was same line just after updating.

@bigretromike
Copy link
Author

running ./console diagnostics:run yell:

ERROR always_populate_raw_post_data = -1

To prevent some critical issue, you must set the following in your php.ini file: always_populate_raw_post_data = -1
After making this change, restart your web server.

Which wasn't the case while reinstalling and is strange because I have it setup that way - so diagnostic check overall server setting probably ?! dunno

@bigretromike
Copy link
Author

bigretromike commented Aug 31, 2018

After restarting both apache and php5-fpm Im able to login into dashboard but there are still some fatal errors.
[Fri Aug 31 07:58:08.996093 2018] [:error] [pid 30774] [client x.y.z:64428] FastCGI: server "/var/www/x/y/z/cgi-bin/php5-fcgi-*-80-piwik" stderr: PHP message: PHP Fatal error: Cannot redeclare class Piwik\\Plugins\\CoreVisualizations\\Visualizations\\HtmlTable in /var/www/x/y/z/web/plugins/CoreVisualizations/Visualizations/HtmlTable.php on line 23, referer: http://x.y/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday

@bigretromike
Copy link
Author

bigretromike commented Aug 31, 2018

Looks like this is the culprit: #11054 and #10378
opcache.enable=0
in php.ini did the trick;

@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Oct 17, 2018
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

2 participants