Wordpress install on subserver not working because of missing MariaDB

My impression of your situation (based on all of your earlier comments about how you installed and what you installed) was that you had a random and unpredictable system based on following random guides on the internet, which we can’t possibly support.

At this point, I can’t keep up with this thread. It’s too chaotic.

Is mariadb running?

systemctl status mariadb

If so, do you have the option to enable it for Virtualmin in Features and Plugins? (It should have been enabled by default… This leads me to believe your installation is maybe not as pristine as suggested, but it can still be fixed.)

You cannot run the install script again on an already installed system. It is for installing.

Your repo paths may be wrong, which would mean you aren’t getting updates to Virtualmin and Webmin and the like. If you have 7.5 of Virtualmin and 2.013 of Webmin, this is not the case, and you don’t need to change anything.

It is chaotic because of the other responder creating chaos. People like [jimr1] just want to put down others and not look at the full picture.

I really simply installed webmin using wget https://github.com/webmin/webmin/releases/download/2.000/webmin_2.000_all.deb

Then I installed Virtualmin sudo bash virtualmin-install-pre-release.sh

both are done on a fresh OS 22.04.

Currently systemctl status mariadb shows it as active and running without issues.

I have an AWS account. You literally pay by the minute. Spin up an instance and do a clean install. (Look at the Light Sail Instances ) Clean OS and use the VM official script. See if you can migrate what you have. If yes, then do so. Wipe the old machine and start over. Migrate back. Kill the AWS instance so the charges stop.

You really need to be confident your system is what it should be. This is probably the quickest path back to peace of mind that you’ll get. The fact Maria DB wasn’t installed and working is a big red flag. You won’t know what else might be wrong until…

Deep breath. You’re not dead in the water and it will only take a few hours more to get to where you need to be.

thanks for your response. I can do that if needed but according to Joe above I have the latest version of Virtualmin and Webmin running and that should be correct. This other guy just created a lot of confusion and time waste on my thread taking focus away from the issue at hand. I believe I did use the VM official script just the pre-release version.

You didn’t answer my other question:

Sorry, Missed that, I just saw it in features and plugins and clicked the blue check.

Now it is giving me a DNS issue when I click save because I am using cloudflare for my DNS settings and not DNS domain but it will not let me turn off DNS domain in Features and plugins.

Erased the DNS zones causing me not to be able to save and now mariadb is working and available in virtualmin.

If the original responder would have just referred me to the Features and Plugins section would have saved all of us time but he wanted to try and prove some point.

I really appreciate your help and patience.

Do you still think based on the current info you have that there is any issue with my install or moving forward with it?

It’s probably fine.

You should probably spend some time poking around in Virtualmin Configuration, Features and Plugins, and Server Templates, though, so you have a better overview of the system.

I thank you as always for your help. If you would have responded first to
this thread I think we would have come to this solution in a few mins with less confusion.

Thank you

my advice was correct for getting your system working … I would assume that you would already have worked out that backup sites … install afresh, then restore your sites to the newly provisioned would work. however you failed to mention on the first post you had not installed virtualmin as it should be … you may fix the current issue but you may find as the install has not been done correctly something else, in the future fails, for the simple reason no one person can think of every that may occur in the future, may be fixed now but there is a chance that when you try to do something else it could fail … as I am confusing disregard this if you wish, just saying something else may cause you issues.