Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.You might want to read the documentation for the current version, PrestaShop 1.7.
Upgrade module can be used as a Command Line Interface.
Entry point is cli-upgrade.php. The following parameters are mandatory:
If you use default
action parameter, it will run the full upgrade process.
$ php cli-upgrade.php --dir=admin-dev --channel=major
If an error occurs during the upgrade process, the rollback will be suggested. In case you lost the page from your backoffice, note it can be triggered via CLI.
Entry point is cli-rollback.php. The following parameters are mandatory:
$ php cli-rollback.php --dir=admin-dev --backup=V188.8.131.52_20190502-191341-22e883bd