On a (re)install of Virtualmin using the new 8.0.0 installer, I’m trying to enable the PostgreSQL database server, but noticed that the “Uninstalled” modules applet isn’t available. When I run through the Post Installation Check manager, after installing PostgreSQL 18, I no longer have a place to define the start or initialization scripts, nor can I add the “additional” modules. Additionally, when I tell the Post Installation Check that I want to enable PostgreSQL, it just alerts that:
Was support removed, or was there something I missed on install? If it helps, this was on a fresh install, and no error messages popped up during the 8.0.0 installer.
EDIT: If it help matters, I ran the installer with this:
sudo sh -c "$(curl -fsSL https://download.virtualmin.com/virtualmin-install)" -- --bundle LAMP
The Virtualmin 8 installation is based on a minimized version of Webmin, to reduce install footprint. I’m surprised Ilia would have removed PostgreSQL module, though!
But, presumably you can just install it. dnf install webmin-postgresql along with all the PostgreSQL system packages. Then you can use virtualmin config-system -i PostgreSQL to set it up for use with Virtualmin. You’ll still need to enable the feature in Features and Plugins.
I’ll ask @Ilia to follow up, as I’m not familiar with what changes he made to the new smaller Webmin package.
Thanks for the help! Just confirming this does work. Just to ask, is there a list of other modules that can also be installed via this method. As I mentioned the “Uninstalled Modules” listing was also missing too.
Your package manager knows all about them. We use system tools whenever possible, including using the system-native package manager for all of our packages.
dnf search webmin
Or you can search for them in the Software Packages module.
(I’ll also note that all prior repos used the wbm- naming convention for Webmin modules on RPM-based distributions. We have normalized to webmin- with the Virtualmin 8 repos, which matches what deb packages have always been named. There was no good reason for the wbm- prefix, other than some RPM-based distro in the past that packaged Webmin named the Webmin module packages that way. Maybe Mandrake/Mandriva, maybe one of the others, I don’t remember…it was a long time ago, and the distro is long gone. But, this means if you’re trying to see Webmin module packages on an older install using the Virtualmin 7 repos, you’d search for wbm rather than webmin.)
Yes, webmin-postgresql is a separate Webmin module now, just as postgresql and postgresql-client packages are now only suggested.
I was convinced that the vast majority of users were using MySQL, so having PostgreSQL Webmin module in the core install didn’t seem optimal.
However, I will add a clearer explanation on how to enable PostgreSQL support in the wizard warning message (it only appears if one try to enable PostgreSQL and it isn’t available), and most importantly update the documentation to explain that it is also possible to install a Webmin module (or any package) during installation using the --extra flag, e.g.:
sh virtualmin-install.sh -E webmin-postgresql,postgresql,postgresql-client
So, there won’t be any need to run the Virtualmin config again.