style
[freeside.git] / httemplate / docs / upgrade9.html
1 <head>
2   <title>Upgrading to 1.4.1</title>
3 </head>
4 <body>
5 <h1>Upgrading to 1.4.1 from 1.4.0</h1>
6 <ul>
7   <li>If migrating from less than 1.4.0, see these <a href="upgrade8.html">instructions</a> first.
8   <li>Back up your data and current Freeside installation.
9   <li>Run <code>make aspdocs</code> or <code>make masondocs</code>.
10   <li>Copy <code>aspdocs/</code> or <code>masondocs/</code> to your web server's document space.
11   <li>Run <code>make install-perl-modules</code>.
12   <li>Install <a href="http://search.cpan.org/search?dist=Net-SSH">Net::SSH</a> minimum version 0.07
13   <li>Apply the following changes to your database:
14 <pre>
15 INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 18, 'daytime', 'en_US', 'Day Phone' );
16 INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 19, 'night', 'en_US', 'Night Phone' );
17 </pre>
18   <li>Optionally, apply the following changes to your database (performance improvements):
19 <pre>
20 CREATE INDEX part_pkg1 ON part_pkg ( disabled );
21 CREATE INDEX part_svc1 ON part_svc ( disabled );
22 CREATE INDEX cust_bill2 ON cust_bill ( _date );
23 </pre>
24   <li>If you want to use ACH (electronic checks), you will need to make changes to your database.  The easiest way to make these changes is to dump your database (with pg_dump), change the payinfo field in the cust_pay, cust_refund, h_cust_pay and h_cust_refund tables from varchar(16) to varchar(80), reload the database from the dump.
25   <li>If you will be doing bind exports you should make additional changes to your database. Follow the directions above to dump the database and change the reczone and recdata fields in the domain_record and h_domain_record tables from varchar(80) to varchar(255).
26   <li>If you made changes to your db schema from a dump as listed above run dbdef-create.
27   <li>Restart Apache and freeside-queued.
28 </body>