Note: This documentation is for Moodle 2.7. For up-to-date documentation see Upgrade overview.

Upgrade overview: Difference between revisions

From MoodleDocs
Line 26: Line 26:
==Step 3: Replace your old Moodle code with new Moodle 2.2 code==
==Step 3: Replace your old Moodle code with new Moodle 2.2 code==


*Small site? Instructions here: [https://docs.moodle.org/22/en/Upgrading#Install_the_new_Moodle_software Installing the new Moodle software]
To upgrade Moodle all you need to do is replace the code and then run the upgrade scripts.
*Large site? Instructions here: [https://docs.moodle.org/22/en/Administration_via_command_line#Upgrading_via_command_line Upgrading via command line]


Finish by going to ''Settings > Site administration > Notifications'' and watching Moodle do all the rest!
;Small site: Instructions here: [https://docs.moodle.org/22/en/Upgrading#Install_the_new_Moodle_software Installing the new Moodle software]
;Large site?: Instructions here: [https://docs.moodle.org/22/en/Administration_via_command_line#Upgrading_via_command_line Upgrading via command line]


===Success?===
===Success?===


Yes - Great! Please post in the [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum] and share your joy with the Moodle community!
; Yes - it worked!: Great! Please post in the [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum] and share your joy with the Moodle community!
 
; No - I had an error: Don’t worry, help is at hand. Post in the [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum] where our experts are waiting to explain any errors you obtain.
No - Don’t worry, help is at hand. Post in the [http://moodle.org/mod/forum/view.php?id=28 Installation problems forum] where our experts are waiting to explain any errors you obtain.

Revision as of 06:37, 9 July 2012

Moodle 2
available now!

Step 1: Server check
Step 2: Backup
Step 3: Get new code

There’s no need to visit a store and pay for software. You can start enjoying the cool features of Moodle 2 in three easy steps...

Step 1: Make sure that your server can run Moodle 2.2

Go to Settings > Site administration > Server > Environment

Status OK for everything? Great! Go to step 2...

Note: You need to upgrade to Moodle 2.2 before upgrading to 2.3.

Step 2: Be prepared for failure

As usual with any large upgrade, you should always be prepared to "roll back" if there's an issue with your data or some custom code you've added.

A test install
We highly advise you make a copy of your production site to practice the upgrade on first. That way, if you run into any problems that need fixing you won't affect your main site.
Always make backups
When upgrading your production instance, make sure you have copies of everything, just in case. Full instructions are here: Site backup.

Step 3: Replace your old Moodle code with new Moodle 2.2 code

To upgrade Moodle all you need to do is replace the code and then run the upgrade scripts.

Small site
Instructions here: Installing the new Moodle software
Large site?
Instructions here: Upgrading via command line

Success?

Yes - it worked!
Great! Please post in the Installation problems forum and share your joy with the Moodle community!
No - I had an error
Don’t worry, help is at hand. Post in the Installation problems forum where our experts are waiting to explain any errors you obtain.