4.4.10 → 5.0.1 fails because Symfony Path is not fount in ParameterLoader.php

@peter_k can you try following steps?
If they work, we will add them to the Mautic update docs.

  • create a backup of the composer.json file (or use your VCS system)
  • execute following commands to update the dependencies in your project.
# remove obsolete themes and plugins
composer remove mautic/theme-nature mautic/theme-mauve mautic/theme-coffee mautic/plugin-citrix

# replace the requirements of all mautic specified dependencies
sed -i -E 's/(    "mautic\/.*": ")4\.4\.10"/\1^5.0"/' composer.json

# update the overwritten repositories
composer config repositories.0 git https://github.com/mautic/FOSOAuthServerBundle.git
composer config repositories.1 git https://github.com/mautic/SpBundle.git
composer config repositories.2 git https://github.com/mautic/SymfonyBridgeBundle.git
  • review the changes in the composer.json and adjust if needed
  • run composer update --update-with-all-dependencies to run the update
1 Like