Upgrade Ubuntu from 18.04 LTS to 20.04 LTS failed migrate major services

good morning,

we tried to upgrade the ubuntu distro from version 18.04 LTS to version 20.04 LTS with the "do-release-upgrade" command, everything went well, but after restarting most of the services on virtualmin were not working correctly, example: postfix, dovecot, apache2 etc.

How can we safely upgrade without these problems?

Status: 
Closed (fixed)
Virtualmin version: 
6.16
Webmin version: 
1.973

Comments

Ilia's picture
Submitted by Ilia on Mon, 04/12/2021 - 10:06

Hi,

Thanks for contacting us.

How can we safely upgrade without these problems?

We unfortunately cannot provide help on distro upgrades. There are many things which could go wrong. We just don't know what it is. Virtualmin itself has absolutely nothing todo with such failures in services.

We suggest migrating on fresh Ubuntu 20.04 system or in case of release upgrades you would need to go through all configs manually, hunt for errors and fix them.

tpnsolutions's picture
Submitted by tpnsolutions on Fri, 04/16/2021 - 11:54

@dbnetwork,

As Ilia has already mentioned, the best method of moving between "major" releases is to migrate rather than trying to upgrade.

With every "major" release of an OS, there are tons of changes made the overall infrastructure which can cause problems both on the surface and behind the scenes.

Since Virtualmin is just a set of scripts which assist in managing and automating stuff on a Linux host, it cannot be blamed for issues created by an OS upgrade as it doesn't have anything to do with this process.

If you'd like assistance migrating your sites to a new server with the latest OS along with a number of post install optimizations, feel free to reach out to me directly by sending an email to support@tpnsolutions.com

The way i do it is make a backup using the built in backup system to a storage server in the DC. I then upgrade the existing server to the new distro and using the same virtualmin backup technology restore things right back. Safest and easiest way to do it. In place os upgrades are not a good idea.

Status: Active ยป Closed (fixed)