I don’t get it. I tried now 5 times to upgrade Ubuntu from 20.04 to 22.04 and I end up with the same issue PROFTPD Error I also can’t access via SSH with 2 key authentication
When I upgraded It asked me to keep the configurations on some modules or install a maintainer version I kept the original .conf file
Thanks god this is a VM and I can revert it from a snapshot otherwise this will be deserter.
Seems Virtualmin is not a long term software, but I originally installed it with 18.04 LTS didn’t had any issues upgrading it to 20.04 as far as I can remember, but seems 22.04 is out of the question I have to rebuild it from a scratch if I want 22.04 or later.
Is there any other less painful way to upgrade it?
If you purge the old configs, you’ll probably remove any Virtualmin created configuration, or any changes you made in Webmin or in the config files.
You can probably get the default Virtualmin config merged back into the packaged default configuration with virtualmin config-system --include ProFTPd (but, if you’ve made other changes from the default, that may not work or might break something, it expects a freshly installed ProFTPd)
Solution is to install maintainer version of all files and then marge them with the original
then Remove your virtual server and install it again.
Before you do make sure you have a full backup I use Dublicator Pro, but feel free to use whatever you’d like. My Ubuntu is VM and it’s easy to revert a snapshots back, but if you have none-VM I do not know how to backup and restore when something goes south. You should probably ask the creators of Virtualmin and Ubuntu
But that’s how I solve my problem with my setup
P.S I never test it but could work the same. If you remove the virtual server before you Upgrade Ubuntu to 22.04 I will do it on the next Ubuntu version
As far as I can find 24.04 LTS is full of bugs that’s why is not offered as an upgrade to 22.04 LTS
It said that will be available when 24.04.1 LTS is ready and what will be September