Upgrade PrestaShop

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

It is strongly recommended to create a backup before starting the update process. If you have important data, create and try to restore a backup to ensure that everything works properly.

You can upgrade PrestaShop using the “1-Click Upgrade” module. To do so, follow these steps:

  • Modify the owner of the htdocs folder if the stack was installed as the root user:

      $ sudo chown -R daemon:daemon installdir/apps/prestashop/htdocs
  • If your PrestaShop version is older than 1.6, remove the .htaccess file in the htdocs folder:

      $ cd installdir/apps/prestashop/htdocs
      $ sudo find -name .htaccess -delete
  • Access your Prestashop administration console using your browser. Navigate to the “Modules -> Modules & Services” menu and install the “1-Click Upgrade” module.

  • Once installed, click the “Update It” button for the “1-Click Upgrade” module. This brings up the checklist for performing the upgrade.

  • You should see a single red X on the list. This is because the site is not yet in Maintenance Mode. Click the button to set it to Maintenance Mode.

  • Click the “Upgrade PrestaShop Now!” link and wait until the upgrade process is finished.

  • Access the administration console again, navigate to the “Preferences -> Maintenance” menu and “Enable” your shop.

  • Check that your site is working correctly.

  • Modify the owner of the htdocs folder as below if the stack was installed as the root user:

      $ sudo chown -R root:daemon installdir/apps/prestashop/htdocs
Last modification August 31, 2018