Barthelemy Bois Posted December 11, 2024 Share Posted December 11, 2024 (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 December 11, 2024 by Barthelemy Bois (see edit history) 1 Link to comment Share on other sites More sharing options...
Barthelemy Bois Posted December 11, 2024 Author Share Posted December 11, 2024 Up ! Display minor issue are due to firefox, they are not present on chrome... Link to comment Share on other sites More sharing options...
Almoaidi Posted December 27, 2024 Share Posted December 27, 2024 I tried to rollback to the previous version and it also gives other error, now frontend shows erorr 500 and backend white page. Link to comment Share on other sites More sharing options...
pallavigodse Posted December 30, 2024 Share Posted December 30, 2024 Did you clear your browser cache and PrestaShop’s cache? If still it persists, inspect CSS or JavaScript conflicts from third-party modules. Link to comment Share on other sites More sharing options...
slminsk Posted January 20 Share Posted January 20 On 12/11/2024 at 12:36 PM, Barthelemy Bois said: Step 5 : Access to BO, activate tiers modules, enjoy 8.2 version of Prestashop. Great manual, thank you so much. Before accessing backoffice, clear var/cache/* In my case, there was error 500 in my backoffice until I cleared the cache. 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