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.
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.
Before you do anything make sure you have a tested and working backup... and then test it again Site_backup
Moodle is fairly straightforward to upgrade but you need to sure that you can go back if anything goes wrong!
Jon
This is going to be quite the task.
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