Skip to content

3. Update the app

At this point, you should have a composer.json file with the correct requirements. Run composer update to update the dependencies. 

composer update

If you want to first test how the update proceeds without actually updating any packages, you can try the command with the --dry-run switch:

composer update --dry-run

When updating from <2.2
Adding EzSystemsPlatformEEAssetsBundle


When upgrading from releases between (and including) v1.10 and v2.1 to v2.2 and higher, you need to disable EzSystemsPlatformEEAssetsBundle by removing:

new EzSystems\PlatformEEAssetsBundle\EzSystemsPlatformEEAssetsBundle(),

in app/AppKernel.php.

Updating from <2.5

Since v2.5 eZ Platform uses Webpack Encore for asset management. You need to install Node.js and Yarn to update to this version.

In v2.5 it is still possible to use Assetic, like in earlier versions. However, if you are using the latest Bootstrap version, scssphp will not compile correctly with Assetic. In this case, use Webpack Encore. See Importing assets from a bundle for more information.

Common errors

If you experienced issues during the update, please check Common errors section on the Composer about page.