Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to look at the current version, PrestaShop 8. Read the updated version of the documentation
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=V220.127.116.11_20190502-191341-22e883bd