• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Downgrade from mariadb 10.11 to 10.9

onebronsup

New Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
Version 18.0.56 Update #1
Hello.
We have an ubuntu server running Mariadb 10.11 and we would like to know if there is a safe way to downgrade to 10.9. The server is not in production yet so there is no databases in it. We are trying to avoid reinstall because we have made some modifications. The main issue is that we tryed to run Mariadb 10.9 in a docker container to serve our needs, the issue is that the main app that has to use that database is also running in a docker container in the same server and we are not able to find a way to make those two containers to communicate. Every help would ne appreciated!!!
 
You cannot downgrade directly, because the schema of the database would need to be downgraded, too, and there is no command for that. You could try to dump your databases, then remove the database server, install an earlier version and then import the dumps again. But it is somewhat risky that this works.
 
Thank you for your reply!!! Basically the only dump we will have to import after that is the psa database because there is no other database yet. So is there a guide of commands on how to achieve this?
 
The steps would be to completely remove the database server from the operating system. I have never tried that with a running Plesk, though. After putting an older MariaDB server onto the system and importing the psa database, you'll also need to run plesk sbin packagemng -sdf to tell Plesk the new package version. I do not really know what will happen afterwards. It could be that Plesk won't accept a "downgrade" of the version. If it was my system, I'd test it on a test setup before trying the same on a production server.
 
Hi @onebronsup,

Instead of attempting to downgrade the database server, I would suggest trying to get the docker instances working instead. It's not really that hard per say, you just need to make sure firewall rules are configured properly and making sure your docker settings are correct.

And, tbh, the way Plesk implicates the docker user interface is kinda meh that I'm using portainer instead (I have a main portainer server running on my home lab server with a mini agent on my web server that's running plesk so I have access that way). You could also just SSH into the server and run docker commands directly and even run docker compose.
 
Thank you for your answers. We tryied in a test server the solution Peter suggest but it didn't went well so we tried to make docker container work and talk each and finnaly we did it just allowing in - out traffic in Plesk Firewall for the subnet of the network that both containers are. We also use portainer and we have tryied a lot of configurations but we didn't think that it could be Plesk Firewall as containers where reachable from outside... Thank you again!!!
 
Back
Top