Found a couple of issues while upgrading using the steps given in my previous post regarding Moodle minor update using git -
- If we uninstall the h5pactivity built-in plugin before the upgrade, the upgrade does not proceed - it complains about corrupted plugin. So, basically, we can't uninstall the default plugins without causing issues with upgrades.
- If we change the file permissions, we need to add a command
git config core.filemode false
to prevent git from complaining about overwriting local files, listing all the files, and aborting the git pull. Via this post.
So, the updated list of commands:
cd /var/www/theLMSgit
sudo -u www-data /usr/bin/php admin/cli/maintenance.php --enable
git config core.filemode false
git pull
sudo chown -R azureuser:www-data .
sudo chmod -R 775 .
sudo -u www-data /usr/bin/php admin/cli/upgrade.php
(type y when prompted)
No comments:
Post a Comment