I am new to moodle this school year. I have been able to upgrade within the 3.9.* line using git. How do I use git to upgrade from 3.9.3 to 3.10.1?
MK
I am new to moodle this school year. I have been able to upgrade within the 3.9.* line using git. How do I use git to upgrade from 3.9.3 to 3.10.1?
MK
Please see:
https://docs.moodle.org/dev/Releases
3.9.x is long term support
3.10.x is not.
However, should you decide to go forward.
In current 3.9.x site, check environment to assure no upgrades to PHP/MySQL/MariaDB
will be needed to upgrade.
CLI: cd /path/to/moodle/admin/cli/
php checks.php
To upgrade via git:
https://docs.moodle.org/310/en/Git_for_Administrators
In your case:
Site backup first ... repeat site backup first.
tar ball of Code + DB dump + tar ball of minimal moodledata/filedir
Got any plugins? Do they have a compatible version for destination version?
cd /path/to/moodlecode/
git branch -a
php cron.php
Now the switch to branch and upgrade
php maintenance.php.php --enable
git branch --track MOODLE_310_STABLE origin/MOODLE_310_STABLE
git checkout MOODLE_310_STABLE
Check version: fgrep '$release' version.php
Do upgrade
php upgrade.php
Check ownerships/permissions on files ... especially config.php (readable by globe)
out of maintenance mode
php maintenance.php.php --disable
Hit site with Web browser now and check
'SoS', Ken
There is no indication in moodle code running which is LTS and which is not nor in git branch -a. Maybe that's a 'feature request'? Checking releases page is presently the only way to know for sure.
'Every 4th' ... well, your guess is as good as mine - am sure there was discussion. Imagine since software is international and used by many large institutions/corps?, academic calendars, etc there was influence. Factors - just how much can be expected by core programmers - + other (like Covid).
Future?
'SoS', Ken