SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Moving to Moodle 2

               Technical Upgrade Paths and
                     Considerations


01562 744348                      http://www.vlemiddleware.com
Introduction


• Moving to Moodle 2 can be rather daunting
  experience for any VLE Administrator

• Planning and Testing are extremely paramount
  during this transition period to make sure
  everything goes as smoothly as possible.
Server Specification


• PHP 5.3.2 or later required!
  - Enabled extensions:
    soap, intl, mysql, iconv, mbstring, curl, openssl, tokenizer, x
    mlrpc, ctype, zip, gd, simplexml, spl, pcre, dom, xml, json


    (red: Must be installed)

• MySQL 5.0.25 or later
  - INNODB engine recommended
• PostgreSQL 8.3 or later
• MSSQL 2005 or later
Fresh Install vs Progressive
                           Upgrade

• Once you have deemed your server suitable
  for running Moodle 2.x.x you must decide
  which upgrade route you plan to follow.

  – A Fresh Install
  – Or a Progressive Upgrade of your existing site

• There are pro’s and con’s to both routes which
  we will discuss further
Fresh Installation, Pros!


• A good time to do housekeeping
• Less Errors
• Cleaner Build (Moodle 2.x.x code only)
Fresh Installation, Cons!


•   Time taken to migrate courses
•   Which courses are you going to backup?
•   Shared Hosting, can you adjust PHP settings?
•   Shared Hosting, do you have access to server
    to upload backup files?
Progressive Upgrade, Pros!


• No need to manually recreate courses and
  categories.
• Won’t lose any site news, site settings, users.
• Faster turnaround than fresh install.
• Moodle will be exactly the same
Progressive Upgrade, Cons!


• Possibility of errors!
• Keeps the ‘clutter’ of existing Moodle
• Possible corruption of data
• Skills need to perform the upgrade
• Need server space to run and test ‘test
  upgrade’
• Time spent testing ‘test’ upgrade
How to perform an upgrade?

•   Take a copy of moodledata folder (/var/moodledata)
•   Take a copy of moodle web folder (/var/www/html)
•   Take a copy of database using mysqldump & restore to a new database
•   Download Moodle 2.x.x files
•   Copy Moodle 2 files over the top of your copied moodle web folder.
•   Rename config.dist.php to config.php and populate fields with paths to
    your moodledata copy / copy database / location of moodle web files.
    Note, the $CFG->passwordsalt variable MUST be the same!
•   Change collation of your copy database to utf8_general_ci;
•   Visit URL of where your new moodle web files are located in web browser
    (ie http://localhost/moodle2)
•   Follow onscreen instructions
•   Correct any errors as they occur
Common Problems & Solutions


• PHP Timeouts – The upgrade script can take a
  long time to run. Can you adjust your
  max_execution_time settings?
• Number of Quiz attempts – Generally if you
  have less than 10,000 quiz attempts Moodle
  will upgrade fine, if not you will need to use
  the ‘Question Upgrade Helper Plugin’
Common Problems & Solutions


• Moodle Log table to big – the mdl_log table
  may need truncating.
• Database collation issues – Moodle 2 requires
  UTF8 collation on database tables and fields.
  In order to perform this change download the
  Phoca collation tool from
  http://www.phoca.cz/phoca-changing-
  collation
• Extract the tool and move to the root of your
  webserver. Access the tool through the
  browser. Fill in database credentials and run.
Common Problems & Solutions


• Database Field Types – sometimes may need
  changing ie, INT(5) may need increase to
  INT(10)
• Missing fields in database tables – these may
  need adding to database schema of tables to
  proceed with upgrade.
• Missing database tables – The tables and their
  schema may need to be created.
InnoDB Conversion

• Moodle provides built in scripts to convert
  your database to use the InnoDB engine over
  MyISAM.
• Running the following command will do the
  legwork for you:-

 /usr/bin/php admin/cli/mysql_engine.php --engine=InnoDB

 c:phpphp.exe c:apache2htdocsadminclimysql_engine.php –engine=InnoDB
Problem Blocks & Mods


• Various Moodle 1.9 blocks are incompatible with
  Moodle 2.x.x. A comprehensive list is as follows:-
   –   Mod hotpot
   –   Mod journal
   –   Block loancalc
   –   Block admin
   –   Block admin bookmarks
   –   Course report logs
   –   Course report stats
Problem Blocks & Mods


– Course report participation
– Filter easyview
– Other 3rd party mods / blocks / filters / question types

And most importantly Moodle 1.9.x Themes!

These blocks/mods/filters can be removed from their
  respective folders to proceed with the upgrade. If
  Moodle 2 versions of these blocks exist you will
  generally find you can recover any data associated
  with them as it will still exist in the database, and will
  be populated once the block is re-added to Moodle.

Weitere ähnliche Inhalte

Was ist angesagt?

Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
Sharon James
 
Google appenginejava.ppt
Google appenginejava.pptGoogle appenginejava.ppt
Google appenginejava.ppt
Young Alista
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
Mr SMAK
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
drupalcampest
 

Was ist angesagt? (19)

Superscalar processors
Superscalar processorsSuperscalar processors
Superscalar processors
 
Training Slides: Basics 102: Introduction to Tungsten Clustering
Training Slides: Basics 102: Introduction to Tungsten ClusteringTraining Slides: Basics 102: Introduction to Tungsten Clustering
Training Slides: Basics 102: Introduction to Tungsten Clustering
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
 
Google appenginejava.ppt
Google appenginejava.pptGoogle appenginejava.ppt
Google appenginejava.ppt
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Acceptance test with behat
Acceptance test with behatAcceptance test with behat
Acceptance test with behat
 
XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...
XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...
XPages Performance Master Class - Survive in the fast lane on the Autobahn (E...
 
Lecture 6.1
Lecture  6.1Lecture  6.1
Lecture 6.1
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 
13 superscalar
13 superscalar13 superscalar
13 superscalar
 
Capacity Management/Provisioning (Cloud's full, Can't build here)
Capacity Management/Provisioning (Cloud's full, Can't build here)Capacity Management/Provisioning (Cloud's full, Can't build here)
Capacity Management/Provisioning (Cloud's full, Can't build here)
 
Cache coherence
Cache coherenceCache coherence
Cache coherence
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
 
Veeam backup Oracle DB in a VM is easy and reliable way to protect data
Veeam backup Oracle DB in a VM is easy and reliable way to protect dataVeeam backup Oracle DB in a VM is easy and reliable way to protect data
Veeam backup Oracle DB in a VM is easy and reliable way to protect data
 
ppt
pptppt
ppt
 
Microreboot
MicrorebootMicroreboot
Microreboot
 
Deploying Maximum HA Architecture With PostgreSQL
Deploying Maximum HA Architecture With PostgreSQLDeploying Maximum HA Architecture With PostgreSQL
Deploying Maximum HA Architecture With PostgreSQL
 
I Heart Drupal
I Heart DrupalI Heart Drupal
I Heart Drupal
 
Cache coherence problem and its solutions
Cache coherence problem and its solutionsCache coherence problem and its solutions
Cache coherence problem and its solutions
 

Andere mochten auch

Cloud development made easy with cloud foundry indicthreads cloud computing...
Cloud development made easy with cloud foundry   indicthreads cloud computing...Cloud development made easy with cloud foundry   indicthreads cloud computing...
Cloud development made easy with cloud foundry indicthreads cloud computing...
IndicThreads
 

Andere mochten auch (9)

Rsc update feb 2014
Rsc update feb 2014Rsc update feb 2014
Rsc update feb 2014
 
Phone for Me, Tablet for We: Building a multi screen app in One Hour
Phone for Me, Tablet for We: Building a multi screen app in One HourPhone for Me, Tablet for We: Building a multi screen app in One Hour
Phone for Me, Tablet for We: Building a multi screen app in One Hour
 
Indic threads pune12-recommenders-apache-mahout
Indic threads pune12-recommenders-apache-mahoutIndic threads pune12-recommenders-apache-mahout
Indic threads pune12-recommenders-apache-mahout
 
The move to m2 colchsfc
The move to m2 colchsfcThe move to m2 colchsfc
The move to m2 colchsfc
 
Indic threads pune12-typesafe stack software development on the jvm
Indic threads pune12-typesafe stack software development on the jvmIndic threads pune12-typesafe stack software development on the jvm
Indic threads pune12-typesafe stack software development on the jvm
 
Cloud development made easy with cloud foundry indicthreads cloud computing...
Cloud development made easy with cloud foundry   indicthreads cloud computing...Cloud development made easy with cloud foundry   indicthreads cloud computing...
Cloud development made easy with cloud foundry indicthreads cloud computing...
 
Building modular applications
Building modular applicationsBuilding modular applications
Building modular applications
 
Indic threads pune12-accelerating computation in html 5
Indic threads pune12-accelerating computation in html 5Indic threads pune12-accelerating computation in html 5
Indic threads pune12-accelerating computation in html 5
 
Http2 is here! And why the web needs it
Http2 is here! And why the web needs itHttp2 is here! And why the web needs it
Http2 is here! And why the web needs it
 

Ähnlich wie Moving to moodle 2

Building an OpenMRS Distribution - Lessons from KenyaEMR
Building an OpenMRS Distribution - Lessons from KenyaEMRBuilding an OpenMRS Distribution - Lessons from KenyaEMR
Building an OpenMRS Distribution - Lessons from KenyaEMR
rowanseymour
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera Cluster
Abdul Manaf
 
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
camp_drupal_ua
 
Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3
Drupalcon Paris
 

Ähnlich wie Moving to moodle 2 (20)

Movingto moodle2 v1 1
Movingto moodle2 v1 1Movingto moodle2 v1 1
Movingto moodle2 v1 1
 
Running SQL Queries on the Moodle Database
Running SQL Queries on the Moodle DatabaseRunning SQL Queries on the Moodle Database
Running SQL Queries on the Moodle Database
 
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
 
Building an OpenMRS Distribution - Lessons from KenyaEMR
Building an OpenMRS Distribution - Lessons from KenyaEMRBuilding an OpenMRS Distribution - Lessons from KenyaEMR
Building an OpenMRS Distribution - Lessons from KenyaEMR
 
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
 
Installing OpenCart 3 module
Installing OpenCart 3 moduleInstalling OpenCart 3 module
Installing OpenCart 3 module
 
Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4Ahmedabad MuleSoft Meetup #4
Ahmedabad MuleSoft Meetup #4
 
Managing Exchange 2016 - Paul Robichaux
Managing Exchange 2016 - Paul RobichauxManaging Exchange 2016 - Paul Robichaux
Managing Exchange 2016 - Paul Robichaux
 
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
 
Lms presentation1
Lms presentation1Lms presentation1
Lms presentation1
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High Availability
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera Cluster
 
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
Anna Fedoruk.Theworkflow.DrupalCamp Kyiv 2011
 
They why behind php frameworks
They why behind php frameworksThey why behind php frameworks
They why behind php frameworks
 
Midwest PHP - Scaling Magento
Midwest PHP - Scaling MagentoMidwest PHP - Scaling Magento
Midwest PHP - Scaling Magento
 
SOA with PHP and Symfony
SOA with PHP and SymfonySOA with PHP and Symfony
SOA with PHP and Symfony
 
Postgresql in Education
Postgresql in EducationPostgresql in Education
Postgresql in Education
 
Fundamentals of performance tuning PHP on IBM i
Fundamentals of performance tuning PHP on IBM i  Fundamentals of performance tuning PHP on IBM i
Fundamentals of performance tuning PHP on IBM i
 
Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3
 

Mehr von JISC RSC Eastern

Jisc RSC Eastern Technical Managers forum 'Janet' presentation
Jisc RSC Eastern Technical Managers forum 'Janet' presentationJisc RSC Eastern Technical Managers forum 'Janet' presentation
Jisc RSC Eastern Technical Managers forum 'Janet' presentation
JISC RSC Eastern
 
Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...
Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...
Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...
JISC RSC Eastern
 
Jisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet Academy
Jisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet AcademyJisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet Academy
Jisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet Academy
JISC RSC Eastern
 
Jisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern update
Jisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern updateJisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern update
Jisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern update
JISC RSC Eastern
 

Mehr von JISC RSC Eastern (20)

Jisc RSC Eastern Technical Managers forum 'Janet' presentation
Jisc RSC Eastern Technical Managers forum 'Janet' presentationJisc RSC Eastern Technical Managers forum 'Janet' presentation
Jisc RSC Eastern Technical Managers forum 'Janet' presentation
 
Jisc RSC Eastern Digital Literacies event 30.04.14 "Introduction to Digital L...
Jisc RSC Eastern Digital Literacies event 30.04.14 "Introduction to Digital L...Jisc RSC Eastern Digital Literacies event 30.04.14 "Introduction to Digital L...
Jisc RSC Eastern Digital Literacies event 30.04.14 "Introduction to Digital L...
 
Jisc RSC Eastern VLE forum 28/03/14 'Flippin' Mobiles - How do they effect on...
Jisc RSC Eastern VLE forum 28/03/14 'Flippin' Mobiles - How do they effect on...Jisc RSC Eastern VLE forum 28/03/14 'Flippin' Mobiles - How do they effect on...
Jisc RSC Eastern VLE forum 28/03/14 'Flippin' Mobiles - How do they effect on...
 
Learning Resources Managers forum 14/03/14 - LRC and e-Learning Primary Proje...
Learning Resources Managers forum 14/03/14 - LRC and e-Learning Primary Proje...Learning Resources Managers forum 14/03/14 - LRC and e-Learning Primary Proje...
Learning Resources Managers forum 14/03/14 - LRC and e-Learning Primary Proje...
 
Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...
Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...
Jisc RSC Eastern Learning Resources Managers forum 14/03/14 - Mobile users an...
 
Jisc RSC Eastern Microsoft Briefing - Ridgian BI Jisc RSC Eastern 19th march ...
Jisc RSC Eastern Microsoft Briefing - Ridgian BI Jisc RSC Eastern 19th march ...Jisc RSC Eastern Microsoft Briefing - Ridgian BI Jisc RSC Eastern 19th march ...
Jisc RSC Eastern Microsoft Briefing - Ridgian BI Jisc RSC Eastern 19th march ...
 
Jisc RSC Eastern forum 14th March 2014 Destiny Wireless Presentation
Jisc RSC Eastern forum 14th March 2014 Destiny Wireless PresentationJisc RSC Eastern forum 14th March 2014 Destiny Wireless Presentation
Jisc RSC Eastern forum 14th March 2014 Destiny Wireless Presentation
 
Jisc RSC Eastern e-Learning forum 14th March 2014 Eastern update
Jisc RSC Eastern e-Learning forum 14th March 2014 Eastern update Jisc RSC Eastern e-Learning forum 14th March 2014 Eastern update
Jisc RSC Eastern e-Learning forum 14th March 2014 Eastern update
 
Jisc RSC Eastern LRMF 14th March 2014 - RSC Eastern Update
Jisc RSC Eastern LRMF 14th March 2014 - RSC Eastern UpdateJisc RSC Eastern LRMF 14th March 2014 - RSC Eastern Update
Jisc RSC Eastern LRMF 14th March 2014 - RSC Eastern Update
 
Jisc RSC Eastern LRMF Mobile users and handhelds
Jisc RSC Eastern LRMF Mobile users and handheldsJisc RSC Eastern LRMF Mobile users and handhelds
Jisc RSC Eastern LRMF Mobile users and handhelds
 
Jisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet Academy
Jisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet AcademyJisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet Academy
Jisc RSC Eastern / Microsoft Briefing Tablets in Education - Tablet Academy
 
Jisc RSC Eastern / Microsoft Briefing 19.03.14 How to achieve a successful CR...
Jisc RSC Eastern / Microsoft Briefing 19.03.14 How to achieve a successful CR...Jisc RSC Eastern / Microsoft Briefing 19.03.14 How to achieve a successful CR...
Jisc RSC Eastern / Microsoft Briefing 19.03.14 How to achieve a successful CR...
 
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom CommunicationsRsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications
 
Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...
Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...
Jisc RSC Eastern Technical Managers Forum 5th February 2014 Oaklands College ...
 
Janet feb2014
Janet feb2014Janet feb2014
Janet feb2014
 
Service level agreements
Service level agreementsService level agreements
Service level agreements
 
Jisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern update
Jisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern updateJisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern update
Jisc RSC Eastern Learning Resources Managers forum Nov 2013 RSC Eastern update
 
Jisc RSC Eastern e-Fair 2012 Jisc TechDis
Jisc RSC Eastern e-Fair 2012 Jisc TechDisJisc RSC Eastern e-Fair 2012 Jisc TechDis
Jisc RSC Eastern e-Fair 2012 Jisc TechDis
 
Jisc RSC Eastern eFair 2012 'Free enabling technologies'
Jisc RSC Eastern eFair 2012 'Free enabling technologies'Jisc RSC Eastern eFair 2012 'Free enabling technologies'
Jisc RSC Eastern eFair 2012 'Free enabling technologies'
 
Jisc RSC Eastern eFair July 2013 'A leg to stand on... (Jisc Techdis, inclusi...
Jisc RSC Eastern eFair July 2013 'A leg to stand on... (Jisc Techdis, inclusi...Jisc RSC Eastern eFair July 2013 'A leg to stand on... (Jisc Techdis, inclusi...
Jisc RSC Eastern eFair July 2013 'A leg to stand on... (Jisc Techdis, inclusi...
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Moving to moodle 2

  • 1. Moving to Moodle 2 Technical Upgrade Paths and Considerations 01562 744348 http://www.vlemiddleware.com
  • 2. Introduction • Moving to Moodle 2 can be rather daunting experience for any VLE Administrator • Planning and Testing are extremely paramount during this transition period to make sure everything goes as smoothly as possible.
  • 3. Server Specification • PHP 5.3.2 or later required! - Enabled extensions: soap, intl, mysql, iconv, mbstring, curl, openssl, tokenizer, x mlrpc, ctype, zip, gd, simplexml, spl, pcre, dom, xml, json (red: Must be installed) • MySQL 5.0.25 or later - INNODB engine recommended • PostgreSQL 8.3 or later • MSSQL 2005 or later
  • 4. Fresh Install vs Progressive Upgrade • Once you have deemed your server suitable for running Moodle 2.x.x you must decide which upgrade route you plan to follow. – A Fresh Install – Or a Progressive Upgrade of your existing site • There are pro’s and con’s to both routes which we will discuss further
  • 5. Fresh Installation, Pros! • A good time to do housekeeping • Less Errors • Cleaner Build (Moodle 2.x.x code only)
  • 6. Fresh Installation, Cons! • Time taken to migrate courses • Which courses are you going to backup? • Shared Hosting, can you adjust PHP settings? • Shared Hosting, do you have access to server to upload backup files?
  • 7. Progressive Upgrade, Pros! • No need to manually recreate courses and categories. • Won’t lose any site news, site settings, users. • Faster turnaround than fresh install. • Moodle will be exactly the same
  • 8. Progressive Upgrade, Cons! • Possibility of errors! • Keeps the ‘clutter’ of existing Moodle • Possible corruption of data • Skills need to perform the upgrade • Need server space to run and test ‘test upgrade’ • Time spent testing ‘test’ upgrade
  • 9. How to perform an upgrade? • Take a copy of moodledata folder (/var/moodledata) • Take a copy of moodle web folder (/var/www/html) • Take a copy of database using mysqldump & restore to a new database • Download Moodle 2.x.x files • Copy Moodle 2 files over the top of your copied moodle web folder. • Rename config.dist.php to config.php and populate fields with paths to your moodledata copy / copy database / location of moodle web files. Note, the $CFG->passwordsalt variable MUST be the same! • Change collation of your copy database to utf8_general_ci; • Visit URL of where your new moodle web files are located in web browser (ie http://localhost/moodle2) • Follow onscreen instructions • Correct any errors as they occur
  • 10. Common Problems & Solutions • PHP Timeouts – The upgrade script can take a long time to run. Can you adjust your max_execution_time settings? • Number of Quiz attempts – Generally if you have less than 10,000 quiz attempts Moodle will upgrade fine, if not you will need to use the ‘Question Upgrade Helper Plugin’
  • 11. Common Problems & Solutions • Moodle Log table to big – the mdl_log table may need truncating. • Database collation issues – Moodle 2 requires UTF8 collation on database tables and fields. In order to perform this change download the Phoca collation tool from http://www.phoca.cz/phoca-changing- collation
  • 12. • Extract the tool and move to the root of your webserver. Access the tool through the browser. Fill in database credentials and run.
  • 13. Common Problems & Solutions • Database Field Types – sometimes may need changing ie, INT(5) may need increase to INT(10) • Missing fields in database tables – these may need adding to database schema of tables to proceed with upgrade. • Missing database tables – The tables and their schema may need to be created.
  • 14. InnoDB Conversion • Moodle provides built in scripts to convert your database to use the InnoDB engine over MyISAM. • Running the following command will do the legwork for you:- /usr/bin/php admin/cli/mysql_engine.php --engine=InnoDB c:phpphp.exe c:apache2htdocsadminclimysql_engine.php –engine=InnoDB
  • 15. Problem Blocks & Mods • Various Moodle 1.9 blocks are incompatible with Moodle 2.x.x. A comprehensive list is as follows:- – Mod hotpot – Mod journal – Block loancalc – Block admin – Block admin bookmarks – Course report logs – Course report stats
  • 16. Problem Blocks & Mods – Course report participation – Filter easyview – Other 3rd party mods / blocks / filters / question types And most importantly Moodle 1.9.x Themes! These blocks/mods/filters can be removed from their respective folders to proceed with the upgrade. If Moodle 2 versions of these blocks exist you will generally find you can recover any data associated with them as it will still exist in the database, and will be populated once the block is re-added to Moodle.