# How to update 5 to 5.0.1 via composer?

**URL:** <https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [January 10, 2024, 1:06pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430 "2024-01-10T13:06:52Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 10, 2024, 1:06pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/1 "2024-01-10T13:06:52Z")

</div>

Hej guys,

I did a new installation of Mautic 5 via Composer.

Now Mautic shows an update to 5.0.1. How do I update over composer?

The documentation is missing this point so far:

[https://docs.mautic.org/en/5.x/getting\_started/how\_to\_update\_mautic.html#](https://docs.mautic.org/en/5.x/getting_started/how_to_update_mautic.html#)

It’s not possible to do it over webinterface or with php bin/console mautic:update:apply

Thanks for any help

Tim

---

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 10, 2024, 3:00pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/3 "2024-01-10T15:00:13Z")

</div>

OK I tried now composer update & upgrade and also composer install, but the version number in the webinterface still shows 5.0.0.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 10, 2024, 3:06pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/4 "2024-01-10T15:06:43Z")

</div>

Hi there, we’ve just had the PRs for bumping the recommended project version approved, so should be available presently!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [January 10, 2024, 3:08pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/5 "2024-01-10T15:08:24Z")

</div>

> [@timscha](#):
>
> The documentation is missing this point so far:
> 
> [https://docs.mautic.org/en/5.x/getting\_started/how\_to\_update\_mautic.html#](https://docs.mautic.org/en/5.x/getting_started/how_to_update_mautic.html#)

[https://docs.mautic.org/en/5.x/getting\_started/how\_to\_install\_mautic.html#updating-mautic-core](https://docs.mautic.org/en/5.x/getting_started/how_to_install_mautic.html#updating-mautic-core) the docs are here, we probs need to separate it out into a separate section in the updating page for Composer installs. Would you be up for helping with that?

I think @mollux is also looking at doing some more docs on composer-based installs but not sure if it’s in this area.

---

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 10, 2024, 4:06pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/6 "2024-01-10T16:06:29Z")

</div>

Hi @silavapi - Thanks for helping!

composer update mautic/core-lib --with-dependencies - was running without problems.

But when I tried this “bin/console mautic:update:apply --finish”  
I get this message:

“You have Composer updates enabled. This means that you can only update Mautic through the ‘composer update’ command. Read more in the documentation: [How to switch to Composer — Mautic Documentation 0.1 documentation](https://mau.tc/switch-to-composer)”

When running bin/console doctrine:migration:migrate --no-interaction - I go these errors:

```auto
[error] Migration Mautic\Migrations\Version20230621074925 failed during Execution. Error: "An exception occurred while executing a query: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists"

In ExceptionConverter.php line 45:

  An exception occurred while executing a query: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists

In Exception.php line 28:

  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists

In Connection.php line 71:

  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists

doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--all-or-nothing [ALL-OR-NOTHING]] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--] [<version>]

```

When running bin/console doctrine:schema:update --no-interaction --force I receive these:

```auto
mautic@services:~/public$ bin/console doctrine:schema:update --no-interaction --force

 [WARNING] Not passing the "--complete" option to "doctrine:schema:update" is deprecated and will not be supported when
           using doctrine/dbal 4

 Updating database schema...

In ExceptionConverter.php line 117:

  An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `IDX_1AE3441319EB6921`; check that it exists

In Exception.php line 28:

  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `IDX_1AE3441319EB6921`; check that it exists

In Connection.php line 33:

  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `IDX_1AE3441319EB6921`; check that it exists

doctrine:schema:update [--em EM] [--complete] [--dump-sql] [-f|--force]

```

Besides that, I am happy to help to seperate the documentation. Haven’t done something like that before, so happy to get a little help first how to help you/do that.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 10, 2024, 4:27pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/7 "2024-01-10T16:27:37Z")

</div>

There is an open GH issue for this:

> <https://github.com/mautic/mautic/issues/12993>
>
> \### Mautic Version
> 
> 5.0.x series
> 
> \### PHP version
> 
> 8.1.26
> 
> \### What browsers are… you seeing the problem on?
> 
> Not relevant
> 
> \### What happened?
> 
> Unable to pass DB migrations
> 
> \### How can we reproduce this issue?
> 
> Step 1: php bin/console doctrine:migration:migrate
> 
> \### Relevant log output
> 
> \`\`\`shell
> root@ma:/var/www/html/mautic# php bin/console doctrine:migration:migrate
> 
> WARNING! You are about to execute a migration in database "uhlmautic" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) \[yes\]:
> \> yes
> 
> \[notice\] Migrating up to Mautic\\Migrations\\Version20230627140512
> \[notice\] Table contact\_export\_scheduler already exists
> \[notice\] Migration Mautic\\Migrations\\Version20220429091934 skipped during Pre-Checks. Reason: "Schema includes this migration"
> \[notice\] Migration Mautic\\Migrations\\Version20220722074516 skipped during Pre-Checks. Reason: "The deduplicate column has already been added to the notifications table."
> \[notice\] Migration Mautic\\Migrations\\Version20221014061125 skipped during Pre-Checks. Reason: "Index webhook\_id\_date\_added already exists"
> \[notice\] Migration Mautic\\Migrations\\Version20221014081742 skipped during Pre-Checks. Reason: "Schema includes this migration"
> \[notice\] Migration Mautic\\Migrations\\Version20221128145933 skipped during Pre-Checks. Reason: "Schema includes this migration"
> \[notice\] Migration Mautic\\Migrations\\Version20230131133732 skipped during Pre-Checks. Reason: "The last\_built\_time column has already been added to the lead\_lists table."
> \[notice\] Column asset\_downloads.utm\_campaign already exists
> \[notice\] Column asset\_downloads.utm\_content already exists
> \[notice\] Column asset\_downloads.utm\_medium already exists
> \[notice\] Column asset\_downloads.utm\_source already exists
> \[notice\] Column asset\_downloads.utm\_term already exists
> \[notice\] Migration Mautic\\Migrations\\Version20230321133733 skipped during Pre-Checks. Reason: "Schema includes this migration"
> \[notice\] Table plugin\_crm\_pipedrive\_owners was already removed
> \[notice\] Migration Mautic\\Migrations\\Version20230519154448 skipped during Pre-Checks. Reason: "Schema includes this migration"
> \[notice\] Migration is not required.
> \[notice\] Migration Mautic\\Migrations\\Version20230606111852 skipped during Pre-Checks. Reason: "Schema includes this migration"
> \[notice\] Table point\_groups already exists
> \[notice\] Table point\_group\_contact\_score already exists
> \[notice\] Column points.group\_id already exists
> \[notice\] Column point\_triggers.group\_id already exists
> \[notice\] Column lead\_points\_change\_log.group\_id already exists
> \[error\] Migration Mautic\\Migrations\\Version20230621074925 failed during Execution. Error: "An exception occurred while executing a query: SQLSTATE\[42S01\]: Base table or view already exists: 1050 Table 'point\_groups' already exists"
> 
> In ExceptionConverter.php line 45:
>                                                                                                                                                
> An exception occurred while executing a query: SQLSTATE\[42S01\]: Base table or view already exists: 1050 Table 'point\_groups' already exists  
>                                                                                                                                                
> 
> In Exception.php line 28:
>                                                                                                 
> SQLSTATE\[42S01\]: Base table or view already exists: 1050 Table 'point\_groups' already exists  
>                                                                                                 
> 
> In Connection.php line 71:
>                                                                                                 
> SQLSTATE\[42S01\]: Base table or view already exists: 1050 Table 'point\_groups' already exists  
>                                                                                                 
> 
> doctrine:migrations:migrate \[--write-sql \[WRITE-SQL\]\] \[--dry-run\] \[--query-time\] \[--allow-no-migration\] \[--all-or-nothing \[ALL-OR-NOTHING\]\] \[--configuration CONFIGURATION\] \[--em EM\] \[--conn CONN\] \[--\] \[\<version\>\]
> 
> root@ma:/var/www/html/mautic#
> \`\`\`
> 
> 
> \### Code of Conduct
> 
> \- \[X\] I confirm that I have read and agree to follow this project's Code of Conduct

Please follow the discussion and join in with new inputs.

---

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 17, 2024, 8:17am UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/8 "2024-01-17T08:17:42Z")

</div>

So 5.0.2 got released, I did the same steps again:

The DB upgrade still breaks - Or am I just to early?!

```auto
mautic@services:~/public$ bin/console doctrine:migration:migrate --no-interaction
[2024-01-17 08:14:40] [notice] Migrating up to Mautic\Migrations\Versionzz20230929183000
[2024-01-17 08:14:40] [notice] Table contact_export_scheduler already exists
[2024-01-17 08:14:40] [notice] Migration Mautic\Migrations\Version20220429091934 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20220722074516 skipped during Pre-Checks. Reason: "The deduplicate column has already been added to the notifications table."
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20221014061125 skipped during Pre-Checks. Reason: "Index webhook_id_date_added already exists"
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20221014081742 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20221128145933 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20230131133732 skipped during Pre-Checks. Reason: "The last_built_time column has already been added to the lead_lists table."
[2024-01-17 08:14:41] [notice] Column asset_downloads.utm_campaign already exists
[2024-01-17 08:14:41] [notice] Column asset_downloads.utm_content already exists
[2024-01-17 08:14:41] [notice] Column asset_downloads.utm_medium already exists
[2024-01-17 08:14:41] [notice] Column asset_downloads.utm_source already exists
[2024-01-17 08:14:41] [notice] Column asset_downloads.utm_term already exists
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20230321133733 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20230424083829 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 08:14:41] [notice] Table plugin_crm_pipedrive_owners was already removed
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20230519154448 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 08:14:41] [notice] Migration is not required.
[2024-01-17 08:14:41] [notice] Migration Mautic\Migrations\Version20230606111852 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 08:14:41] [notice] Table point_groups already exists
[2024-01-17 08:14:41] [notice] Table point_group_contact_score already exists
[2024-01-17 08:14:41] [notice] Column points.group_id already exists
[2024-01-17 08:14:41] [notice] Column point_triggers.group_id already exists
[2024-01-17 08:14:41] [notice] Column lead_points_change_log.group_id already exists
[error] Migration Mautic\Migrations\Version20230621074925 failed during Execution. Error: "An exception occurred while executing a query: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists"

In ExceptionConverter.php line 45:

  An exception occurred while executing a query: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists

In Exception.php line 28:

  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists

In Connection.php line 71:

  SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'point_groups' already exists

doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--all-or-nothing [ALL-OR-NOTHING]] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--] [<version>]

```

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 17, 2024, 9:20am UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/9 "2024-01-17T09:20:40Z")

</div>

@patryk.gruszka can you take a look?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 17, 2024, 9:24am UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/10 "2024-01-17T09:24:27Z")

</div>

One thing to try is doing

```auto
bin/console doctrine:migrations:execute 'Mautic\Migrations\Version20230621074925' --down

```

And then

```auto
bin/console doctrine:migrations:execute 'Mautic\Migrations\Version20230621074925' --up

```

---

<div class="post-metadata">

**Author:** ![patryk.gruszka](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/patryk.gruszka/32/9813_2.png) [@patryk.gruszka](https://forum.mautic.org/u/patryk.gruszka)\
**Post date:** [January 17, 2024, 9:54am UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/11 "2024-01-17T09:54:11Z")

</div>

This should help if the migration was partially executed.

---

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 17, 2024, 11:19am UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/12 "2024-01-17T11:19:11Z")

</div>

Thank you guys, I really appreciate your fast responses. I owe you something!

The queries mentioned from @escopecz worked:

```auto
mautic@services:~/public$ bin/console doctrine:migrations:execute 'Mautic\Migrations\Version20230621074925' --down

 WARNING! You are about to execute a migration in database "mautic" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]:
 > yes

[notice] Executing Mautic\Migrations\Version20230621074925 down
[notice] finished in 1459.7ms, used 46.5M memory, 1 migrations executed, 10 sql queries

 [OK] Successfully migrated version(s): Mautic\Migrations\Version20230621074925: [DOWN]

mautic@services:~/public$ bin/console doctrine:migrations:execute 'Mautic\Migrations\Version20230621074925' --up

 WARNING! You are about to execute a migration in database "mautic" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]:
 > yes

[notice] Executing Mautic\Migrations\Version20230621074925 up
[notice] finished in 2579.1ms, used 52.5M memory, 1 migrations executed, 10 sql queries

 [OK] Successfully migrated version(s): Mautic\Migrations\Version20230621074925: [UP]

```

But the interface still shows 5.0.0 and also offers the update to 5.0.2.  
I did cleared the cache afterwards.

Afterwards I tried the whole proccess again:

```auto
mautic@services:~/public$ bin/console doctrine:migration:migrate --no-interaction
[2024-01-17 11:17:02] [notice] Migrating up to Mautic\Migrations\Versionzz20230929183000
[2024-01-17 11:17:02] [notice] Table contact_export_scheduler already exists
[2024-01-17 11:17:02] [notice] Migration Mautic\Migrations\Version20220429091934 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 11:17:02] [notice] Migration Mautic\Migrations\Version20220722074516 skipped during Pre-Checks. Reason: "The deduplicate column has already been added to the notifications table."
[2024-01-17 11:17:02] [notice] Migration Mautic\Migrations\Version20221014061125 skipped during Pre-Checks. Reason: "Index webhook_id_date_added already exists"
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20221014081742 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20221128145933 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20230131133732 skipped during Pre-Checks. Reason: "The last_built_time column has already been added to the lead_lists table."
[2024-01-17 11:17:03] [notice] Column asset_downloads.utm_campaign already exists
[2024-01-17 11:17:03] [notice] Column asset_downloads.utm_content already exists
[2024-01-17 11:17:03] [notice] Column asset_downloads.utm_medium already exists
[2024-01-17 11:17:03] [notice] Column asset_downloads.utm_source already exists
[2024-01-17 11:17:03] [notice] Column asset_downloads.utm_term already exists
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20230321133733 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20230424083829 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 11:17:03] [notice] Table plugin_crm_pipedrive_owners was already removed
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20230519154448 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 11:17:03] [notice] Migration is not required.
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20230606111852 skipped during Pre-Checks. Reason: "Schema includes this migration"
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Version20230627140512 skipped during Pre-Checks. Reason: "The deprecated %kernel.root_dir% is unused. Your local.php file is just fine. Skipping the migration."
[2024-01-17 11:17:03] [notice] Migration Mautic\Migrations\Versionzz20230929183000 skipped during Pre-Checks. Reason: "There are no local config files to migrate. Skipping the migration."
[2024-01-17 11:17:03] [notice] finished in 855.9ms, used 56.5M memory, 12 migrations executed, 0 sql queries
[2024-01-17 11:17:03]
[2024-01-17 11:17:03]
[2024-01-17 11:17:03] [OK] Successfully migrated to version: Mautic\Migrations\Versionzz20230929183000
[2024-01-17 11:17:03]
[2024-01-17 11:17:03]
[2024-01-17 11:17:03]

```

That looked good, than it things break again:

```auto
mautic@services:~/public$ bin/console doctrine:schema:update --no-interaction --force

 [WARNING] Not passing the "--complete" option to "doctrine:schema:update" is deprecated and will not be supported when
           using doctrine/dbal 4

 Updating database schema...

In ExceptionConverter.php line 117:

  An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `IDX_1AE3441319EB6921`; c
  heck that it exists

In Exception.php line 28:

  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `IDX_1AE3441319EB6921`; check that it exists

In Connection.php line 33:

  SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `IDX_1AE3441319EB6921`; check that it exists

doctrine:schema:update [--em EM] [--complete] [--dump-sql] [-f|--force]

```

So, my instance is stil on 5.0.0.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 17, 2024, 11:41am UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/13 "2024-01-17T11:41:24Z")

</div>

I can’t tell which migration caused that issue. Please be gentle with the `--force` option to any command.

The command only handles migrations. Not upgrading to new versions of Mautic. Since you installed Mautic with Composer, please test these steps to update to 5.0.2 and comment if they worked for you:

> [@4.4.10 → 5.0.1 fails because Symfony Path is not fount in ParameterLoader.php](https://forum.mautic.org/t/4-4-10-5-0-1-fails-because-symfony-path-is-not-fount-in-parameterloader-php/30475/7):
>
> @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.j…

---

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 17, 2024, 12:01pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/14 "2024-01-17T12:01:14Z")

</div>

Thanks @escopecz - I only used the force option as it was mentioned in the official documentation.  
I followed the steps, the update went through but still even after I cleared the cache it shows 5.0.0.

I think I will just reinstall it and will not use composer for now.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 17, 2024, 1:20pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/15 "2024-01-17T13:20:08Z")

</div>

Do what you must. It’d be great if you could help @mollux testing the steps for the docs in the thread I posted previously. The non-composer installations have limited features and it will continue to be discouraged.

Mattias also works on a docker compose installation if that’s what you’d like to help to test.

But I understand that if you need a working Mautic installation then manual installation is probably what you need at this point.

---

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 17, 2024, 2:00pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/16 "2024-01-17T14:00:48Z")

</div>

I tried the steps, the run without issues, but my installation still shows 5.0.0. I even deleted the browser cache and used another one for double checking. So i don’t know what else to try right now. But if you have further ideas I am happy to help you guys testing them.

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 17, 2024, 2:17pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/17 "2024-01-17T14:17:51Z")

</div>

Hit the bell icon on the [4.4.10 → 5.0.1 fails because Symfony Path is not fount in ParameterLoader.php - #7 by mollux](https://forum.mautic.org/t/4-4-10-5-0-1-fails-because-symfony-path-is-not-fount-in-parameterloader-php/30475/7) thread. That way you’ll be notified once the official docs are sorted.

---

<div class="post-metadata">

**Author:** ![timscha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/timscha/32/11186_2.png) [@timscha](https://forum.mautic.org/u/timscha)\
**Post date:** [January 18, 2024, 6:05am UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/18 "2024-01-18T06:05:07Z")

</div>

That here was the solution!

> [@4.4.10 → 5.0.1 fails because Symfony Path is not fount in ParameterLoader.php](https://forum.mautic.org/t/4-4-10-5-0-1-fails-because-symfony-path-is-not-fount-in-parameterloader-php/30475/10):
>
> 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: 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-…

I also had missing repos. Thamks @escopecz for your patience and help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [January 19, 2024, 6:05pm UTC](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430/19 "2024-01-19T18:05:45Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
