From: martin Date: Thu, 15 Aug 2002 05:45:17 +0000 (+0000) Subject: Brought this up to date, and reworded some stuff X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=aa3bc544d0a496410f217bc2de3c3a83cc2a4501;p=moodle.git Brought this up to date, and reworded some stuff --- diff --git a/UPGRADING b/UPGRADING index 0793898204..a1f3831bc7 100644 --- a/UPGRADING +++ b/UPGRADING @@ -1,16 +1,20 @@ UPGRADING $Id$ --------- -Since the first main release of Moodle (2002080100) -most upgrading is done automatically. See the file -version.php for all the details. +As Moodle grows, there are changes to the code and +sometimes changes to the database structures. + +Moodle is able to upgrade its own databases, using +information in files called version.php. There is +one of these for the main tables (in this directory) +and one for each module. When upgrading from any previous version of Moodle, all you normally will need to do is this: 1) Make a backup of your current Moodle installation - just in case something goes wrong and you need - to restore the older version. + in the unlikely case that something goes wrong and + you need to restore the older version. 2a) If you are using CVS, just go the root directory and type "cvs update -d" (or whatever the equivalent @@ -19,17 +23,17 @@ all you normally will need to do is this: OR 2b) Remove the current installation, and then unpack - the new installation in the same location. + the new tar or zip file in the same location. Make sure you copy the config.php file from your old installion to the new installation (or make a new one by editing config-dist.php). -3) IMPORTANT: Login as the admin user and visit - http://your.moodle.site/admin using a web browser. +3) Visit the home page of your installation. Moodle + will automatically detect the new version and perform + any database upgrades that might be necessary. -If all goes well, your databases will be upgraded to -suit the new files, and you can go on using Moodle -normally. +If all goes well (no error messages) then you can just +go on using Moodle normally. If you have problems with this procedure, let me know.