upgrade moodle from 1.9 to 2.2

17
Upgrade Moodle from 1.9 to 2.2 Upgrade Moodle from 1.9.7+ to 2.2.4 – For teachers & admins Yong Liu

Upload: yong-liu

Post on 13-Jun-2015

3.266 views

Category:

Education


4 download

DESCRIPTION

Presentation in Share-e-Fest 2012 at Wintec, Hamilton, New Zealand

TRANSCRIPT

Page 1: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

Upgrade Moodle from 1.9.7+ to 2.2.4

– For teachers & admins

Yong Liu

Page 2: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

Contents

• Background

• Before the upgrade

• During the upgrade

• After the upgrade

• Tips on upgrade

• Conclusion

Page 3: Upgrade moodle from 1.9 to 2.2

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.

Page 4: Upgrade moodle from 1.9 to 2.2

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

Page 5: Upgrade moodle from 1.9 to 2.2

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

Page 6: Upgrade moodle from 1.9 to 2.2

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

Page 7: Upgrade moodle from 1.9 to 2.2

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

Page 8: Upgrade moodle from 1.9 to 2.2

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

Page 9: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

During the upgrade • Temporally Moodle site

Page 10: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

During the upgrade • Upgrading

Page 11: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

After the upgrade • System configuration

Page 12: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

After the upgrade • Theme(s) installation

Page 13: Upgrade moodle from 1.9 to 2.2

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

...

Page 14: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

After the upgrade

• Through test

• Enable email

• Enable cron job

• Staff training

Page 15: Upgrade moodle from 1.9 to 2.2

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

Page 16: Upgrade moodle from 1.9 to 2.2

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

Page 17: Upgrade moodle from 1.9 to 2.2

Upgrade Moodle from 1.9 to 2.2

Questions

Yong [email protected]