Upgrade Pimcore

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.
  • First, it is necessary to enable debug mode by editing installdir/apps/pimcore/htdocs//var/config/debug-mode.php file as below:

    "active" => TRUE,
  • Access the administration panel, click on “Tools -> Update” menu and select a version as it is shown in the image below:

    Pimcore upgrade

  • You will be prompted to run composer update. Follow these steps:

    • Set the memory_limit variable in your installdir/php/etc/php.ini file to 2048M. To know the total memory available, execute the command free -h. Modify the memory_limit value using the terminal:

      $ sudo nano installdir/php/etc/php.ini
    • Edit the memory_limit value. It’s recommended that you restore the default value after you upgrade Pimcore.

      memory_limit = 2048M
    • Execute composer update:

      $ sudo su daemon -s /bin/bash -- installdir/php/bin/composer update
Last modification April 8, 2020