Okay, so, while trying to reconfigure my host and domain name, something was corrupted in VirtualMin that I was not able to easily recover, so I thought I would do what I’ve done a few times and uninstall and re-install VirtualMin.
Well, of course, now VirtualMin fails to install.
I have removed all packages that are installed/used by VirtualMin, as far as I can see, other than PHP. I have searched for all files and strings that contain VirtualMin and Webmin and removed the logs, ssl certs, etc… I have removed the homedir created by VirtualMin during the initial Virtual Server set up and it still fails to install completely.
It does install enough, in most cases, to be able to open the web ui on port 10000 but is lacking some of the packages and god knows what.
It always seems to fail here,
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
create mode 100644 webmin/webmincron/config
create mode 100644 webmin/webmincron/crons/167738615184605.cron
create mode 100644 webmin/webmincron/crons/167738615184881.cron
create mode 100644 webmin/webmincron/crons/167738621688544.cron
create mode 100644 webmin/webmincron/crons/167738621788544.cron
create mode 100644 webmin/webmincron/crons/167738621888544.cron
create mode 100644 webmin/webminlog/config
create mode 100644 webmin/wuftpd/config
create mode 100644 webmin/xinetd/config
create mode 100644 webmin/xterm/config
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing Virtualmin 7 and all related packages: [2023-02-25 22:41:22 CST] [ERROR] Failed with error: 100
[2023-02-25 22:41:22 CST] [ERROR] Something went wrong. Exiting.
[2023-02-25 22:41:22 CST] [ERROR] The last few log entries were:
And that’s it…
And no, re-installing the OS is not an option.
This is on Debian 11.
But, I’ll also mention than uninstalling and reinstalling repeatedly is not a reasonable thing to do. The --uninstall option is basically only useful for testing. It leaves a mess (and the docs tell you to never run it on a production system).
Thank you for the response. After changing the domain name in VirtualMin, it basically locked me out of all configurations, for some reason … and I did not anticipate anyone would be up this late to troubleshoot why the VirtualMin tab was 100% gone and 50% of Webmin was missing…
This issue was resolved, for anyone in the future, by running the following:
That sounds like you didn’t just change “a domain name” you actually changed the domain name of the server that you set Virtualmin up with. If you do that, you have to update all the links you use to access it and clear all your caches out. If you’re using an outside DNS service like Cloudflare, you also have to update the DNS records there before it will work.
Constantly uninstalling and reinstalling is pretty much guaranteed to break your system eventually.