MariaDB 11.02 not recongized from Virtualmin setup

I try to install Virtualmin after setting the repo of MariaDB and it installs MariaDB 11.02.
The probelm is that when finishing the Virtualmin setup and i enter the first time run of Virtualmin, MariaDB is not recongized and therefore i can’t setup to run MySQL server module.
Any help ?

In the upper right corner of the dashboard panel is a clipboard icon that allows you to copy and paste system info here. Please do that and modify your opening post with that info.

The VM installer doesn’t require you to set the repo. Why did you do that? If I remember correctly you just do a minimal OS install and run the VM install script.

1 Like

I did that to have the latest version, like i did with php and nginx.
Is that a mistake ?

Well, it doesn’t work. Typically VM/WM uses your OS setup. You start messing with that and it might be doing something that isn’t taken into account with the management scripts.

Also, servers don’t typically use the latest stuff in the same way your desktop OS would. Mostly servers like well tested and known software. Just stick to what your OS has set up.

Probably. We can’t test every possible combination of random packages, and it’s very likely your custom versions installed into different locations from the OS standard packages.

Unless you really know what you’re doing (with all the packages you’re changing, and with Webmin and Virtualmin), I recommend you stick with what Virtualmin installs. i.e. start with a freshly installed OS, as the documentation recommends, and run the install script.

Edit: When I say, “really know what you’re doing” with Webmin, that would include knowing how to update the configuration for various services to know where to find whatever new stuff you installed. It aint rocket surgery, but also it’s not something we’re telling folks to do. (And, since we only test what’s on our supported distros and versions, it’s not unlikely a very new MariaDB will have compatibility issues, and you’d need to know how to recognize those and either fix it yourself, or file a good bug report in the Webmin github issue tracker, so we can look at it.)

If you want a production system, stick to what the documentation tells you to do.

I truly understand what you are saying and i agree.
Do you think i should do the same with php and nginx?
Because what i was doing up to now is use “ppa:ondrej/php” and “ppa:ondrej/nginx”.
Should i not use them and stick to the default repos ?

I’ll repeat myself:

We provide docs for installing additional PHP versions from the ondrej repos, but it is not a recommendation. It exists to keep people from going off-roading and doing something really dangerous.

Third-party PHP versions will always be less actively maintained, and thus at higher risk of unpatched security issues, that the distro-provided packages.

And, there’s no damned reason at all to be installing random nginx versions. It’s a web server, you don’t need to be on the bleeding edge.

I can’t stop you from doing anything you want to do, it’s your server. But, my recommendation continues to be “do what our documentation tells you to do”, which does not include random packages from third party repos.

Thank you so much for your advice.
I understand what you mean and i will follow it.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.