8f8f80d5296523cb1919be1649aeef46f6947512
By:
wbeek

Best way to update droplet from Fedora 23 to 24?

June 28, 2016 879 views
Fedora Configuration Management

I just created a droplet with Fedora 24 on it. I have three older droplets with Fedora 23 on them.

What is the best way to update the older ones to 24 as well? These are the two approaches I can come up with:

  1. Create new droplets with F24 on them. Backup the data on the old droplets and move over.
  2. Run dnf distro upgrade within the F23 droplets and pray that all settings etc. are carried over in the process.

Option (1) is very labor intensive, but I'm afraid that option (2) will result in a suboptimal end result (old and new settings next to each other, possible conflicts).

Any experience/advice on this is highly appreciated!

2 Answers

I attempted #2 today and ended up restoring from a backup. The eth0 interface completely disappeared and killed the networking.

According to this tutorial page on upgrading Ubuntu in-place, the "safer and more predictable" way to upgrade is by installing from scratch.

That said, I tried your #2 option, held my breath for awhile while I couldn't access the system from the console or by ssh, but eventually had a working Fedora 24 upgrade.

Ubuntu's next Long Term Support release, version 16.04 (Xenial Xerus), is due to be released on April 21, 2016. This guide explains the upgrade process for systems including (but not limited to) DigitalOcean Droplets running Ubuntu 15.10.
Have another answer? Share your knowledge.