(almost) everything for bug#375 - create export_svc table - part_svc to
[freeside.git] / README.1.4.0pre12
1 the following is necessary to upgrade from 1.4.0pre11 to 1.4.0pre12
2
3 if you're upgrading from before 1.4.0pre12 see README.1.4.0pre11 first!
4
5 if you're upgrading from 1.3.1 follow the instructions in
6 httemplate/docs/upgrade8.html instead
7
8 ----
9
10 install HTML-Widgets-SelectLayers from CPAN or http://www.420.am/selectlayers
11
12 install the FS perl modules and httemplate as per install.html or upgrade8.html
13
14 ALTER TABLE cust_bill_event ADD status varchar(80);
15 ALTER TABLE cust_bill_event ADD statustext text NULL;
16 UPDATE cust_bill_event SET status = 'done';
17
18 CREATE TABLE radius_usergroup (
19   usergroupnum int primary key,
20   svcnum int not null,
21   groupname varchar(80) not null
22 );
23 CREATE INDEX radius_usergroup1 ON radius_usergroup ( svcnum );
24 CREATE INDEX radius_usergroup2 ON radius_usergroup ( groupname );
25
26 ALTER TABLE svc_acct ADD sec_phrase varchar(80) NULL;
27 CREATE TABLE msgcat (
28   msgnum int primary key,
29   msgcode varchar(80) not null,
30   locale varchar(16) not null,
31   msg text not null
32 );
33 CREATE INDEX msgcat1 ON msgcat ( msgcode, locale );
34
35 CREATE TABLE export_svc (
36   exportsvcnum int primary key,
37   exportnum int not null,
38   svcpart int not null
39 );
40 CREATE UNIQUE INDEX export_svc1 ON export_svc ( exportnum, svcpart );
41 CREATE INDEX export_svc2 ON export_svc ( exportnum );
42 CREATE INDEX export_svc3 ON export_svc ( svcpart );
43
44 ALTER TABLE part_export RENAME svcpart TO deprecated;
45
46 Run bin/dbdef-create
47
48 Run bin/create-history-tables
49
50 Run bin/dbdef-create again
51
52 Run bin/populate-msgcat
53
54 Set the `locale' configuration option to `en_US'.
55
56 the mxmachines, nsmachines, arecords and cnamerecords configuration values have been deprecated.  Use the defaultrecords configuration value instead.
57
58 New export code has landed!  If you were using the icradiusmachines,
59 icradius_mysqldest, icradius_mysqlsource, or icradius_secrets files, see
60 the "sqlradius" export instead.  Use MySQL replication 
61 <http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Replication>
62 or point the "sqlradius" export directly at your external ICRADIUS or
63 FreeRADIUS (or through an SSL-encrypting proxy...)
64
65 Arrange for freeside-expiration-alerter to be run daily, if desired.
66
67 Restart Apache and freeside-queued
68