Upgrading from 5.0.4 to 5.2.0 on Docker

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 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.