Installing and upgrading help

how to Upgrade version 2.3.1 to 2.7

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of krishna T
how to Upgrade version 2.3.1 to 2.7

I have installed moodle version 2.3.1 and some coding customized .Now i want to upgrade moodle version 2.7  how to upgrade with existing customized source code. 

Average of ratings: -
Picture of Howard Miller
Re: how to Upgrade version 2.3.1 to 2.7
Group Core developersGroup Documentation writersGroup Particularly helpful MoodlersGroup Plugin developers

What did you customise?

Personally (we often get asked to do just this) I would start by getting the code into Git and go from there. Roughly speaking...

1. Get an original copy of Moodle of exactly the same version you have based your changes on. You can do this by looking at the build date in version.php and then digging back through the changes to that file in (this isn't so hard, but read the Git documentation)

2. When you've done that do a 'diff' ( or between the 'clean' version and your version to see what the changes are and get a patch file. 

3. Get a clean copy of 2.7, do a clean install (don't upgrade yet)

4. Apply the patches to 2.7. Test, check and fix all the weird problems you have just introduced.

5. Find all the 'update.txt' files in the Moodle code that apply to your changes. Read them and act as required.

6. Use this version of 2.7 with your changes to do the upgrade. Now fix all the new problems you will find. 

Good luck smile

Average of ratings: Useful (3)
Mary Cooch
Re: how to Upgrade version 2.3.1 to 2.7
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

Thanks - just added to Upgrading FAQ

Average of ratings: -