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