Moodle upgrade checklist: how to upgrade safely
By Asad S. ·
To upgrade Moodle safely, check version and PHP requirements, back up files and the database, clone the site to staging, upgrade there through each required version, test plugins and courses, and only then repeat the upgrade on production.
1. Check the upgrade path
Moodle only supports upgrading from certain earlier versions, so a big jump may need intermediate steps. Read the release notes and the PHP and database requirements for your target version.
2. Audit plugins and themes
List every third-party plugin and check that a compatible release exists. Plugins without one are the most common upgrade blocker.
3. Back up everything
You need the database, the moodle code directory and the moodledata directory. Test that the backup restores.
4. Rehearse on staging
Restore the backup to a staging server and perform the full upgrade there. Note every error and how you fixed it.
5. Test what matters
Check logins, course access, grades, quizzes, assignments, cron jobs, email and any integrations before touching production.
6. Schedule the cutover
Pick a low-traffic window, put the site in maintenance mode, run the upgrade, and monitor for the first days.
We run exactly this process for clients, including a recent 4.0 to 5.0.2 upgrade with no data loss.
Related services
- Moodle LMS Upgrades & Migrations
- Hosting, Server Setup & Deployment
- WordPress, Laravel & Custom Development