Upgrading to Moodle 3.11 using GIT

Описание к видео Upgrading to Moodle 3.11 using GIT

Upgrading Moodle can be a pain but if using the (not so scary) command line, we can safely and easily upgrade our Moodle instance in no time at all.


Note: it is recommended to upgrade to the highest version of 3.10.x before switching to 3.11.


Commands:



Upgrading from 3.10.3+ to 3.10.4+
---------------------------------------------

cd /path/to/your/moodle/wwwroot
sudo -u www-data php admin/cli/maintenance.php --enable
git pull

sudo -u www-data php admin/cli/upgrade.php
sudo -u www-data php admin/cli/maintenance.php --disable
---------------------------------------------




Upgrading from 3.10.4+ to 3.11
---------------------------------------------
cd /path/to/your/moodle/wwwroot
sudo -u www-data php admin/cli/maintenance.php --enable
git pull

git branch --track MOODLE_311_STABLE origin/MOODLE_311_STABLE
git checkout MOODLE_311_STABLE
sudo -u www-data php admin/cli/maintenance.php --disable

Комментарии

Информация по комментариям в разработке