How updates many moodle sites at same time

How updates many moodle sites at same time

by Paula Kamarasy -
Number of replies: 4

Hello dear

I´m a IT Manager of my University. Now we have 10 moodle instances for all universities. 1 instance for each faculty.

I want to know some method to keep my Moodle sites updates, i.e. what process i can use to apply patches, security, and general updates to my 10 instances what i maintain?

How i can determine when to apply these to my instances?

Warms regards, Paula

Average of ratings: -
In reply to Paula Kamarasy

Re: How updates many moodle sites at same time

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi

With updates you mean moving along a major version, like 1.9.7 -> 1.9.16, right? Then it is as simple as replacning the current Moodle source with the new one and triggering a script in the new source by visiting the notifications page. Stil it is prudent to take a site backup before you jump in.

Upgrades are major undertakings which need some evaluations and planning. The _technical_ part of it looks like http://docs.moodle.org/20/en/Upgrading.

As a system administrator you shoud be in the http://moodle.org/security mailing list.

P.S. I moved this from the "Hardware and Performance" forum to "General problems".
In reply to Paula Kamarasy

Re: How updates many moodle sites at same time

by Ramil Valitov -

Hi, Paula.

The best way is to use Git (not CVS). In this case you can check for the updates and get the latest for Moodle and plugins (that also support Git) in a jiffy. About using Git in Moodle, please read this page http://docs.moodle.org/22/en/Git_for_Administrators

In reply to Ramil Valitov

Re: How updates many moodle sites at same time

by Paula Kamarasy -

hi Ramil

do you can help me for update my moodles? i only want to see a guide for use in my enviroment.

For example i have a dedicated server Linux with WHM/CPanel installed. And my accounts are

/home/acccount1/public_html

/home/acccount2/public_html

..

/home/acccount10/public_html

 

all my moodle instances are within /public_html/.

I want to know where run GIT and how update my sites in my enviroment?

 

Warms regards, Paula

In reply to Paula Kamarasy

Re: How updates many moodle sites at same time

by Gavin Henrick -
Picture of Plugin developers

Hi Paula,


I think you will find no specific guide for your exact use case. It is not a typical situation except for hosting companies (like Moodle Partners) or some larger institutions, but it is not a very unusual one either. But it is certainly more about how to generically manage multiple php installs most effectively.

As linked in this thread, and others there are quite a few support pages for general usage of GIT in Moodle Docs and elsewhere like linked in this other thread ->  http://moodle.org/mod/forum/discuss.php?d=183693

Generally speaking you seem to be needing

When to update?

Well, technically there is a schedule and notification method.

a) make sure you have registered your moodle sites so that you get the update / security notification emails.

This way you will at least get an email about the changes.

b) You should schedule to come looking every 2 months at the most.  The past release schedule is here -> http://docs.moodle.org/dev/Releases  and the roadmap is here ->http://docs.moodle.org/dev/Roadmap

Expect minor releases every 2 months, and a major one every 6 months (Dec/June). So plan for these.

However, when to upgrade will probably be this timeline incorporated into the training schedule for your staff and so on. The major releases will have functional changes and improvements that may require training to be planned, scheduled etc.

How to update?

Although there are many many ways to do so, quick question - have you done an upgrade before? Have you used Git before?

You may want to have your development server separate to the production server, and manage the code there and push it into each of the different instances using different branches.

You may want to look at capistrano - https://github.com/capistrano/capistrano/wiki/Documentation-v2.x which has a good following.  They have some excellent documentation.

I am no expert on GIT, but there are quite a few such gurus in the forums here. If you run into problems following the existing documentation, drop another question in here with as much detail as possible and someone is bound to know!

Hope that is of help.