Upgrade Pimcore
To upgrade Pimcore, follow the steps below:
-
First, enable the debug mode by following these steps.
-
Set the memory_limit variable in your /opt/bitnami/php/etc/php.ini file to 2048M. To know the total memory available, execute the command free -h. Modify the memory_limit value:
$ sudo nano /opt/bitnami/php/etc/php.ini
Edit the memory_limit value. It is recommended that you restore the default value after you upgrade Pimcore.
memory_limit = 2048M
-
Navigate to the /opt/bitnami/pimcore Pimcore installation directory.
-
Execute composer update:
$ sudo su daemon -s /opt/bitnami/php/bin/php -c /opt/bitnami/php/bin/composer update
-
Once the upgrade has completed, revert the change to the memory_limit variable in your /opt/bitnami/php/etc/php.ini file to the previous value, and disable the debug mode.