Updating via console tool

(Doruk Fisek) #1

It would nice if we could update Piwik core and plugins from piwik console.

Currently Piwik console only supports upgrading the database. It would nice if we didn’t have to login Piwik via http and could also make the upgrade itself with the console tool.

This would ease administration and upgrades of Piwik.

(Tassoman) #2

You can clone tagged versions using git and you get the full development Piwik’s version.

Or maybe you want to wget http://builds.piwik.org/ for the latest version, extract it in a new directory then copying your config/config.inc.php from the old path to the new.
Then moving away the old installation and replace with the new Piwik’s directory.
Probably you’ll be asked to php console core:upgrade your installation

Third parties plugins update are usually done by web interface.

(Doruk Fisek) #3

Yes, that sums up currently what we have to do now to upgrade.

That’s why I made a feature suggestion to be able to make the upgrades more easily via the piwik:console tool.