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

**URL:** <https://forum.mautic.org/t/4-4-10-5-0-1-fails-because-symfony-path-is-not-fount-in-parameterloader-php/30475>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [January 12, 2024, 2:59pm UTC](https://forum.mautic.org/t/4-4-10-5-0-1-fails-because-symfony-path-is-not-fount-in-parameterloader-php/30475 "2024-01-12T14:59:16Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![peter\_k](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peter_k/32/511_2.png) [@peter\_k](https://forum.mautic.org/u/peter_k)\
**Post date:** [January 16, 2024, 11:09am UTC](https://forum.mautic.org/t/4-4-10-5-0-1-fails-because-symfony-path-is-not-fount-in-parameterloader-php/30475/10 "2024-01-16T11:09:04Z")

</div>

Thanks four your reply. The missing repositories were the issue. I managed to update 3 v4.4(9|10) instances.

Here’s my update process:

```sh
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
composer remove mautic/plugin-citrix mautic/theme-nature mautic/theme-mauve mautic/theme-coffee
composer require --no-update "mautic/core-lib":"^5.0"
composer require --no-update "mautic/grapes-js-builder-bundle":"^5.0" "mautic/plugin-clearbit":"^5.0" "mautic/plugin-cloudstorage":"^5.0" "mautic/plugin-crm":"^5.0" "mautic/plugin-emailmarketing":"^5.0" "mautic/plugin-focus":"^5.0" "mautic/plugin-fullcontact":"^5.0" "mautic/plugin-gmail":"^5.0" "mautic/plugin-tagmanager":"^5.0" "mautic/plugin-outlook":"^5.0" "mautic/plugin-social":"^5.0" "mautic/plugin-tagmanager":"^5.0" "mautic/plugin-zapier":"^5.0"
composer require --no-update "mautic/theme-aurora":"^5.0" "mautic/theme-blank":"^5.0" "mautic/theme-brienz":"^5.0" "mautic/theme-cards":"^5.0" "mautic/theme-confirmme":"^5.0" "mautic/theme-fresh-center":"^5.0" "mautic/theme-fresh-fixed":"^5.0" "mautic/theme-fresh-left":"^5.0" "mautic/theme-fresh-wide":"^5.0" "mautic/theme-goldstar":"^5.0" "mautic/theme-neopolitan":"^5.0" "mautic/theme-oxygen":"^5.0" "mautic/theme-paprika":"^5.0" "mautic/theme-skyline":"^5.0" "mautic/theme-sparse":"^5.0" "mautic/theme-sunday":"^5.0" "mautic/theme-vibrant":"^5.0" "mautic/theme-trulypersonal":"^5.0"
composer update --with-all-dependencies
php bin/console cache:clear
php bin/console mautic:update:apply --finish
php bin/console doctrine:migration:migrate --no-interaction
php bin/console cache:clear

```

# Gotchas / Issues

- Mautic deleted `MTCDIR/docroot/app/config/local.php`
  - I guess some script is supposed to move it from `MTCDIR/docroot/app/config/local.php` to `MTCDIR/config/local.php`, but this doesn’t happen.
  - Solution: back it up and add it before running `mautic:update:apply --finish`

- The composer post-update scripts don’t get added.
  - Solution: Add this to your `composer.json`

```auto
  "scripts": {
    "post-install-cmd": [
      "@npm-ci",
      "@npx-patch-package",
      "@generate-assets"
    ],
    "post-update-cmd": [
      "@npm-ci",
      "@npx-patch-package",
      "@generate-assets"
    ],
    "npm-ci": "npm ci --prefer-offline --no-audit",
    "npx-patch-package": "npx patch-package",
    "generate-assets": "php bin/console mautic:assets:generate"
  },

```

- Run `npm install` afterwards

I expect, there could be/are still things missing—I just didn’t run into them, yet.

Thanks for your help!

---

_[View the full topic](https://forum.mautic.org/t/4-4-10-5-0-1-fails-because-symfony-path-is-not-fount-in-parameterloader-php/30475)._
