-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Upgrade overview.

Upgrade overview: Difference between revisions

From MoodleDocs
(how to upgrade 1st draft)
 
m (Moodle 3.5 needed to upgrade to Moodle 3.9)
 
(46 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<span class="small-info-right">''Moodle 2<br />available now!''</span>
{{Installing Moodle}}
{|
<span class="small-info-right">''Moodle {{Version}} available now!''</span>
| [[File:Environment.png|thumb|Step 1: Server check]]
Start enjoying the cool features of the latest and greatest version of Moodle in four easy steps...
| [[File:Site backup.png|thumb|Step 2: Backup]]
__NOTOC__
| [[File:Download.gif|thumb|Step 3: Get new code]]
==Step 1: Make sure that your server can run Moodle {{Version}}==
|}


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...
(Note: You need to upgrade to Moodle 3.5 or later before upgrading to {{Version}}.)
__NOTOC__
==Step 1: Make sure that your server can run Moodle 2.2==


Go to ''Settings > Site administration > Server > Environment''
Go to ''Site administration > Server > Environment''


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


==Step 2: Backup everything==
Any problems?  You probably need to upgrade your server software (such as PHP) to a more recent version.
 
==Step 2: Be prepared!==
 
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 Moodle code==
 
At this point you can replace the Moodle code on your server with the version you downloaded.
 
; Check plugins: Any plugins you have installed will also to be replaced with a version for your new Moodle version. If there is not yet an updated version of the plugin available, it will need to be uninstalled before upgrading your site.
 
==Step 4: Perform the upgrade!==
 
Trigger the upgrade by [[Upgrading#Finishing_the_upgrade|visiting the admin page]].


Follow the instructions here: [[Site backup]]
If you have a large site this may take hours, so we recommend [[Administration_via_command_line#Upgrading|upgrading via command line]].


==Step 3: Replace your old Moodle code with new Moodle 2.2 code==
==How did you go?==


*Small site? Instructions here: [https://docs.moodle.org/22/en/Upgrading#Install_the_new_Moodle_software Installing the new Moodle software]
; Yes - it worked!: Great!  Repeat the process for Moodle {{Version}}, and please post in the [http://moodle.org/mod/forum/view.php?id=28 Installation help forum] and share your success with the Moodle community!
*Large site? Instructions here: [https://docs.moodle.org/22/en/Administration_via_command_line#Upgrading_via_command_line Upgrading via command line]
; 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 help forum] where our experts are waiting to explain any errors you obtain.


Finish by going to ''Settings > Site administration > Notifications'' and watching Moodle do all the rest!
==See also==


===Success?===
* [[Upgrading]] for full details of the process
* [[Upgrading FAQ]]


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!
[[Category:Installation]]


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.
[[de:Aktualisierung in Kürze]]
[[es:Visión general de actualización]]
[[ja:アップグレード概要]]
[[fr:Aperçu des mises à jour]]

Latest revision as of 07:46, 17 June 2020

Moodle 3.10 available now! Start enjoying the cool features of the latest and greatest version of Moodle in four easy steps...

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

(Note: You need to upgrade to Moodle 3.5 or later before upgrading to 3.10.)

Go to Site administration > Server > Environment

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

Any problems? You probably need to upgrade your server software (such as PHP) to a more recent version.

Step 2: Be prepared!

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 Moodle code

At this point you can replace the Moodle code on your server with the version you downloaded.

Check plugins
Any plugins you have installed will also to be replaced with a version for your new Moodle version. If there is not yet an updated version of the plugin available, it will need to be uninstalled before upgrading your site.

Step 4: Perform the upgrade!

Trigger the upgrade by visiting the admin page.

If you have a large site this may take hours, so we recommend upgrading via command line.

How did you go?

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

See also