Difference between revisions of "Upgrading FAQ"

From Learnit docs
(Created page with "{{Installing Moodle}} ==How do I upgrade from 1.9.x to {{Version}}?== 1.x -> 1.9.19+ -> 2.2.11 -> 2.7.20 -> 3.0.10 -> {{Version}} (It is better to upgrade to latest curren...")
 
 
Line 2: Line 2:
 
==How do I upgrade from 1.9.x to {{Version}}?==
 
==How do I upgrade from 1.9.x to {{Version}}?==
  
1.x ->  1.9.19+ -> 2.2.11 -> 2.7.20 -> 3.0.10 -> {{Version}}  
+
1.x ->  1.9.19+ -> 2.2.11 -> 2.7.20 -> 3.2.9 on PHP7.1 -> 3.5 on PHP7.1/7.2 -> {{Version}}  
  
 
(It is better to upgrade to latest current stable before going to next branch, the same for plugins; upgrading from early stable branches usually works but there is no guarantee.)
 
(It is better to upgrade to latest current stable before going to next branch, the same for plugins; upgrading from early stable branches usually works but there is no guarantee.)
Line 20: Line 20:
 
==Can I upgrade more than one version at a time?==
 
==Can I upgrade more than one version at a time?==
  
You can only upgrade to Moodle {{Version}} from Moodle 3.0 or later.
+
You can only upgrade to Moodle {{Version}} from Moodle 3.2 or later.
  
 
You can only upgrade to Moodle 2.7 from Moodle 2.2 or later.
 
You can only upgrade to Moodle 2.7 from Moodle 2.2 or later.
Line 28: Line 28:
 
==I have custom code in my site. How do I upgrade?==
 
==I have custom code in my site. How do I upgrade?==
 
Please see this forum post on [https://moodle.org/mod/forum/discuss.php?d=263355#p1141326 upgrading with custom code] for some suggestions.
 
Please see this forum post on [https://moodle.org/mod/forum/discuss.php?d=263355#p1141326 upgrading with custom code] for some suggestions.
 +
 +
==Any further questions?==
 +
 +
Please post in the [https://moodle.org/mod/forum/view.php?id=28 Installing and upgrading help forum] on moodle.org.
  
 
==See also==
 
==See also==
Line 35: Line 39:
 
[[Category:FAQ]]
 
[[Category:FAQ]]
  
[[de:Aktualisierung FAQ]]
 
 
[[es:Actualización FAQ]]
 
[[es:Actualización FAQ]]
 
[[fr:FAQ de mise à jour]]
 
[[fr:FAQ de mise à jour]]
[[it:FAQ Aggiornamento]]
 
 
[[ja:アップグレードFAQ]]
 
[[ja:アップグレードFAQ]]

Latest revision as of 14:52, 11 June 2021

Template:Installing Moodle

How do I upgrade from 1.9.x to Template:Version?

1.x -> 1.9.19+ -> 2.2.11 -> 2.7.20 -> 3.2.9 on PHP7.1 -> 3.5 on PHP7.1/7.2 -> Template:Version

(It is better to upgrade to latest current stable before going to next branch, the same for plugins; upgrading from early stable branches usually works but there is no guarantee.)

Moodle 2.2.11 may be downloaded from https://download.moodle.org/stable22/.

How do I upgrade Moodle? Do I just overwrite the files?

Do NOT overwrite files, as it may cause strange errors. Read the Upgrading documentation before proceeding.

I obtain the message "Upgrade already running in this session, please wait!"

Most likely you refreshed the page before the completion message. If you are absolutely sure that there are no upgrade processes active (php and/or mysql), you can click on "!!!" and restart the upgrade.

Note: If you click on "'!!!" or try to restart the upgrade from another browser, there is a chance that your data in the database could be corrupted. If this happens, you will need to restore the database from sql dump and then restart the upgrade and wait - the process can take several hours on large sites.

Can I upgrade more than one version at a time?

You can only upgrade to Moodle Template:Version from Moodle 3.2 or later.

You can only upgrade to Moodle 2.7 from Moodle 2.2 or later.

You can only upgrade to Moodle 2.2 from Moodle 1.9 or later.

I have custom code in my site. How do I upgrade?

Please see this forum post on upgrading with custom code for some suggestions.

Any further questions?

Please post in the Installing and upgrading help forum on moodle.org.

See also

es:Actualización FAQ fr:FAQ de mise à jour ja:アップグレードFAQ