I have been regularly trying for over 2 years to upgrade my Ubuntu Server 20.04 to 22.04, but I have had no success. It's the only time in my long history (since Dapper Drake) using Ubuntu that I've ever had a problem with upgrading, either Desktop or Server. My server is on the Vultr platform, running Webmin/Virtualmin, and I can also access it remotely through SSH.
When I perform the upgrade via the terminal/SSH, everything goes as expected with no errors that I can see, and I choose the Default "N" for all the input screens that are displayed during the upgrade. At the end it asks to restart, but at that point it fails to restart. I can't ping the server, and my terminal screen hangs when it asks me for my SSH passphrase. When I try to tty in from my Vultr console, it hangs after entering my password, and when I try to bring up the login screen in Virtualmin it can't find the URL. Vultr shows the server status as running, which I assume is correct because the tty session identifies the server when it asks for my login credentials.
I have no way of knowing why the restart is failing without accessing the upgrade logs, and I'm unable to access the logs without being able to log in, so I can't have a look at them to try and troubleshoot. The only way I can recover my server is to restore from the snapshot I take just prior to the upgrade, and this obviously removes any upgrade logs created. Back when I first built the server, I was able to upgrade from 18.04 to 20.04 without issue, but anything I try with the 22.04 upgrade fails in the same way at the same point. I have also tried upgrading using the inbuilt terminal session in Virtualmin, but had the same outcome.
Is anyone able to shed any light on what might be causing the failed restart, or how I might be able to access the logs? Any assistance or thoughts would be very much appreciated, as this is becoming quite tiresome trying to do a simple upgrade.
Bookmarks