SlideShare a Scribd company logo
1 of 13
Moodle Migration 1.x to 2.x
         Alternate Title:
     A Moodle Migration Study


                     by Thom W. Rawson
                    University of Nagasaki
Two kinds of Migration

A. Full Site
        (shotgun approach)

B. Course-by-course ***
       (pick-off method - I chose it!)
1.9 to 2.x Ingredients
– A production server (existing 1.9 site which is live)
– A test server (containing two new Moodle sites)
– 1.9 clean installation (use the GIT repository)
– 2.x clean installation (use the GIT repository)
– All required mods and enhancements
   • Working versions in both 1.9 and 2.x
   • Includes backup/restore function
   • Don't use it if you don't need it.
– OPTIONAL: An extra dose of patience
– OPTIONAL: A healthy dose of luck
Make sure server has the HP!
                    Power UP for 2.x!

• Making sure PHP settings (PHP.ini) are up to the task.

• max_execution_time
  (maximum execution time for each script)
• max_input_time
  (maximum amount of time each script may spend
  parsing request data.)

• memory_limit (up it!)
Browser Power
• Use a heavyweight browser - Mozilla Firefox

• Safari - I didn't try it, but perhaps it would be OK.

• Google Chrome is nimble,
  o Sometimes experiences ERROR 324 when running
    extended processes - not recommended!

• Internet Explorer - Untested, but possibly OK.
Once the migration sites are ready...
Process:
• Copy the Course
   o 1.9 Production to 1.9 Migration Server
   o Clean up course files/activities if needed
• Backup 1.9 Migration Course

NOTE: 1.9 Migration server should be the latest 1.9
available. (Using the GIT repository ensures this!)
...try to restore a course in 2.x!
• Create a file system repository (see docs).

• Requires a link to the file system from within the new
  Moodle data directory.

• If the Moodle installs are "parallel", this is easy!
   o /var/lib/www/moodledata/1x/<course_id>
   o /var/lib/www/moodledata/2x/repository/<course_id>


• Important for other reasons later discussed!
A sample migration???
Notes on User data
• User data doesn't migrate course-by-course at the time of
  writing. Why? I couldn't quickly determine.

• There may be third-party course file converters which can
  help with this process.

• Ex. http://www.moodleinschools.org.nz/courseconverter
  o (Moodle 1.9 to 2.0 converter - I never tried it)
Once you finish migrating a course...
• Check the content.
  o Looks can be deceiving


• Try some of the activities/quizzes
   o Drag-and-drop questions had to be re-programmed


• If possible, have some users test it for you for
  functionality.

• If things go wrong, try to re-import after correcting issues
  in 1.9 side -- OR fix them in 2.x if you can.
...you realize you're not finished, yet!
• Legacy course files - what are they?

• What happens when you edit content?
  o Say "goodbye" to your images
  o You have to "re-add" them the new "Moodle way!"


• How do I get used to the new way of viewing course files
  in Moodle?
   o Practice and use it! It's the only way
   o PoodLL File Explorer?
Don't lose hope!
• Changes to 2.x are being made weekly.

• Update your GIT repositories and keep at it.

• Check the Moodle forums for help.

• Lots of people have the same issues.

• Ask me! I'm willing to help!
References
• moodle.org (use forums in particular)

• github.com (social coding web)
• git-scm.com (the software for GIT)

• code.google.com (open source projects eg. PoodLL)
• mercurial.selenic.com (mercurial SCM site)

• ubuntu.com (open source Linux flavor of choice)

• thomw at sun dot ac dot jp (contact me if you need help)

More Related Content

Similar to Moodle Migration Tips - 1.x 2.x

Java for XPages Development
Java for XPages DevelopmentJava for XPages Development
Java for XPages DevelopmentTeamstudio
 
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gapMootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gapIreland & UK Moodlemoot 2012
 
How to improve your moodle site performance
How to improve your moodle site performanceHow to improve your moodle site performance
How to improve your moodle site performanceDavid Monllaó
 
Drupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 versionDrupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 versionDavid Lanier
 
SynapseIndia drupal presentation on drupal info
SynapseIndia drupal  presentation on drupal infoSynapseIndia drupal  presentation on drupal info
SynapseIndia drupal presentation on drupal infoSynapseindiappsdevelopment
 
How to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle coreHow to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle coreDan Poltawski
 
Drupal, git and sanity
Drupal, git and sanityDrupal, git and sanity
Drupal, git and sanityCharlie Morris
 
Best Practices In Moodle Administration
Best Practices In Moodle AdministrationBest Practices In Moodle Administration
Best Practices In Moodle Administrationmoorejon
 
Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015
Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015
Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015Jeremy Brown
 
TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...
TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...
TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...TAUS - The Language Data Network
 
Source andassetcontrolingamedev
Source andassetcontrolingamedevSource andassetcontrolingamedev
Source andassetcontrolingamedevMatt Benic
 
Continuous Integration: Improving Quality in Moodle
Continuous Integration: Improving Quality in Moodle Continuous Integration: Improving Quality in Moodle
Continuous Integration: Improving Quality in Moodle Dan Poltawski
 
Successful Joomla migrations that don't hurt Search Engine Rankings
Successful Joomla migrations that don't hurt Search Engine RankingsSuccessful Joomla migrations that don't hurt Search Engine Rankings
Successful Joomla migrations that don't hurt Search Engine RankingsJoomla Day South Africa
 
One Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp LondonOne Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp Londonhernanibf
 
Puppet managed loadays
Puppet managed loadaysPuppet managed loadays
Puppet managed loadaysYankee Nemoy
 
So you want to liberate your data?
So you want to liberate your data?So you want to liberate your data?
So you want to liberate your data?Mogens Heller Grabe
 
Introduction to Moodle Development
Introduction to Moodle DevelopmentIntroduction to Moodle Development
Introduction to Moodle Developmentmoorejon
 

Similar to Moodle Migration Tips - 1.x 2.x (20)

Java for XPages Development
Java for XPages DevelopmentJava for XPages Development
Java for XPages Development
 
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gapMootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
Mootie13 Moving to moodle 2.3 from 1.9 - our experience bridging the gap
 
How to improve your moodle site performance
How to improve your moodle site performanceHow to improve your moodle site performance
How to improve your moodle site performance
 
Developing a Framework for File Format Migrations. Joey Heinen and Andrea Goe...
Developing a Framework for File Format Migrations. Joey Heinen and Andrea Goe...Developing a Framework for File Format Migrations. Joey Heinen and Andrea Goe...
Developing a Framework for File Format Migrations. Joey Heinen and Andrea Goe...
 
Drupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 versionDrupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 version
 
SynapseIndia drupal presentation on drupal info
SynapseIndia drupal  presentation on drupal infoSynapseIndia drupal  presentation on drupal info
SynapseIndia drupal presentation on drupal info
 
How to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle coreHow to guarantee your change is integrated to Moodle core
How to guarantee your change is integrated to Moodle core
 
Drupal, git and sanity
Drupal, git and sanityDrupal, git and sanity
Drupal, git and sanity
 
Best Practices In Moodle Administration
Best Practices In Moodle AdministrationBest Practices In Moodle Administration
Best Practices In Moodle Administration
 
mogpres
mogpresmogpres
mogpres
 
Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015
Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015
Browser Fuzzing with a Twist (and a Shake) -- ZeroNights 2015
 
TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...
TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...
TAUS Moses Industry Roundtable 2014, Changes in Moses, Hieu Hoang, University...
 
Source andassetcontrolingamedev
Source andassetcontrolingamedevSource andassetcontrolingamedev
Source andassetcontrolingamedev
 
Continuous Integration: Improving Quality in Moodle
Continuous Integration: Improving Quality in Moodle Continuous Integration: Improving Quality in Moodle
Continuous Integration: Improving Quality in Moodle
 
Successful Joomla migrations that don't hurt Search Engine Rankings
Successful Joomla migrations that don't hurt Search Engine RankingsSuccessful Joomla migrations that don't hurt Search Engine Rankings
Successful Joomla migrations that don't hurt Search Engine Rankings
 
One Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp LondonOne Drupal to rule them all - Drupalcamp London
One Drupal to rule them all - Drupalcamp London
 
Puppet managed loadays
Puppet managed loadaysPuppet managed loadays
Puppet managed loadays
 
Sample Absolute beginners guide
Sample Absolute beginners guideSample Absolute beginners guide
Sample Absolute beginners guide
 
So you want to liberate your data?
So you want to liberate your data?So you want to liberate your data?
So you want to liberate your data?
 
Introduction to Moodle Development
Introduction to Moodle DevelopmentIntroduction to Moodle Development
Introduction to Moodle Development
 

Recently uploaded

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 

Recently uploaded (20)

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 

Moodle Migration Tips - 1.x 2.x

  • 1. Moodle Migration 1.x to 2.x Alternate Title: A Moodle Migration Study by Thom W. Rawson University of Nagasaki
  • 2. Two kinds of Migration A. Full Site (shotgun approach) B. Course-by-course *** (pick-off method - I chose it!)
  • 3. 1.9 to 2.x Ingredients – A production server (existing 1.9 site which is live) – A test server (containing two new Moodle sites) – 1.9 clean installation (use the GIT repository) – 2.x clean installation (use the GIT repository) – All required mods and enhancements • Working versions in both 1.9 and 2.x • Includes backup/restore function • Don't use it if you don't need it. – OPTIONAL: An extra dose of patience – OPTIONAL: A healthy dose of luck
  • 4. Make sure server has the HP! Power UP for 2.x! • Making sure PHP settings (PHP.ini) are up to the task. • max_execution_time (maximum execution time for each script) • max_input_time (maximum amount of time each script may spend parsing request data.) • memory_limit (up it!)
  • 5. Browser Power • Use a heavyweight browser - Mozilla Firefox • Safari - I didn't try it, but perhaps it would be OK. • Google Chrome is nimble, o Sometimes experiences ERROR 324 when running extended processes - not recommended! • Internet Explorer - Untested, but possibly OK.
  • 6. Once the migration sites are ready... Process: • Copy the Course o 1.9 Production to 1.9 Migration Server o Clean up course files/activities if needed • Backup 1.9 Migration Course NOTE: 1.9 Migration server should be the latest 1.9 available. (Using the GIT repository ensures this!)
  • 7. ...try to restore a course in 2.x! • Create a file system repository (see docs). • Requires a link to the file system from within the new Moodle data directory. • If the Moodle installs are "parallel", this is easy! o /var/lib/www/moodledata/1x/<course_id> o /var/lib/www/moodledata/2x/repository/<course_id> • Important for other reasons later discussed!
  • 9. Notes on User data • User data doesn't migrate course-by-course at the time of writing. Why? I couldn't quickly determine. • There may be third-party course file converters which can help with this process. • Ex. http://www.moodleinschools.org.nz/courseconverter o (Moodle 1.9 to 2.0 converter - I never tried it)
  • 10. Once you finish migrating a course... • Check the content. o Looks can be deceiving • Try some of the activities/quizzes o Drag-and-drop questions had to be re-programmed • If possible, have some users test it for you for functionality. • If things go wrong, try to re-import after correcting issues in 1.9 side -- OR fix them in 2.x if you can.
  • 11. ...you realize you're not finished, yet! • Legacy course files - what are they? • What happens when you edit content? o Say "goodbye" to your images o You have to "re-add" them the new "Moodle way!" • How do I get used to the new way of viewing course files in Moodle? o Practice and use it! It's the only way o PoodLL File Explorer?
  • 12. Don't lose hope! • Changes to 2.x are being made weekly. • Update your GIT repositories and keep at it. • Check the Moodle forums for help. • Lots of people have the same issues. • Ask me! I'm willing to help!
  • 13. References • moodle.org (use forums in particular) • github.com (social coding web) • git-scm.com (the software for GIT) • code.google.com (open source projects eg. PoodLL) • mercurial.selenic.com (mercurial SCM site) • ubuntu.com (open source Linux flavor of choice) • thomw at sun dot ac dot jp (contact me if you need help)