tracking@somehost:~/httpdocs$ php /path/to/site/httpdocs/index.php -- "module=CoreUpdater"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Piwik › Error</title>
...
<p>Piwik is in scheduled maintenance. Please come back later.</p>
So the maintenance mode make the upgrade impossible…!?
disable the Piwik User Interface: you can disable the User Interface only if you run the Piwik DB
Upgrade using the shell/console command (even the Upgrade process will be disabled in the browser).
but I had faced the problem that even the console db upgrade did not run anymore.
Oh sorry I didn’t read your message properly! you are right that there is a bug in there: please try the following patch: http://dev.piwik.org/trac/changeset/4673