How to apply an Onboarder patch - Enterprise Edition - Flexibility Cloud offer¶
In the following example, Akeneo Onboarder version 2.4.x has just been released and we are using an Akeneo PIM version 3.0.x.
Using the exact patch version will avoid any local composer cache issue.
In your enterprise standard project, the composer.json will reference onboarder bundle repository.
To upgrade, please change the composer.json to:
{
...
"akeneo/pim-onboarder": "^2.4",
...
}
Run the composer update command:
composer --prefer-dist update
You have to check whether the latest composer.json is different from your own. 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 2.4.x version has been fetched, you can also check it by using the following command:
composer licenses
Then clean the cache, re-install assets and warmup the cache:
partners_clear_cache
bin/console --env=prod pim:installer:assets
yarn run webpack
Please clear your browser cache before testing.
Note
We set any other dependencies to their exact patch versions to avoid compatibility issues.
Note
If you get a 500 error after upgrading and clear cache isn’t working try to clear the apc cache with a php script or restart Apache/Web server.
After that you can relaunch fpm to avoid generating outdated cache:
partners_clear_cache
Note
The partners_clear_cache
command is only available in Akeneo Cloud Offer. You can find more commands in our Partners page.
Found a typo or a hole in the documentation and feel like contributing?
Join us on Github!