root/tags/jabberd-2.1.4/UPGRADE

Revision 166, 4.5 KB (checked in by smoku, 20 months ago)

Updated ChangeLog? and UPGRADE files

Line 
1This file contains upgrade instructions between different versions of jabberd2.
2
3* 2.1.3 to 2.1.4 upgrade:
4
5What had change:
6- full SQLite support
7- PostgreSQL NULL parameters handling
8- more than one LDAP server support
9- new LDAP append-realm setting
10- correct CA chain handling
11
12Please refer to sm.xml.dist and c2s.xml.dist for new config sections and add
13them to your config files.
14Please read these example files to see how to setup your CA chain correctly.
15You may also remove cachain option from c2s.xml.
16You may remove hostname form PostgreSQL setup to access it via unix socket.
17
18
19* 2.1 to 2.1.3 upgrade:
20
21What had change:
22- c2s.xml added <ssl-mechanisms/> section
23- c2s PAM authenticator now handles realm setting
24- libjabberd moved from /usr/lib to /usr/lib/jabberd
25- removed bootstrap script - use: autoreconf --install if you build from sources
26
27If you want to use new SSL aware auth mechanizms please merge <ssl-mechanisms/>
28section of c2s.xml.dist into your c2s.xml config file.
29Remove any realm setting for PAM authenticated domains or setup your PAM system
30to handle additional realms.
31If you use modules.path in sm.xml, add .../jabberd/ at the end.
32
33
34* 2.0 to 2.1 upgrade:
35
36What had change:
37- c2s.xml local/id syntax:
38- DB schema
39- amp and status modules
40- CyrusSASL usage
41
42
43Upgrade:
44
45Basically all <local/> subitems and registration options from section
46<register/> are configurable per-realm now. So you need to move pemfile,
47verify-mode, require-starttls to <id/> attributes.
48You may also use subitems of <local/> as before, and these will be used
49for legacy port 5223 SSL wrapper.
50
51Options require-starttls, register-enable and password-change ale boolean.
52These are enabled if set to anything. 'true' seems reasonable for clarity.
53WARNING: Setting 'false' doesn't disable it!!!
54
55When you disabled new registrations for a realm not setting register-enable,
56you may wish to set password-change to enable users to change password.
57
58For new options like httpforward, see example c2s.xml for reference.
59
60
61DB changes:
62You need to add the following fields to the "vcard" table:
63
64ALTER TABLE vcard ADD COLUMN "tz" text;
65ALTER TABLE vcard ADD COLUMN "n-middle" text;
66ALTER TABLE vcard ADD COLUMN "n-prefix" text;
67ALTER TABLE vcard ADD COLUMN "n-suffix" text;
68ALTER TABLE vcard ADD COLUMN "n-prefx" text;
69ALTER TABLE vcard ADD COLUMN "n-suffix" text;
70ALTER TABLE vcard ADD COLUMN "adr-street" text;
71ALTER TABLE vcard ADD COLUMN "adr-extadd" text;
72ALTER TABLE vcard ADD COLUMN "adr-pobox" text;
73ALTER TABLE vcard ADD COLUMN "adr-locality" text;
74ALTER TABLE vcard ADD COLUMN "adr-region" text;
75ALTER TABLE vcard ADD COLUMN "adr-pcode" text;
76ALTER TABLE vcard ADD COLUMN "adr-country" text;
77ALTER TABLE vcard ADD COLUMN "geo-lat" text;
78ALTER TABLE vcard ADD COLUMN "geo-lon" text;
79ALTER TABLE vcard ADD COLUMN "org-orgname" text;
80ALTER TABLE vcard ADD COLUMN "agent-extval" text;
81ALTER TABLE vcard ADD COLUMN "sort-string" text;
82ALTER TABLE vcard ADD COLUMN "desc" text;
83ALTER TABLE vcard ADD COLUMN "note" text;
84ALTER TABLE vcard ADD COLUMN "photo-type" text;
85ALTER TABLE vcard ADD COLUMN "photo-binval" text;
86ALTER TABLE vcard ADD COLUMN "photo-extval" text;
87ALTER TABLE vcard ADD COLUMN "logo-type" text;
88ALTER TABLE vcard ADD COLUMN "logo-binval" text;
89ALTER TABLE vcard ADD COLUMN "logo-extval" text;
90ALTER TABLE vcard ADD COLUMN "sound-phonetic" text;
91ALTER TABLE vcard ADD COLUMN "sound-binval" text;
92ALTER TABLE vcard ADD COLUMN "sound-extval" text;
93ALTER TABLE vcard ADD COLUMN "key-type" text;
94ALTER TABLE vcard ADD COLUMN "key-cred" text;
95ALTER TABLE vcard ADD COLUMN "rev" text;
96
97and create table "status":
98
99CREATE TABLE "status" (
100    "collection-owner" text PRIMARY KEY,
101    "object-sequence" bigint,
102    "status" text NOT NULL,
103    "show" text,
104    "last-login" int DEFAULT '0',
105    "last-logout" int DEFAULT '0' );
106
107NOTE: PostgreSQL schema was greatly improved as a whole.
108It might be a good idea to dump your data (as INSERTS), recreate DB from
109new schema and import data back again.
110
111
112New modules: amp and status
113
114In order for amp and status session manager modules to work, you need to
115add them to appropriate chains in sm.xml and set their configuration options.
116Chains needed to be updated: sess-start, sess-end, in-sess, pkt-sm, pkt-user
117and user-delete. For details see sm.xml.dist.
118
119
120CyrusSASL
121
122You need working CyrusSASL installation. Please take care to include all
123required auth modules. Especially cyrus-sasl-md5 and cyrus-sasl-plain.
124
125
126
127
128Please report all errors of this howto to:
129http://bugs.xiaoka.com/proj3
130
131Tomasz Sterna <tomek@xiaoka.com>
Note: See TracBrowser for help on using the browser.