Server no longer exists

SYSTEM INFORMATION
OS type and version Debian 12
Webmin version 2.621
Virtualmin version 8.1.0 GPL
Webserver version Apache
Related packages Wordpress

Running some sites.
When I try to delete one of them, it doesn’t work.
The answer is: Server no longer exists
Trying to delete it in different ways.
No use. Annoying.

The domain is not in /Home
Neither in Apache.
It only shows up in Virtualmin.
How can I delete it please?

1 Like

That means something went wrong during the initial deletion and it didn’t complete cleanup. Were there any errors when deleting the domain the first time?

You can delete the Virtualmin metadata for the domain to remove it from Virtualmin. That is in /etc/webmin/virtual-server/domains, there will be one file per domain, named for the domain ID of the domain. You can grep for the domain name to find the right file to remove…the dom field is the domain name, so, e.g. I can look for virtualmin.com:

# grep 'dom=virtualmin.com' *
11195021517488:dom=virtualmin.com

That’s the file (11195021517488) I would delete to remove virtualmin.com from Virtualmin’s awareness.

Then restart Webmin and reload the Virtualmin page in your browser.

But, we’d like to know where it failed during the initial deletion, so we can protect against whatever failure happened.

Unfortunately I don’t remember what happened.
But thank you so much for the help.
I would never have found that otherwise.