What is the easiest way to upgrade from Moodle 2.6.3 to 3.4.1?

What is the easiest way to upgrade from Moodle 2.6.3 to 3.4.1?

by Niju Mohan -
Number of replies: 4

Hi everyone,


What is the easiest way to upgrade from Moodle 2.6.3 to 3.4.1? Moodle and Moodledata folder is total coming to around 2 GB. So need a better way to do this without breaking anything. 

Average of ratings: -
In reply to Niju Mohan

Re: What is the easiest way to upgrade from Moodle 2.6.3 to 3.4.1?

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Probably the easiest way to upgrade a production Moodle is by first spending time learning how to upgrade an identical "experimental" moodle.

The Moodle docs are quite good explaining how to upgrade from earlier versions.

To get you started, make sure that your server meets Moodle 3.4 requirements.  If it does not, then you have a different problem to address first.

In reply to Niju Mohan

Re: What is the easiest way to upgrade from Moodle 2.6.3 to 3.4.1?

by Jon Witts -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Before you do anything make sure you have a tested and working backup... and then test it again wink Site_backup

Moodle is fairly straightforward to upgrade but you need to sure that you can go back if anything goes wrong!

Jon

In reply to Jon Witts

Re: What is the easiest way to upgrade from Moodle 2.6.3 to 3.4.1?

by Niju Mohan -
I have realised I have to upgrade to 3.0 first and then only I can upgrade it to 3.4.


This is going to be quite the task. 



In reply to Niju Mohan

Re: What is the easiest way to upgrade from Moodle 2.6.3 to 3.4.1?

by Ken Task -
Picture of Particularly helpful Moodlers

In the clone (which has already been suggested and a very wise one at that), Server - Environment - Update Component.

The pick list of which Moodle version to check should now have higher versions.  Check each and note the changes to not only Moodle version, but PHP version, MySQL version, DB config, etc.

It will help map out strategy for what to do when along the march to latest and greatest.

PHP version ... for example ... cannot upgrade PHP to 7.0.x or higher until one gets to 3.0.highest.  So the 2.6 -> 2.9 hops (note that is plural depending upon your preferences in hyperjumping nor not) will have to be performed using your current php version.

Also make sure, in the clone march, backup code and DB after each successful step up in the march.  IF a step hickups, you might have to restore the previous step/upgrade.

'spirit of sharing', Ken

Average of ratings: Useful (1)