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

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 

Recently uploaded (20)

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

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)