Every other week, the latest Moodle code is pushed to the GIT repository. The use of GIT is the simplest way to update your Moodle to the latest code.This works for both major and minor releases of Moodle

  1. cd /path/to/your/moodle
  2. sudo -u www-data php admin/cli/maintenance.php –enable
  3. git pull
  4. sudo -u www-data php admin/cli/upgrade.php
  5. sudo -u www-data php admin/cli/maintenance.php –disable

The above assumesĀ  file ownership by www-data

Share this post