thomascube
2008-10-29 0089fd8dd52d406ecd9f47d0643296a2ca2ee258
commit | author | age
a2451c 1 UPGRADING instructions
T 2 ======================
4e17e6 3
c8fb2b 4 First you should remove all subfolders from /program/localization/
T 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
4e17e6 9 of RoundCube Webmail.
T 10
0089fd 11 1. Replace index.php and all files in
T 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
7e77b4 32 from version 0.2-alpha
A 33 ----------------------------------------
34 * replace index.php
35 * replace all files in folder /bin/
36 * replace all files in folder /program/
0089fd 37 * replace all files in folder /installer/
7e77b4 38 * replace all files in folder /skins/default/
A 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
9e8e5f 44 * WARNING: 'db_backend' option has been removed, now only
A 45   PEAR::MDB2 driver is supported
7e77b4 46
A 47
30606b 48 from version 0.1.1
A 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/
c8fb2b 54 * run all commands in SQL/[yourdbtype].update.sql
T 55   below the line "-- Updates from version 0.1.1"
30606b 56 * check the config/main.inc.php.dist for new configuration 
A 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
83ce4b 71 from version 0.1-rc2
T 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/
30606b 77 * run all commands in SQL/[yourdbtype].update.sql
83ce4b 78
T 79
b37599 80 from version 0.1-rc1
f7bfec 81 ----------------------------------------
T 82 * replace index.php
83ce4b 83 * replace all files in folder /bin/
f7bfec 84 * replace all files in folder /program/
T 85 * replace all files in folder /skins/default/
b37599 86 * If you have LDAP servers configured you should re-configure
T 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
83ce4b 93 * replace all files in folder /bin/
b37599 94 * replace all files in folder /program/
T 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
635831 98 * add these lines to /config/main.inc.php
b37599 99    $rcmail_config['draft_autosave'] = 300;
T 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
f7bfec 103
T 104
105 form version 0.1-beta
106 ----------------------------------------
107 * replace index.php
83ce4b 108 * replace all files in folder /bin/
f7bfec 109 * replace all files in folder /program/
T 110 * replace all files in folder /skins/default/
b37599 111 * run all commands in SQL/[yourdbtype].update.sql or
T 112   re-initalize the database with [yourdbtype].initial.sql
113 * add this line to /config/db.inc.php
114    $rcmail_config['db_persistent'] = false;
f7bfec 115 * add these lines to /config/main.inc.php
b37599 116    $rcmail_config['drafts_mbox'] = 'Drafts';
T 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;
f7bfec 122 * replace the following line from /config/main.inc.php
T 123    @include($_SERVER['HTTP_HOST'].'.inc.php');
124   with 
b37599 125    $rcmail_config['include_host_config'] = false;