Stalled after migrating to MariaDB


I ran the command to migrate to MariaDB and it appears stuck at Installing MariaDB, please wait … It was stuck for a good 30 minutes before I had to give up and restore a backup of the digital ocean droplet. Here’s a zip of the log (site db names have been changed)

Any ideas?



From logs it look like you need to first update all system packages, you can use following command to upgrade system:

apt-get update
apt-get upgrade
apt-get dist-upgrade

After that you can migrate to MariaDB. I hope this will help you.


Thanks I ran those commands, then ran ee stack restart and I had a 502 gateway error on all my sties, I rebooted the VM and still nothing, so I attempted to run the migration and while the migration completed my sites where still gone. While running the command you posted I chose to keep all defaults (default php.ini etc)


Good news, re-ran the update a 2nd time and it went through flawlessly Thanks!


Hi @coreyallen

Glad to know your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: