# 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:** 1\
**Showing post:** 7

<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.

---

_[View the full topic](https://forum.mautic.org/t/how-to-update-5-to-5-0-1-via-composer/30430)._
