You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded from 1.12 to 2.0.2. During the upgrade on the commandline, I got the following terminal output:
# /opt/php54/bin/php index.php -- "module=CoreUpdater"
<div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'>
<strong>There is an error. Please report the message (Piwik 2.0.2)
and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search first as it might have been reported already!).<br /><br/>
Notice:</strong> <em>Undefined offset: 2</em> in <strong>piwik/core/SettingsPiwik.php</strong> on line <strong>310</strong>
<br /><br />Backtrace --><div style="font-family:Courier;font-size:10pt"><br />
#0 Piwik\Error::errorHandler(...) called at [piwik/core/SettingsPiwik.php:310]<br />
#1 Piwik\SettingsPiwik::getCurrentGitBranch(...) called at [piwik/core/Filechecks.php:124]<br />
#2 Piwik\Filechecks::getFileIntegrityInformation(...) called at [piwik/plugins/CoreUpdater/Controller.php:353]<br />
#3 Piwik\Plugins\CoreUpdater\Controller->doWelcomeUpdates(...) called at [piwik/plugins/CoreUpdater/Controller.php:295]<br />
#4 Piwik\Plugins\CoreUpdater\Controller->runUpdaterAndExit(...) called at [piwik/plugins/CoreUpdater/Controller.php:275]<br />
#5 Piwik\Plugins\CoreUpdater\Controller->index(...) called at [:]<br />
#6 call_user_func_array(...) called at [piwik/core/FrontController.php:117]<br />
#7 Piwik\FrontController->dispatch(...) called at [piwik/index.php:71]<br />
</div><br />
</pre></div><br />
*** Update ***
Database Upgrade Required
Your Piwik database is out-of-date, and must be upgraded before you can continue.
Piwik database will be upgraded from version 1.12 to the new version 2.0.2.
The following plugins will be updated: DevicesDetection.
The database upgrade process may take a while, so please be patient.
During that time, visiting the index page in a browser would yield the same message:
There is an error. Please report the message (Piwik 2.0.2) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).
Notice: Undefined offset: 2 in piwik/core/SettingsPiwik.php on line 310
Backtrace -->
#0 Piwik\Error::errorHandler(...) called at [piwik/core/SettingsPiwik.php:310]
#1 Piwik\SettingsPiwik::getCurrentGitBranch(...) called at [piwik/core/Filechecks.php:124]
#2 Piwik\Filechecks::getFileIntegrityInformation(...) called at [piwik/plugins/CoreUpdater/Controller.php:353]
#3 Piwik\Plugins\CoreUpdater\Controller->doWelcomeUpdates(...) called at [piwik/plugins/CoreUpdater/Controller.php:316]
#4 Piwik\Plugins\CoreUpdater\Controller->runUpdaterAndExit(...) called at [piwik/plugins/CoreUpdater/Controller.php:275]
#5 Piwik\Plugins\CoreUpdater\Controller->index(...) called at [:]
#6 call_user_func_array(...) called at [piwik/core/FrontController.php:117]
#7 Piwik\FrontController->dispatch(...) called at [piwik/index.php:71]
However, as you can guess from the terminal output, it seems like the update did complete successfully. My Piwik 2.0.2 instance seems to be functioning normally.
The bug persists however. If I visit /index.php?module=Installation&action=systemCheckPage from the admin menu, I get the same traceback:
Notice: Undefined offset: 2 in piwik/core/SettingsPiwik.php on line 310
Backtrace -->
#0 Piwik\Error::errorHandler(...) called at [piwik/core/SettingsPiwik.php:310]
#1 Piwik\SettingsPiwik::getCurrentGitBranch(...) called at [piwik/core/Filechecks.php:124]
#2 Piwik\Filechecks::getFileIntegrityInformation(...) called at [piwik/plugins/Installation/Controller.php:857]
#3 Piwik\Plugins\Installation\Controller::getSystemInformation(...) called at [piwik/plugins/Installation/Controller.php:950]
#4 Piwik\Plugins\Installation\Controller->setupSystemCheckView(...) called at [piwik/plugins/Installation/Controller.php:520]
#5 Piwik\Plugins\Installation\Controller->systemCheckPage(...) called at [:]
#6 call_user_func_array(...) called at [piwik/core/FrontController.php:117]
#7 Piwik\FrontController->dispatch(...) called at [piwik/index.php:71]
The text was updated successfully, but these errors were encountered:
Hi there,
I upgraded from 1.12 to 2.0.2. During the upgrade on the commandline, I got the following terminal output:
During that time, visiting the index page in a browser would yield the same message:
However, as you can guess from the terminal output, it seems like the update did complete successfully. My Piwik 2.0.2 instance seems to be functioning normally.
The bug persists however. If I visit /index.php?module=Installation&action=systemCheckPage from the admin menu, I get the same traceback:
The text was updated successfully, but these errors were encountered: