I have installed Moodle using git two years back and now want to upgrade from 3.5.5 to latest stable 3.9
$ cd /path/to/moodle
$ git remote update
$ git checkout -b MOODLE_39_STABLE origin/MOODLE_39_STABLE
$ git pull
I have used the above command lines and unfortunately one of the files has been deleted and once I finished the upgrade using the web, i got a fetal error that "/lib/eventslib.php" is missing
can anyone confirm the above commands is correct? or not.
i have self-hosted VM with centos 8.
BTW, I tried the above commends with fresh installation of Moodle 3.5.5 to be upgraded into 3.9 and it works fine !!
i have read all the articles below and all of them is about if you want to update within the same branch. but nothing mentioned if you want to change the branch to newer versions