Error During Virtualmin Installation on AlmaLinux 10: "Failed to open /etc/webmin/virtual-server/config"

SYSTEM INFORMATION
OS type and version AlmaLinux 10 (x86_64) – fresh install
Webmin version (Installation failed before completion – not installed)
Virtualmin version (Installation failed before completion – not installed)
Webserver version Nginx (as part of LEMP bundle)
Related packages MariaDB, ClamAV, Dovecot, Bind, Firewalld, AWStats, Etckeeper

Hello,

I’m encountering an error during the Virtualmin installation on a fresh AlmaLinux 10 system using the following command:

sudo sh -c "$(curl -fsSL https://software.virtualmin.com/gpl/scripts/virtualmin-install.sh)" -- --bundle LEMP

The script progresses through most installation phases, but during the configuration step, it fails while configuring Nginx with the following message:

[11/Jul/2025:03:36:58 -0300] Failed to open /etc/webmin/virtual-server/config for writing : No such file or directory
Error
-----
Failed to open /etc/webmin/virtual-server/config for writing : No such file or directory

Afterward, I get a general warning:

[WARNING] The following errors occurred during installation:
  ◉ Postinstall configuration returned an error.

It appears that AlmaLinux 10 might not yet be officially supported, as the script output lists support up to AlmaLinux 9. Can anyone confirm if AlmaLinux 10 is compatible with Virtualmin at this point, or if a workaround exists?

Thanks in advance for any help.

You are trying to install a non-grade A version, issues may occur.

We don’t support Alma and Rocky 10 in the stable installer yet, but you can use the development version, which however isn’t intended for production.

Got it, thanks for the heads-up! I’ll proceed with caution.

Thanks for the clarification and support! I’ll give the development version a try as suggested. Appreciate everyone’s help!

I have to build a new server in the next 2 weeks, any chance that this might be ready by then?

It will be out sometime in the summer, but we can’t promise it’ll be within the next two weeks.