# Ubuntu 20.04 with virtualmin release-upgrade to 22.04

**URL:** <https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575>\
**Category:** Virtualmin\
**Created:** [June 28, 2024, 3:06am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575 "2024-06-28T03:06:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![xlameee](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xlameee](https://forum.virtualmin.com/u/xlameee)\
**Post date:** [June 28, 2024, 3:06am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/1 "2024-06-28T03:06:29Z")

</div>

| 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?

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [June 28, 2024, 3:09am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/2 "2024-06-28T03:09:07Z")

</div>

> [@xlameee](#):
>
> I tried now 5 times to upgrade Ubuntu from 20.04 to 22.04

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.

---

<div class="post-metadata">

**Author:** ![xlameee](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xlameee](https://forum.virtualmin.com/u/xlameee)\
**Post date:** [June 28, 2024, 4:34am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/3 "2024-06-28T04:34:12Z")

</div>

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

 ![2024-06-27_22-37-43](https://cdn.forum.virtualmin.com/uploads/default/original/2X/9/9f713bb0f5994ddaa18b7684ff6535dfd4fa25f1.png)

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

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [June 28, 2024, 7:30am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/4 "2024-06-28T07:30:32Z")

</div>

Found this

> [@Proftpd issue after upgrading to ubuntu 22.04.2](https://forum.virtualmin.com/t/proftpd-issue-after-upgrading-to-ubuntu-22-04-2/120267):
>
> SYSTEM INFORMATION OS type and version Ubuntu Linux 22.04.2 Webmin version 2.021 Virtualmin version 7.5 Related packages proftpd how to update/upgrade proftpd ? …this happens after upgrading to ubuntu 22.04.2 sudo apt-get update && sudo apt-get upgrade -y Hit:1 [Index of /ubuntu](http://gb.archive.ubuntu.com/ubuntu) jammy InRelease Hit:2 [Index of /ubuntu](http://gb.archive.ubuntu.com/ubuntu) jammy-updates InRelease Hit:3 [Index of /ubuntu](http://gb.archive.ubuntu.com/ubuntu) jammy-backports InRelease Hit:4 [Index of /ubuntu](http://security.ubuntu.com/ubuntu) jammy-security InRelease Hit:5 [Index of /vm/6/gpl/apt](https://software.virtualmin.com/vm/6/gpl/apt) virtualm…

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [July 4, 2024, 6:56am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/5 "2024-07-04T06:56:57Z")

</div>

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](https://github.com/virtualmin/Virtualmin-Config/blob/master/lib/Virtualmin/Config/Plugin/ProFTPd.pm)

---

<div class="post-metadata">

**Author:** ![xlameee](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xlameee](https://forum.virtualmin.com/u/xlameee)\
**Post date:** [July 4, 2024, 8:00pm UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/6 "2024-07-04T20:00:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [July 4, 2024, 10:08pm UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/7 "2024-07-04T22:08:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![xlameee](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/x/4da419/32.png) [@xlameee](https://forum.virtualmin.com/u/xlameee)\
**Post date:** [July 5, 2024, 4:55pm UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/8 "2024-07-05T16:55:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![stefan1959](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@stefan1959](https://forum.virtualmin.com/u/stefan1959)\
**Post date:** [July 6, 2024, 12:23am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/9 "2024-07-06T00:23:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [July 14, 2024, 12:24am UTC](https://forum.virtualmin.com/t/ubuntu-20-04-with-virtualmin-release-upgrade-to-22-04/127575/10 "2024-07-14T00:24:23Z")

</div>

Closed on July 14, 2024, 12:24am UTC

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