Tuesday, March 11, 2014

Moodle simple 2.4 - 2.5 upgrade....

I have done this a few times now.  These are the steps to follow when upgrading a standard moodle install on a windows server (probably slightly different on some other OS, but only slightly).

  1. Put your site to be upgraded into maintenance mode
  2. Download your 2.5 moodle zip file from
  3. Unzip the package somewhere
  4. create a temp folder
  5. copy the config.php file from the moodle web root to be upgraded into the temp folder
  6. copy any image files from the local folder of the site to be upgraded into the temp folder
  7. dump the content of the web root being upgrades
  8. copy the contents of the unzipped moodle file into the now empty web root being upgraded
  9. copy the config.php file from the temp folder into the web root with the new moodle files
  10. copy the images from the temp folder into the local folder of the new moodle files
  11. browse the site.

You should see this:














Click Continue and see this, Server checks:



























Click continue and see the Plugns notifications, like this (only the very top of the screen)

These are all the activity modules about to upgrade in the DB













And finally, the home page back and upgraded.  With all the passwords and data and everything in order.


I logged in, using same credentials as before, and had a final step to process - changes to the moodle environment that I had to ok.




Soup to Nuts maybe 30 minutes to upgrade, and that includes getting and unzipping the new moodle files.  This is a small site in terms of number of users, courses and activity.


No comments:

Post a Comment