1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

moodle/tasks/install.yml: Clarify 'git pull' options for CLI upgrade

This commit is contained in:
A Holt 2023-12-17 15:11:01 -05:00 committed by GitHub
parent f8155c23af
commit b5d3a7658a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
# cd /opt/iiab/moodle
# cp -p config.php ~/config.php.MOODLE_BKP
# sudo -u www-data /usr/bin/php admin/cli/maintenance.php --enable
# git pull # OR IF NEC: git pull https://github.com/moodle/moodle MOODLE_403_STABLE --no-rebase # OR RESCUE config.php AFTER RECLONE: cd .. ; mv moodle moodle.bkp ; git clone https://github.com/moodle/moodle -b MOODLE_403_STABLE --depth 1 ; cd moodle ; cp ../moodle.bkp/config.php .
# git pull # Might fail due to original clone with '--depth 1' ? So this too may fail: git pull https://github.com/moodle/moodle MOODLE_403_STABLE --no-rebase # IF SO, RESCUE config.php AFTER RECLONE: cd .. ; mv moodle moodle.bkp ; git clone https://github.com/moodle/moodle -b MOODLE_403_STABLE --depth 1 ; cd moodle ; cp ../moodle.bkp/config.php .
# sudo -u www-data /usr/bin/php admin/cli/upgrade.php
# sudo -u www-data /usr/bin/php admin/cli/maintenance.php --disable