Upgrading to Fedora 24

Fedora 24 is official. I decided to jump in on my production server as I had just risked everything taking care of the Ants.  Seriously, my Cisco, Server, and Printer/Scanner were infested in their temporary location.  They have never been so clean.

I was going to go straight to FedUp like I had in the past; however, according to the documentation page:

FedUp (FEDora UPgrader) was the official tool for upgrading between Fedora releases, until the introduction of the DNF system upgrade plugin. FedUp is now obsolete and should not be used in any circumstances.

And I imagine I had been using it one or two updates too many, being slow to convert to DNF.  Installing the DNF upgrade plugin, which appears to be default is the recommended and supported way to upgrade from Fedora 23 to Fedora 24.

I have also seen that you should be able to update to Fedora 24 Workstation using the Software app, although I haven’t tested it and my system is “headless”.

Assuming you have backed up your system Smile, perhaps using deja-dup. Update your machine and install the DNF plugin

$ sudo dnf upgrade --refresh


$ sudo dnf install dnf-plugin-system-upgrade

Part 1 – download upgrades to prepare for the upgrade

$ sudo dnf system-upgrade download --releasever=24

This command will begin downloading all of the upgrades for your machine locally to prepare for the upgrade. You may wish

If you have issues when upgrading because of packages without updates, broken dependencies, or retired packages, add the --allowerasing flag when typing the above command. This will allow DNF to remove packages that may be blocking your system upgrade.

Upgrading to Fedora 24: Starting upgrade

Part 2 – Reboot and upgrade

$ sudo dnf system-upgrade reboot

Your system will restart after this. In past releases, the fedup tool would create a new option on the kernel selection / boot screen. With the new dnf-plugin-system-upgrade package, your system reboots into the current kernel installed for Fedora 23; this is normal. Shortly after the kernel selection screen, your system begins the upgrade process.

Now might be a good time for a coffee break! Once it finishes, your system will restart and you’ll be able to log in to your newly upgraded Fedora 24 Workstation.

I flew through without any issues, but if there are issues, check out the  DNF system upgrade wiki page as well as Fedora Magazine’s Upgrading Fedora 23 to Fedora 24 article.  I followed their directions for the most part and have put the salient ones in here so I can remember as I upgrade all my workstations.

Moodle “version 5.5.31 is required and you are running”

I received this error message upgrading an older Moodle installation this weekend to Fedora 21 and Moodle 2.8.2+.

Information on the forums on moodle.org was less than gratifying with little or no work done to explain an answer, merely pontificate about this or that, or my favorite, ask for more information.

Many folks posted less helpful information explaining that a number of was indeed lower than 5.5.31 and one needed to upgrade to a newer version of MariaDB.  I believe that is not constructive to a community.

Others posted a link back to the Moodle Bug Report https://tracker.moodle.org/browse/MDL-43604 which is when an earlier and unrelated bug was dealt with.

As always, the answer is intertwined in the method of operations, the question itself, not being snarky about version numbers.

An administrator with an older site, upgrading to a newer site, usually leaves the config.php alone.  After all, how much is in there?  Usually nothing.  But with upgrades to MariaDB version 10.0 and above, one needs to change, per the Moodle documentation (which I skipped), the line regarding what database is being used from MySQL to MariaDB.  That one fix allows the version number to be read quickly and the update to proceed.

I have tried to contribute and answer the posts I found online in the event they are running into the same simple fix I had to make.  Be nice out there, your answer should resolve an issue.