# Upgrade Mautic 5.2.3 (mautic/mautic:5.2.3-apache) in a docker container to Mautic 6

**URL:** <https://forum.mautic.org/t/upgrade-mautic-5-2-3-mautic-mautic-5-2-3-apache-in-a-docker-container-to-mautic-6/35651>\
**Category:** Mautic 6 Install/Upgrade Support\
**Created:** [May 11, 2025, 3:22pm UTC](https://forum.mautic.org/t/upgrade-mautic-5-2-3-mautic-mautic-5-2-3-apache-in-a-docker-container-to-mautic-6/35651 "2025-05-11T15:22:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![svendemey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/svendemey/32/14003_2.png) [@svendemey](https://forum.mautic.org/u/svendemey)\
**Post date:** [May 11, 2025, 3:22pm UTC](https://forum.mautic.org/t/upgrade-mautic-5-2-3-mautic-mautic-5-2-3-apache-in-a-docker-container-to-mautic-6/35651/1 "2025-05-11T15:22:17Z")

</div>

Hello,

I’m currently searching for a safe procedure to upgrade my Mautic installation to the new version.

Previous attempts to load newer images (5.2.4+) always resulted in corrupted databases and backup restores. The Docker configuration exists of 4 separate containers (mautic\_web, mautic\_worker, mautic\_cron and db) running apache.

Since all containers are interconnected, including health checks, it’s not just a question of conserving the volume directories and pulling a newer image. Until now I’ve been unable to find a proper explanation on how to upgrade.

Is there someone accustomed with the Docker configurations? I really could use a helping hand here… With more than 3.300 contacts alone I really want to prevent losing everything…

---

<div class="post-metadata">

**Author:** ![svendemey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/svendemey/32/14003_2.png) [@svendemey](https://forum.mautic.org/u/svendemey)\
**Post date:** [May 18, 2025, 11:30am UTC](https://forum.mautic.org/t/upgrade-mautic-5-2-3-mautic-mautic-5-2-3-apache-in-a-docker-container-to-mautic-6/35651/2 "2025-05-18T11:30:32Z")

</div>

I’ve installed Mautic outside Docker natively on the server. This post can be closed.
