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:
parent
f8155c23af
commit
b5d3a7658a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue