Note: This documentation is for Moodle 2.7. For up-to-date documentation see Upgrading FAQ.

Upgrading FAQ: Difference between revisions

From MoodleDocs
(Can I upgrade more than one version at a time?)
(download link for Moodle 2.2)
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Installing Moodle}}
{{Installing Moodle}}
==How do I upgrade from 1.9.x to 2.7?==
1.x ->  1.9.19 -> 2.2.11 -> 2.7
(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?==
==How do I upgrade Moodle? Do I just overwrite the files?==
Do not overwrite files, it may cause strange errors. You should read the [[Upgrading]] documentation before proceeding.
 
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!"==
==I obtain the message "Upgrade already running in this session, please wait!"==
Line 9: Line 18:
:''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.
:''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.


==I've just upgraded to Moodle 2 and notice lots of missing files==
==Can I upgrade more than one version at a time?==


Check whether the files were also missing in the Moodle 1.9 site. Often problems, which on first sight seem to be caused by the upgrade, actually existed in the 1.9 site.
You can only upgrade to Moodle 2.7 from Moodle 2.2.


==Can I upgrade more than one version at a time?==
You can only upgrade to Moodle 2.2 from Moodle 1.9 or later.
 
For information on upgrading from versions of Moodle prior to 1.9, see the section 'Upgrading more than one version' in the Moodle 2.2 documentation [https://docs.moodle.org/22/en/Upgrading Upgrading].
 
==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.
 
==See also==


See the section 'Upgrading more than one version' in [[Upgrading]].
* [[Installation FAQ]]
* Using Moodle [https://moodle.org/mod/forum/discuss.php?d=224561 Notes on upgrading Moodle from 1.9.x to 2.4.1 on a shared server] forum discussion


[[Category:FAQ]]
[[Category:FAQ]]
[[ja:アップグレードFAQ]]
[[es:Actualización FAQ]]

Latest revision as of 11:31, 25 January 2017

How do I upgrade from 1.9.x to 2.7?

1.x -> 1.9.19 -> 2.2.11 -> 2.7

(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 2.7 from Moodle 2.2.

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

For information on upgrading from versions of Moodle prior to 1.9, see the section 'Upgrading more than one version' in the Moodle 2.2 documentation Upgrading.

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

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

See also