# Migration from 5.0.3 to 5.0.4 doesn't work

**URL:** <https://forum.mautic.org/t/migration-from-5-0-3-to-5-0-4-doesnt-work/32018>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [May 9, 2024, 7:42am UTC](https://forum.mautic.org/t/migration-from-5-0-3-to-5-0-4-doesnt-work/32018 "2024-05-09T07:42:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![myon](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@myon](https://forum.mautic.org/u/myon)\
**Post date:** [May 9, 2024, 7:42am UTC](https://forum.mautic.org/t/migration-from-5-0-3-to-5-0-4-doesnt-work/32018/1 "2024-05-09T07:42:26Z")

</div>

**Your software**  
My Mautic version is: 5.03  
My PHP version is: 8.1.27  
My Database type and version is: mysql 5.7.32-log

**Your problem**  
My problem is: Migration from 5.0.3 to 5.0.4 doesn’t work

Updating at the command line:  
php bin/console mautic:update:find  
php bin/console mautic:update:apply  
php bin/console mautic:update:apply --finish

These errors are showing in the log:  
When doing “php bin/console mautic:update:apply --finish”, I get the following error messages:

```auto
Step 1 [>---------------------------] Migrating database schema...
An error occurred while updating the database. Check log for more details.

```

Steps I have tried to fix the problem:  
Open a ticket and follow the suggested fix here: [Migration from 5.0.3 to 5.0.4 doesn't work · Issue #13651 · mautic/mautic · GitHub](https://github.com/mautic/mautic/issues/13651)
