@DaSchTour opened this Issue on September 24th 2014 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 commented on September 24th 2014 Contributor

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 commented on September 24th 2014 Contributor

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 commented on September 24th 2014 Member

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 commented on September 24th 2014 Contributor

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 commented on September 24th 2014 Owner

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?

This Issue was closed on September 25th 2014
Powered by GitHub Issue Mirror