# Command \`doctrine:migrations:migrate\` exited with status code 1

**URL:** <https://forum.mautic.org/t/command-doctrinemigrate-exited-with-status-code-1/23390>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [March 30, 2022, 4:15pm UTC](https://forum.mautic.org/t/command-doctrinemigrate-exited-with-status-code-1/23390 "2022-03-30T16:15:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [March 30, 2022, 4:44pm UTC](https://forum.mautic.org/t/command-doctrinemigrate-exited-with-status-code-1/23390/2 "2022-03-30T16:44:09Z")

</div>

I wrote a post about migration problems, I think if you stick with the process described there you should be able to resolve the issues:

> [@MySQL error upgrading to 4.2](https://forum.mautic.org/t/mysql-error-upgrading-to-4-2/22867/6):
>
> Hi, I had to play around with migrations to get it from Mautic 3 to 4 a bit too, because in previous versions of Mautic I have not executed update process completely, while I cannot remember the specific error I have a strong suspicion that your update error also comes from the same category of problems. A general note on migrations in Mautic core: method isApplicable (or something very similar to that :)) is not really well implemented for all migrations thats why sometimes script ties to app…

---

_[View the full topic](https://forum.mautic.org/t/command-doctrinemigrate-exited-with-status-code-1/23390)._
