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