upgrade moodle from 1.9 to 2.2
DESCRIPTION
Presentation in Share-e-Fest 2012 at Wintec, Hamilton, New ZealandTRANSCRIPT
Upgrade Moodle from 1.9 to 2.2
Upgrade Moodle from 1.9.7+ to 2.2.4
– For teachers & admins
Yong Liu
Upgrade Moodle from 1.9 to 2.2
Contents
• Background
• Before the upgrade
• During the upgrade
• After the upgrade
• Tips on upgrade
• Conclusion
Upgrade Moodle from 1.9 to 2.2
Background
• Why upgrade
o No official development for Moodle 1.9
o Security issues.
o New functionalities.
o Fixing problems.
Upgrade Moodle from 1.9 to 2.2
Background
• Status before upgrade
o Start using Moodle from 2006
o Formally take Moodle as Official LMS from Feb 2010
o Moodle status before upgrade to Moodle 2 in July 2012 Registered students: 23167
Moodle courses: 2137
Moodle course data size: 286 GB
Moodle database size: 6 GB
Upgrade Moodle from 1.9 to 2.2
Background
• Problems
o Frequently course page crashes
o Incompatible third party functions
o Assignment problems
o PHP system is too old (PHP 5.2.5)
o No extra storage
Upgrade Moodle from 1.9 to 2.2
Before the upgrade
• Information collection
o Record admin settings
o Record third party plug-ins
o Back up course files and database
o Backup Moodle configuration fileconfig.php
Moodledata
Database
Upgrade Moodle from 1.9 to 2.2
Before the upgrade • Problem fixing
o Course content problem
Invalid contents codehttp://moodleappdev1.unitec.ac.nz/mod/resource/view.php?id=30754
Long contentshttp://moodleappdev1.unitec.ac.nz/mod/resource/view.php?id=60484
o Moodle system problem Duplicated course files
/moodledata/001/doc/file_1.pdf
/moodledata/001/doc/File_1.pdf
/moodledata/filedir/da/39/da39a3ee5e6b4b0d3255bfef95601890afd80709
Duplicated database items
Upgrade Moodle from 1.9 to 2.2
Before the upgrade • Problem fixing
o Operating system problem Upgrade system & Database
Check memory limit (in php.ini)
5.3.2 5.0.25
Upgrade Moodle from 1.9 to 2.2
During the upgrade • Temporally Moodle site
Upgrade Moodle from 1.9 to 2.2
During the upgrade • Upgrading
Upgrade Moodle from 1.9 to 2.2
After the upgrade • System configuration
Upgrade Moodle from 1.9 to 2.2
After the upgrade • Theme(s) installation
Upgrade Moodle from 1.9 to 2.2
After the upgrade
• Third party function installation
o Batch upload courses
o Merge users
o MooProfile Block
o Books
o Questionnaire
...
Upgrade Moodle from 1.9 to 2.2
After the upgrade
• Through test
• Enable email
• Enable cron job
• Staff training
Upgrade Moodle from 1.9 to 2.2
Tips on upgrade
• Always back up the server (Database, Moodle data)
• Using the existing course data to test rather than “fresh” upgrade
• If the upgrade failed, fix the problem and restart by using the ORIGINAL database and Moodle data
• Keep the “clean” course contents from right now
Upgrade Moodle from 1.9 to 2.2
Conclusion
• Moodle upgrade needs frequently tests
• It needs much time and effort
• It always needs ITSC people to support
• It needs leadership team to back up
• It needs finance to accomplish