Initial version of Finnish translation, as done by Petri Asikainen <paca@sci.fi>
[moodle.git] / UPGRADING.txt
blobe2c802fe6925ee2699f865774c0457b3d6b7ea65
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).  If you have 
30     created new themes or other plug-ins then make sure
31     you copy those across too.
33 3)  Visit the home page of your installation while logged
34     in as an admin.  Moodle will automatically detect the 
35     new version and perform any database upgrades that 
36     might be necessary.
38 If all goes well (no error messages) then you can just 
39 go on using Moodle normally.
41 If you have problems with this procedure, let me know.
43 Cheers,
44 Martin