Ian Greetings. I do not seem to be able to update to Moodle 4.1 using the usual method (https://moodlebox.net/en/help/moodle-version-update/#fn:2). Any advice?
Nicolas Use sudo -u www-data -g moodlebox git checkout MOODLE_401_STABLE (I was not aware of the bizarre branch name)
Ratna Nicolas Talking of "bizarre branch names", pl. see https://moodle.org/mod/forum/discuss.php?d=441054#p1774559.
Ian This is the message that comes up: error: Your local changes to the following files would be overwritten by checkout: theme/boost/templates/footer.mustache Please commit your changes or stash them before you switch branches. Aborting
Nicolas This message says the file theme/boost/templates/footer.mustache was modified, so the update fails. You can try to type sudo -u www-data -g moodlebox git stash to discard all changes, then retry.
Ian Nicolas Thanks - tried it and when I went to moodlebox.home/admin I got this message: Invalid permissions detected when trying to create a directory. I will copy a new image from backup and try again
Nicolas Ian Impossible to say what's the problem, other that it is a consequence of manually modifying the Moodle source code without paying attention to the file permissions. On last shot to try to fix the permissions: sudo chmod -R ug+w /var/www/moodle sudo chown -R www-data.moodlebox /var/www/moodle
krause My MoodleBox 4.4.0 runs fine with Moodle 4.1. The update works as shown on https://moodlebox.net/en/help/moodle-version-update/ . The new branch is MOODLE_401_STABLE now.
krause I could not wait :-) I updated already on Sunday to Moodle 4.1. And I am looking forward because the new MoodleBox will have some new features. https://github.com/moodlebox/moodlebox/blob/main/CHANGELOG.md