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:
UpgradeNow
)If you use default action
parameter, it will run the full upgrade process.
Exemple
$ 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:
<admin directory>/autoupgrade/backup/
)Exemple
$ php cli-rollback.php --dir=admin-dev --backup=V1.7.5.1_20190502-191341-22e883bd