Upgrading moodle

  1. Switch server into maintenance mode
  2. cd to top-level WWW directory
  3. cd <workdir>
  4. tar zxf /tmp/moodle-<latest>.tgz
  5. cp -p ../moodle/moodle/config.php moodle/
  6. cd ..
  7. mv moodle/moodle moodle-<oldversion>
  8. mv <workdir>/moodle moodle/
  9. Go to notifications page and perform updates
  10. Switch server out of maintenance mode

Tags: