Database upgrade to 2.1 from the command line


#1

Hello all,
after copying the version 2.1 on the server, a webpage with a warning is shown, that large databases should run the database update from the command line:
php /var/www//htdocs/index.php – "module=CoreUpdater"
If I run the command no change is made to the database:
“Note: this is a Dry Run”

The piwik site (Update Piwik - Analytics Platform - Matomo) mentions another procedure:
./path/to/piwik/console core:update

What is the correct way to upgrade the database?
Best regards
Thomas


#2

I did with :

./path/to/piwik/console core:update

and it worked… Database is about 300MB big.


(Matthieu Aubry) #3

The correct way now is ./path/to/piwik/console core:update