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.7.0 – the story of broken Updates continues #6290

Closed
DaSchTour opened this issue Sep 24, 2014 · 5 comments
Closed

2.7.0 – the story of broken Updates continues #6290

DaSchTour opened this issue Sep 24, 2014 · 5 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@DaSchTour
Copy link
Contributor

So after 2.6.1 already had issues with updating now other problem occur with 2.7.0
After the update I get this really ugly message, that already show that somebody totally messed up.

Error while creating/copying file to <code>/var/www/vhosts/piwik.wecowi.de/httpdocs/core/BaseFactory.php</code>. <br />Please check that the web server has enough permission to write to these files/directories:<br />For example, on a GNU/Linux server if your Apache httpd user is www-data, you can try to execute:<br /><code>chown -R www-data:www-data /var/www/vhosts/piwik.wecowi.de/httpdocs</code><br /><code>chmod -R 0755 /var/www/vhosts/piwik.wecowi.de/httpdocs</code><br />

I checked the permissions and the BaseFactory.php has 777 as the folder above, so there can't be any permission issues. There is something wrong again.
Will there ever be an update that works? I have still 2.4.1 on my productive system, because as I see it, all version after this are very very bugy.

@DaSchTour
Copy link
Contributor Author

Tried to restore by 2.7.0 beta and now have this:

There is an error. Please report the message (Piwik 2.7.0) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined index: UserId in /var/www/vhosts/piwik.wecowi.de/httpdocs/core/Translate.php on line 173

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/Translate.php:173]
#1 Piwik\Translate::getJavascriptTranslations(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/AssetManager.php:121]
#2 Piwik\AssetManager->getJsInclusionDirective(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/Twig.php:127]
#3 Piwik{closure}(...) called at [:]
#4 call_user_func_array(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/tmp/templates_c/13/7f/1d94ed04854d41d75bd2b80c5faae3fe236de47d8fbe35c8b5efb1491f71.php:24]
#5 __TwigTemplate_137f1d94ed04854d41d75bd2b80c5faae3fe236de47d8fbe35c8b5efb1491f71->doDisplay(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:279]
#6 Twig_Template->displayWithErrorHandling(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:253]
#7 Twig_Template->display(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/tmp/templates_c/7d/8b/a9d0e080f53be3a6f187219c21ffbb4222edf1e4a34923308ca1fbdb5df3.php:121]
#8 __TwigTemplate_7d8ba9d0e080f53be3a6f187219c21ffbb4222edf1e4a34923308ca1fbdb5df3->block_head(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:144]
#9 Twig_Template->displayBlock(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/tmp/templates_c/7d/8b/a9d0e080f53be3a6f187219c21ffbb4222edf1e4a34923308ca1fbdb5df3.php:30]
#10 __TwigTemplate_7d8ba9d0e080f53be3a6f187219c21ffbb4222edf1e4a34923308ca1fbdb5df3->doDisplay(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:279]
#11 Twig_Template->displayWithErrorHandling(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:253]
#12 Twig_Template->display(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/tmp/templates_c/79/32/54cdbc016350854956641285ea531210f326319617d163438d7c9ebf9263.php:25]
#13 __TwigTemplate_793254cdbc016350854956641285ea531210f326319617d163438d7c9ebf9263->doDisplay(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:279]
#14 Twig_Template->displayWithErrorHandling(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:253]
#15 Twig_Template->display(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Template.php:264]
#16 Twig_Template->render(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/vendor/twig/twig/lib/Twig/Environment.php:292]
#17 Twig_Environment->render(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/View.php:263]
#18 Piwik\View->renderTwigTemplate(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/View.php:257]
#19 Piwik\View->render(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/plugins/CoreHome/Controller.php:169]
#20 Piwik\Plugins\CoreHome\Controller->index(...) called at [:]
#21 call_user_func_array(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/FrontController.php:577]
#22 Piwik\FrontController->doDispatch(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/FrontController.php:86]
#23 Piwik\FrontController->dispatch(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/core/dispatch.php:34]
#24 require_once(...) called at [/var/www/vhosts/piwik.wecowi.de/httpdocs/index.php:46]

Fantastic piece of software \o/

@DaSchTour
Copy link
Contributor Author

New installation of piwik 2.4.1 also doesn't work… for me this means Bye Bye Piwik. You had a great start and failed totally…

@sgiehl
Copy link
Member

sgiehl commented Sep 24, 2014

Guess every other software you are using is free of bugs. congratulations!
Just try to do a fresh install of 2.7.0 an reuse the existing database.

@DaSchTour
Copy link
Contributor Author

No it's not free of bugs! But since 2.4.1 no update worked!
I'll stay at my working 2.4.1

@mattab
Copy link
Member

mattab commented Sep 24, 2014

You were so close...

Notice: Undefined index: UserId in /var/www/vhosts/piwik.wecowi.de/httpdocs/core/Translate.php on line 173

this issue is solved by deleting the tmp/* files and refreshing. does it work maybe?

@mattab mattab added the worksforme The issue cannot be reproduced and things work as intended. label Sep 25, 2014
@mattab mattab closed this as completed Sep 25, 2014
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