Ubuntu 20.04 with virtualmin release-upgrade to 22.04

SYSTEM INFORMATION
OS type and version Ubuntu 20.04 LTS
Webmin version 2.111
Virtualmin version 7.10.0
Related packages SUGGESTED

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?

Five times? I hear the definition of insanity is doing the same thing over and over and expecting different results.

Stop wasting your time reinstalling, start looking at logs and trying to understand what’s actually failing.

I tried 5 times different ways to upgrade Ubuntu not doing it the same way over and over again.

I brought PROFTP up by editing /etc/proftpd/proftpd.conf and removing
IdentLookups off

now I am getting

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

I have no idea how to fix that

Also I can’t use Public key Authentication to login with SSH

Found this

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)

You can see what all it does here: Virtualmin-Config/lib/Virtualmin/Config/Plugin/ProFTPd.pm at master · virtualmin/Virtualmin-Config · GitHub

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

Good luck to all. You are going to need it

1 Like

If you only use the OS for Virtualmin, then Virtualmin’s Backup and Restore work great.

Yes I do use only for Virtualmin and no it doesn’t work sorry. If this works for you this doesn’t work for me.

Bad luck, works fine for me, tested many time.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.