Upgrade Ubuntu 18.04 to 20.04

So I successfully upgraded from 18.04 to 20.04.

  1. In your BIND configuration, comment out dnssec-enabled yes line. This won’t disable DNSSEC, BIND 9.16.0 is a bit different.
  2. Run: do-release-upgrade
  3. Keep all config files the way they are. Press N to all changes (default).
  4. After the install is finished, press y to restart server.
  5. Edit /etc/apt/sources.list, and uncomment the Virtualmin repositories. Then change any references of bionic in those repositories to focal.
    Run this command, and make sure the new apt config works properly:
    apt-get update
  6. Verify DNS Config Edit /etc/resolv.conf, and verify that the nameserver line is configured to use your loopback address as a nameserver.
  7. Manually edit OS version: Webmin > Webmin Configuration > Operating System and Environment - Set Operating system according to Webmin to the detected version.
  8. Run: sudo update-grub and reboot after
  9. Now, log into Virtualmin, and go into System Settings -> Re-Check Config, and verify that it doesn’t detect any problems.

If Postfix tells you that sender specific mapping is not defined, change that and enter this in Mapping Specification: hash:/etc/postfix/dependent.

This should upgrade your Ubuntu server correctly. But I am experimenting with this too, so let me know if any problem arises.

6 Likes