How works an upgrade of Fedora Server/Workstation 36/37 to 39?

Through VirtualBox is installed

  • Fedora Server 36
  • Fedora Server 37
  • Fedora Workstation 36

I know the latest release for both branches is 39.

My doubt is if I do the upgrade:

  • Does the upgrade pass directly according the case from 36 to 39 and 37 to 39?
  • Does the upgrade pass release by release according the case from 36,37,38 to 39 and 37,38 to 39?

I am not sure if there are two approaches to accomplish the goal :

  • From the latest previous release (38) to 39 (not my case)
  • From a considerable old release (36/37) to 39 (my case)

Thank You

This I believe is the recommended way to upgrade the system.
How many releases can I upgrade at once. . . 36>37>38>39

1 Like

It is supported to jump over one version, but not two.

This means, you can upgrade from 37 to 39, but not from 36 to 39. The latter should be done by upgrading first from 36 to 37 or 38, and then 39.

Hammerhead already mentioned the best page for the most reliable way of upgrading (especially if you want to jump over one version), but you might start to read that page from the beginning before doing the upgrade: Upgrading Fedora Using DNF System Plugin :: Fedora Docs

In accordance with the page, when it comes to the F36 that needs an F37 or F38 interim-upgrade before finally upgrading to F39, you just change the ... --releasever=39 line to …=37 or …=38 in the interim-upgrade in between F36 and F39.

A lot of vulnerable processes take place when you upgrade. Therefore, I suggest to focus on what is supported, and thus do not jumping over more than one release. Jumping over 1 (so, F37 to F39) is supported and equally tested as F38 to F39.

Be aware that you should always have the newest update state of your release before upgrading. This means, you should do in advance a normal update also on the F36 (e.g., dnf update or so) to ensure that it has the most up to date state that F36 had when it went end-of-life. This applies to all upgrades may it be with or without jumping over an release, and it applies to all releases, may they already end-of-life or not. This ensures that your upgrade process equals to the tested one.

I tend to do release-by-release even if you can skip one.

After each upgrade I check that the system is working and fix any services etc that break before moving to the next upgrade.

The systemctl --failed is useful to see what is not working.

Thanks to all for the replies, now I see clearly the situation. So is wise keep always the OS upgraded. Well because I work with VirtualBox the impact is not critical