How to apply a patch - Community Edition¶
Run the composer update command:
composer --prefer-dist update
Be aware that your composer.json won’t be updated and some dependencies might be missing or coming from an outdated version.
You have to make sure you have the latest version composer.json. In this case you should backup your current composer.json and download the newest one beforehand.
Double check in the output of this command that the latest version has been fetched, you can also check it by using the following command:
Then clean the cache, re-install assets and warmup the cache:
Before launching the following commands, remember to stop the daemons to avoid generating outdated cache.
service php8.0-fpm restart
rm -rf var/cache/* ./public/bundles/* ./public/css/* ./public/js/*
yarn run less
yarn run webpack
Please clear your browser’s cache before testing.
We set any other dependencies to their exact patch versions to avoid compatibility issues.
If you get a 500 error after upgrading and clear cache isn’t working, try clearing the apc cache with a PHP script or restart the Apache/Web server.
You have to make sure you have the latest version of composer.json. If this isn’t the case, you should backup your current composer.json and download the newest one before updating.
You need to get an archive containing Akeneo PIM and its PHP dependencies: https://download.akeneo.com/pim-community-standard-v6.0-latest-icecat.tar.gz
You can then copy the composer.json file to your pim installation.
Found a typo or a hole in the documentation and feel like contributing?
Join us on Github!