# Upgrade from 4.4.13 to 5.2.6 cannot finish

**URL:** <https://forum.mautic.org/t/upgrade-from-4-4-13-to-5-2-6-cannot-finish/35860>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [June 13, 2025, 10:05am UTC](https://forum.mautic.org/t/upgrade-from-4-4-13-to-5-2-6-cannot-finish/35860 "2025-06-13T10:05:54Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![dimitriskr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dimitriskr/32/13367_2.png) [@dimitriskr](https://forum.mautic.org/u/dimitriskr)\
**Post date:** [June 16, 2025, 11:21am UTC](https://forum.mautic.org/t/upgrade-from-4-4-13-to-5-2-6-cannot-finish/35860/11 "2025-06-16T11:21:43Z")

</div>

I agree on the prefix removal. Or at least let the sql driver handle it so when you run  
`$schema->getTable('xxx')` and a prefix is configured, it would automatically get the `ma_xxx` table. I think this is how Drupal does it, when you use its Database API.

Moving on to more issues of the upgrade

> [@504 Gateway Timeout when login into mautic](https://forum.mautic.org/t/504-gateway-timeout-when-login-into-mautic/25513/7):
>
> Hello, I have a similar issue after upgrading to [5.2.6 from 4.4.13](https://forum.mautic.org/t/upgrade-from-4-4-13-to-5-2-6-cannot-finish/35860) My user works fine, but 2 of my colleagues that tried encountered the following: after login, the dashboards page returns 504 timeout Going to /s/config or whatever still returns 504 timeout After any page is loaded after some time, you can easily browse through the app. After a while, you get again 504 timeouts Repeat 3. Same amount of data (dashboard) in mautic v4 works fine.

For this topic scope, I only have the following yet to be answered

> [@Upgrade from 4.4.13 to 5.2.6 cannot finish](https://forum.mautic.org/t/upgrade-from-4-4-13-to-5-2-6-cannot-finish/35860/7):
>
> There are some migrations that are skipped, but still reported as “New” in doctrine:migration:status. Do I have to manually run them, see what’s the problem? [notice] Migrating up to Mautic\Migrations\Versionzz20230929183000 [notice] Migration Mautic\Migrations\Version20201026101117 skipped during Pre-Checks. Reason: "Schema includes this migration" [notice] Migration Mautic\Migrations\Version20221128145933 skipped during Pre-Checks. Reason: "Schema includes this migration" [notice] Table ma\_pl…

---

_[View the full topic](https://forum.mautic.org/t/upgrade-from-4-4-13-to-5-2-6-cannot-finish/35860)._
