Upgrading Turnkey to 4.3

Upgrading Turnkey to 4.3

by JP Hebert -
Number of replies: 2
Hi all!

New to Moodle, decided to install Turnkey ISO 17.1 on my Proxmox server to try and wish to upgrade to 4.3 as it's running 4.0.4+. Also am mildly familiar with the Linux world and Git.

What would be the "least painful" way to do this?

Also this is a new install so if there is an easier way to get 4.3 running I'm all ears smile

Thanks!


Average of ratings: -
In reply to JP Hebert

Re: Upgrading Turnkey to 4.3

by Ken Task -
Picture of Particularly helpful Moodlers
Turnkey offered different base OS's ... debian? or GNU? or ?

Debian manifest:
http://cdimage.debian.org/mirror/turnkeylinux/metadata/turnkey-vanilla/17.1-bullseye-amd64/turnkey-vanilla-17.1-bullseye-amd64.manifest

Shows:
php 7.4, mariadb 2.9, apache2 2.4.53
Also see it comes with Webmin - good - that should have Terminal.
(I use Webmin/Terminal).

To go from 4.0.4+ to 4.3.latest/greatest
See:
http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases

Can you upgrade php or mariadb using native package manager or must you use Turnkey?

With the moodle you have right now, login as admin, then to go Server, Environment Check.
Update the component.   Using the drop down pick list to set it to 4.3 and see what the results are - REDS must fix - YELLOW - good idea to fix as well.

The initial install probably did not come git ready.
Where the moodle code is located on your system, is there a hidden .git directory?

If not, then you will first need to do a 'side load' or an 'upload' of the moodle git repo files into code directory before you can use git to update/upgrade moodle code.

Git is by far the best way to upgrade and maintain moodle, BTW.

Will send you a pm on this system with a link to help with 'side load' or 'upload' of moodle git repo.

'SoS', Ken