I’m trying to update to Moodle 3.3 on my Beta (test) system and Moodle doesn’t seem to notice that I’ve updated the files using git. I have been using git to install the Moodle code updates for over a year and this is the first time that it hasn’t worked.
Full disclosure.
Yesterday on my first attempt I tried doing the procedure from memory (should have known better) and ended up just updating to a newer version of 3.2.3+. When I did that Moodle recognized the changes and gave me the opportunity to update the database and afterward, displayed the new build date (20150525) at the bottom of the Notifications page.
During my next try, I followed the procedure (https://docs.moodle.org/33/en/Git_for_Administrators#Git_from_behind_a_firewall) but that didn’t seem to make any difference. Today I ran git pull again, it downloaded updates but Moodle didn’t seem to recognize them.
What is it that Moodle looks at to tell that the code has been updated?
Referencing the Git for Administrators document, under the heading “Obtaining the code from Git” the first step says to “cd /path/to/your/webroot”. Is webroot the directory holding the moodle code files that actually get executed? Or is webroot the directory that holds the git local repository and the code that is executed is actually in the “moodle” directory that was created with Command (1) ?
git clone git://git.moodle.org/moodle.git
Natassia