1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

moodle/tasks/install.yml: Refine Moodle CLI upgrade tips

This commit is contained in:
A Holt 2023-12-17 13:45:55 -05:00 committed by GitHub
parent b0f1cccd37
commit f8155c23af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,9 @@
#
# EXAMPLE:
# 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 https://github.com/moodle/moodle MOODLE_403_STABLE
# 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 .
# sudo -u www-data /usr/bin/php admin/cli/upgrade.php
# sudo -u www-data /usr/bin/php admin/cli/maintenance.php --disable