This shows you the differences between two versions of the page.
— |
web_services:moodle_update [2023/03/28 10:31] (current) tschulz created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Moodle Update Notes ====== | ||
+ | |||
+ | ===== Backup Database ===== | ||
+ | <file bash> | ||
+ | cd /var/www/html | ||
+ | mv moodle.backup old/ | ||
+ | mv moodle_backup.sql old/ | ||
+ | mysqldump moodle > moodle_db.sql -p | ||
+ | Enter password: | ||
+ | </file> | ||
+ | |||
+ | ===== Download new moodle release from https://download.moodle.org/releases/latest/ ===== | ||
+ | <file bash> | ||
+ | cd /var/www/html/arch | ||
+ | wget https://download.moodle.org/download.php/direct/stable401/moodle-latest-401.tgz | ||
+ | </file> | ||
+ | |||
+ | ===== Backup (move) moodle directory ===== | ||
+ | <file bash> | ||
+ | cd /var/www/html/ | ||
+ | mv moodle moodle.backup | ||
+ | </file> | ||
+ | |||
+ | ===== extract new mooddle release ===== | ||
+ | <file bash> | ||
+ | cd /var/www/html/ | ||
+ | tar xzf arch/moodle-latest-401.tgz | ||
+ | </file> | ||
+ | |||
+ | ===== restore moodle config file ===== | ||
+ | <file bash> | ||
+ | cd /var/www/html/ | ||
+ | cp moodle.backup/config.php moodle | ||
+ | </file> | ||
+ | |||
+ | ===== login into Moodle with admin account and upgrade database ===== | ||
+ | * Chrome https://moodle.sebeka.k12.mn.us/ | ||
+ | * Navigate to Site administration > General > Notifications | ||