Added popup links for IP addresses in logs (display IP location on world map)
[moodle.git] / UPGRADING.txt
bloba1f3831bc733dec38212d4f226daad7a54ca0503
1 UPGRADING   $Id$
2 ---------
4 As Moodle grows, there are changes to the code and 
5 sometimes changes to the database structures.
7 Moodle is able to upgrade its own databases, using 
8 information in files called version.php.  There is 
9 one of these for the main tables (in this directory)
10 and one for each module.
12 When upgrading from any previous version of Moodle, 
13 all you normally will need to do is this:
15 1)  Make a backup of your current Moodle installation 
16     in the unlikely case that something goes wrong and 
17     you need to restore the older version.
19 2a) If you are using CVS, just go the root directory
20     and type "cvs update -d" (or whatever the equivalent
21     is on your non-Unix server).
23                        OR
25 2b) Remove the current installation, and then unpack 
26     the new tar or zip file in the same location.
27     Make sure you copy the config.php file from your 
28     old installion to the new installation (or make a 
29     new one by editing config-dist.php).
31 3)  Visit the home page of your installation.  Moodle
32     will automatically detect the new version and perform 
33     any database upgrades that might be necessary.
35 If all goes well (no error messages) then you can just 
36 go on using Moodle normally.
38 If you have problems with this procedure, let me know.
40 Cheers,
41 Martin