Submitted by dbnetwork on Sun, 04/11/2021 - 16:32 Pro Licensee
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
Hi,
Thanks for contacting us.
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.
@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
Submitted by hescominsoon on Wed, 04/21/2021 - 08:11 Pro Licensee Comment #3
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.
Submitted by dbnetwork on Tue, 05/04/2021 - 02:52 Pro Licensee Comment #4