# Upgrading from 5.0.4 to 5.2.0 on Docker

**URL:** <https://forum.mautic.org/t/upgrading-from-5-0-4-to-5-2-0-on-docker/34291>\
**Category:** Product Support\
**Created:** [December 3, 2024, 10:14am UTC](https://forum.mautic.org/t/upgrading-from-5-0-4-to-5-2-0-on-docker/34291 "2024-12-03T10:14:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mchojrin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mchojrin/32/10159_2.png) [@mchojrin](https://forum.mautic.org/u/mchojrin)\
**Post date:** [January 16, 2025, 5:31pm UTC](https://forum.mautic.org/t/upgrading-from-5-0-4-to-5-2-0-on-docker/34291/4 "2025-01-16T17:31:04Z")

</div>

A little update on my upgrade adventure.

I noticed my server crashed a few times after the upgrade and I couldn’t figure out what was going on.

I installed a fresh new DO droplet and copied everything from the old one.

Anyway, after going back and forth a couple of times I noticed the CPU and memory were spiking at some points.

My theory is it is due to the cronjobs but I’m not 100% on that yet…

I’ve been looking at [Mautic worker + cron interaction - #4 by marcus42](https://forum.mautic.org/t/mautic-worker-cron-interaction/34508/4) and trying the flock workaround… let’s see how it goes.

**Update** :

Apparently the issue was not related to Mautic but to a WordPress site I have running in the same server. I installed php8.3 instead of 8.2 as I had in the previous server and that seems to have made the difference. I downgraded to 8.2 and things seem to be working fine.

---

_[View the full topic](https://forum.mautic.org/t/upgrading-from-5-0-4-to-5-2-0-on-docker/34291)._
