User Tools

Site Tools


Moodle Update Notes

Backup Database

cd /var/www/html
mv moodle.backup old/
mv moodle_backup.sql old/
mysqldump moodle > moodle_db.sql -p
Enter password: 

Download new moodle release from

cd /var/www/html/arch

Backup (move) moodle directory

cd /var/www/html/
mv moodle moodle.backup

extract new mooddle release

cd /var/www/html/
tar xzf arch/moodle-latest-401.tgz

restore moodle config file

cd /var/www/html/
cp moodle.backup/config.php moodle

login into Moodle with admin account and upgrade database

web_services/moodle_update.txt · Last modified: 2023/03/28 10:31 by tschulz