Step Description | Expected result |
---|---|
Install A fresh 1.7.8.9 with php 7.1 | You should have the selection of where in your shop you want to go ( BO or FO ) |
Go to the BO | You should have your dashboard showed |
Go to the Module Manager " page" | Module Manager page is displayed correctly |
* Search for the “update assistant” module. * Install it |
* Update assistant should have “The Update Assistant module helps you backup, update and restore your PrestaShop store. With just a few clicks, you can move to the latest version of PrestaShop with confidence.” as description * Module is correctly installed |
Go to the General Parameters > Maintenance" page. Put the shop in maintenance mode" | Maintenance page is displayed correctly. Maintenance mode is activated |
Set your “Maintenance IP” by clicking the button “+ Add my IP” and clic on “Save” button | Your IP should be setted on the field and you will have the green notification |
* Go to the update assistant page | * You should see the configuration page of the module with a little problem on UI |
* Open a terminal in your folder [yourshop]/modules/autoupgrade * launch the command : {code:java} cd _dev{code} * Launch the command : {code:java} npm install{code} * Launch the command : {code:java} npm run vite:build{code} * Launch the command : {code:java} cd ..{code} * Launch the command : {code:java} composer install{code} |
* A terminal is open in the right folder * You should be in the folder [yourshop]/modules/autoupgrade/_dev * Npm should be installed in your folder with this last word : “Run npm audit for details."* The terminal should say some files have been modified * You should return on the folder [yourshop]/modules/autoupgrade/ * You terminal will say “Nothing to install, update or remove” |
* Return on the “Updrate Assistant” page | * You should be in the new UI page with : ** the title “Welcome to PrestaShop Update Assistant” ** Two radio button with : Update your store and Restore from a backup ** Radio button with the Restore should be disabled except if you have a backup ** A button “Get started” disabled |
Clic on the radio button next to “Update your store” | * Your radio button should be checked * the button “Get starder” should be Enabled |
Click on the button “Get started” | * You should have an image that show the load on the button get started until the load of the next page * You should be on a new page named “Version choice” * You should have a stepper on top of the page set on “1 : Version choice” * In the page, it should be : * ** a paragraph with “A more recent version is available / Current PrestaShop version: 1.7.8.9 / Current PHP version: 7.1 * ** Two radio button with : “Prestashop [last major/minor version]” and “Local Archive” *** Prestashop 1.7.8.11 [Minor version] With description “The maximum version of PrestaShop to which you can update your store, based on its PHP version. " and a button “Release note” *** if you don’t have a local archive set, you didn’t have a radio button and you should have a blue notification with " Unlock the local update feature and manually update your store to your preferred upgrade by saving the archive and XML files of the PrestaShop version in the following directory on your server: /your-admin-directory/autoupgrade/download/" ** ** A button named “Next” disabled |
* Change the php version to 7.4 and reload the page | * The first radio button showed is Prestashop 8.2.1 [Major version] |
* Click on Release note * Return on your Autoupgrade module |
* You should have a new tab that start with “ PrestaShop 8.2.1 is available The first patch for branch 8.2.x is available” * You should be on your page with no difference |
* Clic on the Radio button next to “Prestashop [last version]" * The check is finished |
* the checking requirement should be launched * You should have a green notification with “The requirements check is complete, you can update your store to this version of PrestaShop.” or maybe some warning and the button “Next” should be enabled |
* Reload the page * The check is finished |
* The Radio button next to “Prestashop [last version ] is checked and the checking requirement should be launched * You should have all maybe some warning and the button “Next” should be enabled |
* Go to your folder " [yourshop]/[admin_folder]/autoupgrade * Delete the file “update_config.var” * Reload the page * Clic on the Radio button next to “Prestashop [last version]" * The check is finished |
* You should have 4 different folder (backup - download - logs - tmp) and different files * The file shouldn’t be on the foler autoupgrade * You should return on the version choice page of autoupgrade but none radio button should be selected * the checking requirement should be launched * You should have all maube some warning and the button “Next” should be enabled |
* Modify any files from the folder of prestashop | * The file should be modified |
* Reload the page * Clic on the Radio button next to “Prestashop [last version]" * The check is finished * Click on “See the list of changes” |
* You should return on the version choice page of autoupgrade but none radio button should be selected * The checking requirement should be launched * You should have some warning like " Some core files have been altered or removed. Any changes made to these files may be overwritten during the update. [See the list of changes |
* Click on the “Check requirement again” button * The check is finished |
* The checking requirement should be launched * You should have some warning like " Some core files have been altered or removed. Any changes made to these files may be overwritten during the update. [See the list of changes |
* Clic on the “Next” Button | * You should be on the “Update option” page with : ** The stepper set on 2 : Update options ** 3 checkbox named " Deactivate non-native modules “, “Regenerate email templates” , " Disable all overrides " with details about them under there name ** “Next” Button enabled |
Clic on the “Next” Button | * You should be on the “Back up your store” page with : ** The stepper should be on 3 : Backup ** sub title “Backing up your store’s files, database, and images means you can restore to a previous version if something goes wrong during the update. This keeps your data safe and ensures your business stays up and running." ** Checkboxe : “Include images in your backup” ** 2 buttons : “Update without backup” and “launch backup” |
Click on “Launch Backup” | You should have a modal with * title : " Start backup? “ * Sub title : “Your files, database, and images will be backed up." * 2 button : “Cancel” and " Start Backup |
Click on the cross or elsewhere the module | The modal should be close and you ’ll be on the page “Back up your store” |
Click on “Update without backup” | You should have a modal with * title : " Start update? “ * Sub title : “Before starting the update, make sure you have a complete and recent backup of your store (database, files, and images)." * a Check box : “I have made my own backup and can restore it manually if a problem occur." * 2 button : “Cancel” and " Start update”, the last one is disabled |
* Click on the checkbox “I have made my own backup (…)” * Click on the cross or elsewhere the module |
* The button “Start Update” should be enabled * The modal should be close and you ’ll be on the page “Back up your store” |
Click on “Launch Backup” | You should have a modal with * title : " Start backup? “ * Sub title : “Your files, database, and images will be backed up." * 2 button : “Cancel” and " Start Backup” with a little icon on start backup |
* Click on “Start Backup” | * You should be on the page “Backup” with : ** The current process writted ** a load bar ** The details of the current process on a second tab |
Wait until the end of the backup | You should have be on a new page with * title : " Back up your store” * A green notification : “Backup completed” * A link : “Download backup logs” * 1 button : “Start Update”” |
Click on Download backup logs | The download of the backup on txt should be launched by your bowser |
Click on “Start Update” | You should have a modal with * title : " Start Update ? “ * Sub title : “You are about to launch the update, do you want to continue?" * 2 button : “Cancel” and " Start Update " the last button should have a picture of a rocket on it |
* Click on “Start Update” | * You should be on the page “Update” with : ** The stepper should be on 4 : Update ** The current process writted ** a load bar ** The details of the current process on a second tab |
Wait until the end of the update | You should have be on a new page with * title : " Post-update checklist “ * Stepper should be on “5 : Post-update” * A green notification : “Your store is up to date” * Sub title : “Next step” and Troubleshooting * A link : “Download update logs” * 2 button : “Exit” and " Open developer documentation” |
* Click on “Download update logs” * Click on “Open Developper Document” * You can close the new tab showed |
* The download of the update on txt should be launched by your bowser * A new tab should be open with the name “Post-update checklist” * You’ll return on the post-update checklist |
Click on the button “Exit” | * You should be redirected to “[admin_folder]/index” * Prestashop ask you to log in |
* Set your connection information * click on log in |
* Your information should be set up * You should be on the dashboard with the new version number of prestashop in the top left, just after the word Prestashop |