How to upgrade from moodle 1.9.4+ to latest version?

How to upgrade from moodle 1.9.4+ to latest version?

by erotavlas erotavlas -
Number of replies: 3

Hi,
I'm a new user of moodle and I found it very interesting idea.
I have to manage a web server hosted by an hosting service with linux installed.
At the moment the version of moodle is 1.9.4+ build 20090204. I want to upgrade to latest version available, but I read this https://docs.moodle.org/27/en/Upgrading_FAQ#How_do_I_upgrade_from_1.9.x_to_2.7.3F and I discovered that the procedure is a little bit tricky.
So I have some questions. If I want to avoid the step by step procedure and I install the latest moodle, how is difficult to migrate all previous content (the website is essentially made of pages of plane html without any courses)?

Otherwise if I decide to follow the update scheme is necessary to update moodle and each plug-in to latest version of
each branch before going on?
I downloaded the production website and I want to replicate the installation in different system (virtual machine). I successfully installed the version of moodle 1.9.4, but now how can merge it with the real version of the website?
I trivially copied the files from website in moodle installation directories, but it does not work.


Thank you

Average of ratings: -
In reply to erotavlas erotavlas

Re: How to upgrade from moodle 1.9.4+ to latest version?

by G. M. -

Tore,

Assuming that when you say "the website" you only refer to the Moodle installation, and that the "made of pages" refers only to what has been put at the Front page, then yes, it would be best to install the latest release, given that the server has the minimum versions of the elements required, and then reproduce the content on the new installation.

Regarding an upgrade, you basically would have to follow this upgrading path: 1.9.4 -> 1.9.19+ -> 2.2.11 -> 2.7.2+ (but once again, checking that the server complies with the minimum requirements for each version).

--- References

https://download.moodle.org/releases/latest/
https://download.moodle.org/releases/legacy/

https://docs.moodle.org/19/en/Upgrading
https://docs.moodle.org/19/en/Upgrading_to_Moodle_1.9

https://docs.moodle.org/22/en/Upgrading
https://docs.moodle.org/22/en/Upgrading_to_Moodle_2.2

https://docs.moodle.org/27/en/Upgrading
https://docs.moodle.org/27/en/Upgrading_to_Moodle_2.7

https://docs.moodle.org/20/en/Front_page
https://docs.moodle.org/27/en/Front_page

In reply to G. M.

Re: How to upgrade from moodle 1.9.4+ to latest version?

by erotavlas erotavlas -

Hi Guillermo,

thank you for you fast reply. You are right the website means the Moodle installation and made of pages means not only the front page, but also other pages of Moodle used as plain html pages. I did not realized the current website, but I'm involved on upgrading it to latest version.

So I'm asking to you if it better to make a clean installation of latest version and then to transfer manually the content (since it seems that there are few pages (realized by course pages) and there are not real courses) or if is better to follow the upgrade procedure. I tried the latter option by manually copying the website content (Moodle installation) as explained here https://docs.moodle.org/27/en/Site_backup, but after the installation of a new version of Moodle (I tried both 1.9.4 and 2.7.2) in a clean system and after the restoration of database and moodledata I'm not able to get the current website of the production website. What am I missing? I'm sorry, but I'm still learning how Moodle work.

Thank you

In reply to erotavlas erotavlas

Re: How to upgrade from moodle 1.9.4+ to latest version?

by G. M. -

Tore,

As I mentioned, given the current state of the site, I would do a fresh install

https://docs.moodle.org/27/en/Installing_Moodle

of the latest version

https://download.moodle.org/releases/latest/

and then recreate the front page, etc.

A full site backup is done when one is about to upgrade so one can restore the original installation in case of failure; and of course, to keep periodic instances of an operational site, too.

If you want to follow the upgrade path, you then need to carefully read and follow the instructions at each of the upgrade pages I listed, there's no way around this. So first read the upgrading to 1.9 pages, be certain you have a clear picture of the process, and then do it. Once you have checked that the installation is working fine, repeat the procedure (see about the minimum requirements, read the corresponding upgrade pages, backup, place the new code, upgrade and check everything) for version 2.2 and finally for 2.7.

Average of ratings: Useful (1)