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