bug? webmin fails to start because "failed to open ssl key" in virtual server?


This was easy to fix. But is that a bug? Somebody deletes a file in a virtual server and then Webmin fails to restart?

This is what happened:

  • Delete virtual server domain.on.local
  • imported a virtual server backup “domain.com
  • Renamed the virtual server “domain.com” to “domain.on.local”

There were some ssl issues, so I just recklessly deleted ssl* in /home/domain (but using snapshots to be able to revert if necessary :slight_smile: ).

I rebooted (because of updates), but webmin failed to start.

Removing the ip lines in miniserv.conf fixed this.

But why did this happen?