Upgrading to Moodle 4.2.1+ on Fedora requiring mariadb 10.6

Overlook the sizeable lack of blog entries. Entries for social media purposes require require snappier titles and editing. Neither of those are worth my time at present. This is my log, if it helps anyone, great, and it really doesn’t matter, as logging helps me.

I went to upgrade to Moodle 4.2 back in March, I am running Fedora 36. I had to install Python 8.0.x as Moodle doesn’t support anything greater as of yet and Fedora 36 is LTS support and so I stand on that for a bit. This gave me a problem upgrading to Moodle 4.2 as it requires mariadb version 10.6 and Fedora 36 has 10.5 .

When I installed the older version of Python it required a bunch of hacks. The instructions from mariadb on installing ahead were a bit cumbersome and I looked around quickly. Fedora documentation now explains that dnf and repositories support modular packaging. Read https://docs.fedoraproject.org/en-US/quick-docs/installing-mysql-mariadb/ , specifically the section of Fedora Modular Repository and follow the steps selecting the Server option and that is all there is to it.

I now have Moodle 4.2.1+ running on mariadb 10.6.11 with minimal effort. ymmv

Leave a comment