Autoupgrade - Web Version - symlink - blocked server

Details

Steps

Step Description Expected result
Install a fresh 8.0.4 with php 8.1 * The new shop is installed
* The selection to BO or FO is displayed
Go to the BO. Log in page is displayed.
Log in with email and password set during installation. * Connection successful
* Dashboard displayed
Go to Modules > Module manager. Module manager page is displayed.
Click on the CTA “Upload a module”. Modal “Upload a module” is displayed.
Select or drag and drop the .zip. * The module is installing
* The module is installed, the CTA “Configure” is displayed.
Close the modal. * Modal is closed
* Module manager page is displayed
Refresh the page. Page is refreshed.
Search for “Update”. Update Assistant is displayed.
Check for the version. * The version is the latest in prod. 

* The lastest version in prod is displayed because it is the version available on the marketplace.
Go to the Shop Parameters > General. General > Preferences page is displayed on the “General” tab.
Click on the “Maintenance” tab. “Maintenance” tab is displayed.
Click on the toggle “Enable store” Toggle is in “No” status.
Click on the CTA “Add my IP”. IP address is filled.
Click on the CTA “Save”. Shop is in maintenance mode.
Go to “Update Assistant” module (side board). “Update Assistant” module is displayed : 
* Title : “Welcome to PrestaShop Update Assistant”
* Two radio buttons : “Update your store” and “Restore from a backup” (disabled)
* CTA “Get started” disabled
Select the radio button “Update your store”. * “Update your store” radio button is selected
* CTA “Get started” is enabled
Click on the CTA “Get started”. * A loader is displayed in the CTA “Get started” then, “Version choice” page is displayed : 

*
** Stepper on step one (“Version choice”)
** Paragraph with “A more recent version is available / Current PrestaShop version: [your current version of prestashop]/ Current PHP version: [your current version of php]
** Radio button : PrestaShop [last version enabled] [(Patch/minor or Major) version](blue color rgb(190, 234, 243)) with description “The maximum version of PrestaShop to which you can update your store, based on its PHP version.” and the link “Release note” 
** Blue alert info : " 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/"
** CTA : “Next” disabled
Clic on the Radio button next to “Prestashop [last version]” * Checking requirement is launched then is finished :

** “The requirements check is complete, you can update your store to this version of PrestaShop."
** Or warnings 
** CTA “Next” is enabled
Change the php.ini to block symlink, 
replace : 
{color:#FF0000}; disable_functions=symlink{color}
by
{color:#00875a}disable_functions=symlink{color}
Php is modified.
Restart your apache service Your command is launched
Reload the page “Version choice” * Checking requirement is launched then is finished :

*
** “The requirements check is complete, you can update your store to this version of PrestaShop."
** Error
** CTA “Next” is disabled
Click on the CTA “Next”. * “Update options” page is displayed :  

** Stepper on step 2 (“Update options”)
** 3 toggles : “Deactivate non-native modules”, “Regenerate email templates” , “Disable all overrides”  with details about them under their name 
** CTA “Next” enabled
Click on the CTA “Next”. * “Back up your store” page is displayed :  

** Stepper on step 3 (“Backup”)
** Subtitle “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."
** Toggle : “Include images in your backup” on Yes status
** 2 CTAs : “Update without backup” and “Launch backup” (both available)
Click on the CTA “Launch backup”. Modal “Start backup?” is displayed : 
* Text : “Your files, database, and images will be backed up."
* 2 CTAs : “Cancel” and “Start backup”
Click on the CTA “Start Backup”. The “Backup” page is displayed :

 
* loading bar with the current process 
* details of the current process are listed
Wait until the end of the backup The title is modified : " Back up your store” : 
* The success alert “Backup completed” is displayed
* CTA “Download backup logs”
* CTA : “Start update”
Click on the CTA “Start update”. The modal “Start Update?” is displayed : 
* Text : “You are about to launch the update, do you want to continue?"
* 2 CTAs : “Cancel” and “{color:#0747A6}cutest rocket{color} Start Update " (both enabled)
Click on the CTA “{color:#0747a6}cutest rocket {color}Start update”. The page “Update” is displayed :
* Stepper on step 4 (“Update”)
* loading bar with the current process 
* details of the current process are listed
Wait until the end of the update. The page “Post-update checklist” is displayed : 
* Stepper on step 5 (“Post-update”)
* Success alert : “Your store has been updated to PrestaShop version 8.2.x”
* Subtitles : “Next step” and “Troubleshooting”
* Two links : “Download update logs” and “Module Manager”
* 2 CTAs : “Exit” and “Open developer documentation”
Click on the CTA “Exit”. Redirection to “[admin_folder]/index” (BO login page).
Log in with email and password set during installation. * Connection successful
* Dashboard displayed