]> git.donarmstrong.com Git - roundcube.git/blob - UPGRADING
Imported Upstream version 0.2.1
[roundcube.git] / UPGRADING
1 UPGRADING instructions
2 ======================
3
4 First you should remove all subfolders from /program/localization/
5 because most language codes have changed in 0.2-alpha. This way you
6 can make sure that no old localization files remain on your disk.
7
8 Then follow these instructions if upgrading from a previous version
9 of RoundCube Webmail.
10
11 1. Replace index.php and all files in
12    - ./bin/
13    - ./SQL/
14    - ./program/
15    - ./installer/
16    - ./skins/default/
17 2. Run ./bin/update.sh from the commandline OR
18    open http://url-to-roundcube/installer/ in a browser. To enable
19    the latter one, you have to temporary set 'enable_installer' to true
20    in your local config/main.inc.php file.
21 3. Let the update script/installer check your configuration and
22    update your config files as suggested by the updater.
23 4. If suggested by the update script, run all commands in
24    ./SQL/[yourdbtype].update.sql that are superscribed with the
25    currently installed version number.
26 5. Make sure 'enable_installer' is set to false again.
27
28
29 For manually upgrading your RoundCube installation follow the instructions
30 that match the currently installed version:
31
32 from version 0.2-alpha
33 ----------------------------------------
34 * replace index.php
35 * replace all files in folder /bin/
36 * replace all files in folder /program/
37 * replace all files in folder /installer/
38 * replace all files in folder /skins/default/
39 * run all commands in SQL/[yourdbtype].update.sql
40   below the line "-- Updates from version 0.2-alpha"
41 * check the config/main.inc.php.dist for new configuration 
42   options and add them to your config 
43   WARNING: 'skin_path' option was replaced by 'skin' option
44 * WARNING: 'db_backend' option has been removed, now only
45   PEAR::MDB2 driver is supported
46
47
48 from version 0.1.1
49 ----------------------------------------
50 * replace index.php
51 * replace all files in folder /bin/
52 * replace all files in folder /program/
53 * replace all files in folder /skins/default/
54 * run all commands in SQL/[yourdbtype].update.sql
55   below the line "-- Updates from version 0.1.1"
56 * check the config/main.inc.php.dist for new configuration 
57   options and add them to your config 
58
59
60 from version 0.1-stable
61 ----------------------------------------
62 * replace index.php
63 * replace all files in folder /bin/
64 * replace all files in folder /program/
65 * replace all files in folder /skins/default/
66 * run all commands in SQL/[yourdbtype].update.sql
67 * check the config/main.inc.php.dist for new configuration options
68   and add them to your config 
69
70
71 from version 0.1-rc2
72 ----------------------------------------
73 * replace index.php
74 * replace all files in folder /bin/
75 * replace all files in folder /program/
76 * replace all files in folder /skins/default/
77 * run all commands in SQL/[yourdbtype].update.sql
78
79
80 from version 0.1-rc1
81 ----------------------------------------
82 * replace index.php
83 * replace all files in folder /bin/
84 * replace all files in folder /program/
85 * replace all files in folder /skins/default/
86 * If you have LDAP servers configured you should re-configure
87   the config entries using the template given in /config/main.inc.php.dist
88
89
90 from version 0.1-beta2
91 ----------------------------------------
92 * replace index.php
93 * replace all files in folder /bin/
94 * replace all files in folder /program/
95 * replace all files in folder /skins/default/
96 * run all commands in SQL/[yourdbtype].update.sql or
97   re-initalize the database with [yourdbtype].initial.sql
98 * add these lines to /config/main.inc.php
99    $rcmail_config['draft_autosave'] = 300;
100    $rcmail_config['date_today'] = 'H:i';
101 * If you have LDAP servers configured you should re-configure
102   the config entries using the template given in /config/main.inc.php.dist
103
104
105 form version 0.1-beta
106 ----------------------------------------
107 * replace index.php
108 * replace all files in folder /bin/
109 * replace all files in folder /program/
110 * replace all files in folder /skins/default/
111 * run all commands in SQL/[yourdbtype].update.sql or
112   re-initalize the database with [yourdbtype].initial.sql
113 * add this line to /config/db.inc.php
114    $rcmail_config['db_persistent'] = false;
115 * add these lines to /config/main.inc.php
116    $rcmail_config['drafts_mbox'] = 'Drafts';
117    $rcmail_config['junk_mbox'] = 'Junk';
118    $rcmail_config['product_name'] = 'RoundCube Webmail';
119    $rcmail_config['read_when_deleted'] = false;
120    $rcmail_config['enable_spellcheck'] = false;
121    $rcmail_config['protect_default_folders'] = false;
122 * replace the following line from /config/main.inc.php
123    @include($_SERVER['HTTP_HOST'].'.inc.php');
124   with 
125    $rcmail_config['include_host_config'] = false;