Barthelemy Bois Posted 14 hours ago Share Posted 14 hours ago (edited) Hello, Sorry for my bad english... After lots of trials to upgrade my prestashop from 1.7.8.11 to 8.2.0. I found successfull way. I hope this will be usefull for others. There is some minor display issues remaining (see below). Here is the different steps for a successuful upgrade. I didn't manage to use One-click upgrade module for this upgrade. I used CLI-command upgrade. Step 1 : deactivate cash, smarty cache and delete var/cache/* (and Prestashop prerequists for upgrade) Step 2 : upgrade to 8.0.4 Quote curl -L https://github.com/PrestaShop/PrestaShop/releases/download/8.0.4/prestashop_8.0.4.zip -o admin5667jgngm/autoupgrade/download/prestashop.zip curl -L https://github.com/PrestaShop/PrestaShop/releases/download/8.0.4/prestashop_8.0.4.xml -o admin5667jgngm/autoupgrade/download/prestashop.xml echo "{\"channel\":\"archive\",\"archive_prestashop\":\"prestashop.zip\",\"archive_num\":\"8.0.4\", \"archive_xml\":\"prestashop.xml\", \"PS_AUTOUP_CHANGE_DEFAULT_THEME\":0, \"skip_backup\": 1}" > modules/autoupgrade/config.json php modules/autoupgrade/cli-updateconfig.php --from=modules/autoupgrade/config.json --dir=admin5667jgngm rm -rf var/cache/* php modules/autoupgrade/cli-upgrade.php --dir=admin5667jgngm After these steps, there were 2 warnings : Quote WARNING - [WARNING] Migration failed while running the file upgrade-2.3.1.php. Module ps_emailalerts disabled. WARNING - [WARNING] Migration failed while running the file upgrade-0.3.php. Module blockwishlist disabled. And module manager tab on backoffice was broken. Let's continue. Step 3 : upgrade from 8.0.4 to 8.1.7 Quote curl -L https://github.com/PrestaShop/PrestaShop/releases/download/8.1.7/prestashop_8.1.7.zip -o admin5667jgngm/autoupgrade/download/prestashop.zip curl -L https://github.com/PrestaShop/PrestaShop/releases/download/8.1.7/prestashop_8.1.7.xml -o admin5667jgngm/autoupgrade/download/prestashop.xml echo "{\"channel\":\"archive\",\"archive_prestashop\":\"prestashop.zip\",\"archive_num\":\"8.1.7\", \"archive_xml\":\"prestashop.xml\", \"PS_AUTOUP_CHANGE_DEFAULT_THEME\":0, \"skip_backup\": 1}" > modules/autoupgrade/config.json php modules/autoupgrade/cli-updateconfig.php --from=modules/autoupgrade/config.json --dir=admin5667jgngm rm -rf var/cache/* php modules/autoupgrade/cli-upgrade.php --dir=admin5667jgngm All right after that but do not access to BO. Step 4 : upgrade from 8.1.7 to 8.2.0 Quote curl -L https://github.com/PrestaShop/PrestaShop/releases/download/8.2.0/prestashop_8.2.0.zip -o admin5667jgngm/autoupgrade/download/prestashop.zip curl -L https://github.com/PrestaShop/PrestaShop/releases/download/8.2.0/prestashop_8.2.0.xml -o admin5667jgngm/autoupgrade/download/prestashop.xml echo "{\"channel\":\"archive\",\"archive_prestashop\":\"prestashop.zip\",\"archive_num\":\"8.2.0\", \"archive_xml\":\"prestashop.xml\", \"PS_AUTOUP_CHANGE_DEFAULT_THEME\":0, \"skip_backup\": 1}" > modules/autoupgrade/config.json php modules/autoupgrade/cli-updateconfig.php --from=modules/autoupgrade/config.json --dir=admin5667jgngm rm -rf var/cache/* php modules/autoupgrade/cli-upgrade.php --dir=admin5667jgngm After that, the file upgrade didn't work. --> reload the last CLI command : Quote php modules/autoupgrade/cli-upgrade.php --dir=admin5667jgngm Step 5 : Access to BO, activate tiers modules, enjoy 8.2 version of Prestashop. Minor display issues : There is some minor display issues remaining (see attached pictures) : - with profil icons on the top right only in some sheets (for example, not in dashboard page but in order page or module manager page) - with order indicator on order page If anybody have an idea, keep me informed 😉 Have a nice day. Edited 13 hours ago by Barthelemy Bois (see edit history) Link to comment Share on other sites More sharing options...
Barthelemy Bois Posted 6 hours ago Author Share Posted 6 hours ago Up ! Display minor issue are due to firefox, they are not present on chrome... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now