# Upgrading from 5.1.1 to Mautic 6.x via command line

**URL:** <https://forum.mautic.org/t/upgrading-from-5-1-1-to-mautic-6-x-via-command-line/35673>\
**Category:** Mautic 6 Install/Upgrade Support\
**Created:** [May 15, 2025, 6:12pm UTC](https://forum.mautic.org/t/upgrading-from-5-1-1-to-mautic-6-x-via-command-line/35673 "2025-05-15T18:12:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![raramuridesign](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/raramuridesign/32/13226_2.png) [@raramuridesign](https://forum.mautic.org/u/raramuridesign)\
**Post date:** [May 20, 2025, 9:37am UTC](https://forum.mautic.org/t/upgrading-from-5-1-1-to-mautic-6-x-via-command-line/35673/3 "2025-05-20T09:37:32Z")

</div>

Try this

- increase memory, double it
- then if you have issues when checking the database fixes, read carefully what these are, as you might need to run different migrations.

Note this topic: [Issue with logging in to mautic 6.0 after upgrade from 5.2.5 - #8 by raramuridesign](https://forum.mautic.org/t/issue-with-logging-in-to-mautic-6-0-after-upgrade-from-5-2-5/35610/8)

Hope this helps  
M.

---

_[View the full topic](https://forum.mautic.org/t/upgrading-from-5-1-1-to-mautic-6-x-via-command-line/35673)._
