Want to upgrade from Piwik 1.1.2 to 2.7

Hi,

are they any issues I have to take care about updating from piwik 1.1.2 to 2.7?

My database takes up 1.4 gig of space. How should I ideally backup before?

Thanks for hints.

Edit: sorry, wrong forum - could anybody move my post?

it should work fine, just run the upgrade in the console Update Piwik - Analytics Platform - Matomo

did it. seems to work fine. was not quite clear, that i have to init the update process on the website FIRST, and to activate the console core:update process TWICE.

no worries, it’s really easy to do. thanks alot for that great piece of software and for your unwavering support matt.

It seems I messed up something. I did the update yesterday to 2.7 and now it does not work anymore properly. I first received a message that the update has been installed successfully but now all I see is that


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: SitesManager in /mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/Translate.php on line 173

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/Translate.php:173]
#1 Piwik\Translate::getJavascriptTranslations(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/AssetManager.php:121]
#2 Piwik\AssetManager->getJsInclusionDirective(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/Twig.php:127]
#3 Piwik\{closure}(...) called at [:]
#4 call_user_func_array(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/tmp/templates_c/59/ed/95be164d8250c287467d6c1ee413d3d9f5cc8892637243366cc6686c683f.php:24]
#5 __TwigTemplate_59ed95be164d8250c287467d6c1ee413d3d9f5cc8892637243366cc6686c683f->doDisplay(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/vendor/twig/twig/lib/Twig/Template.php:278]
#6 Twig_Template->displayWithErrorHandling(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/vendor/twig/twig/lib/Twig/Template.php:252]
#7 Twig_Template->display(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/tmp/templates_c/17/cc/52e5be7e7387a44d0b684a053ad616f88edd91496d796e6308a36d8448b3.php:55]
#8 __TwigTemplate_17cc52e5be7e7387a44d0b684a053ad616f88edd91496d796e6308a36d8448b3->doDisplay(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/vendor/twig/twig/lib/Twig/Template.php:278]
#9 Twig_Template->displayWithErrorHandling(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/vendor/twig/twig/lib/Twig/Template.php:252]
#10 Twig_Template->display(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/vendor/twig/twig/lib/Twig/Template.php:263]
#11 Twig_Template->render(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/vendor/twig/twig/lib/Twig/Environment.php:292]
#12 Twig_Environment->render(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/View.php:263]
#13 Piwik\View->renderTwigTemplate(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/View.php:257]
#14 Piwik\View->render(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/plugins/Login/Controller.php:99]
#15 Piwik\Plugins\Login\Controller->login(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/plugins/Login/Controller.php:61]
#16 Piwik\Plugins\Login\Controller->index(...) called at [:]
#17 call_user_func_array(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/FrontController.php:577]
#18 Piwik\FrontController->doDispatch(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/FrontController.php:86]
#19 Piwik\FrontController->dispatch(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/Plugin/Controller.php:880]
#20 Piwik\Plugin\Controller->redirectToIndex(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/plugins/CoreHome/Controller.php:110]
#21 Piwik\Plugins\CoreHome\Controller->redirectToCoreHomeIndex(...) called at [:]
#22 call_user_func_array(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/FrontController.php:577]
#23 Piwik\FrontController->doDispatch(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/FrontController.php:86]
#24 Piwik\FrontController->dispatch(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/core/dispatch.php:34]
#25 require_once(...) called at [/mnt/webc/c3/77/53838577/htdocs/analytics/piwik/index.php:47]

Is there anything I can do to fix it?

Thank you very much.

Reupload all files as likely some files were not uploaded from latest version

That worked well, thank you. BTW You guys are doing a great job. Thanks