Difference between revisions of "Freeside:1.7.3:Documentation:Upgrading"

From Freeside
Jump to: navigation, search
 
Line 4: Line 4:
 
* As the freeside UNIX user, run <code>freeside-upgrade username</code>, passing the username of an internal Freeside user.
 
* As the freeside UNIX user, run <code>freeside-upgrade username</code>, passing the username of an internal Freeside user.
 
* If freeside-upgrade hangs, try stopping Apache, all Freeside processes, and anything else connected to your database, especially on older PostgreSQL versions.
 
* If freeside-upgrade hangs, try stopping Apache, all Freeside processes, and anything else connected to your database, especially on older PostgreSQL versions.
* <code>pg_attribute: permission denied executing: UPDATE pg_attribute</code> when running freeside-upgrade with Pg 7.3 or older?  Try this:
 
<pre>
 
ALTER TABLE cust_pay_batch ADD COLUMN payby char(4);
 
ALTER TABLE h_cust_pay_batch ADD COLUMN payby char(4);
 
ALTER TABLE cust_pay_batch ALTER COLUMN payby SET NOT NULL;
 
ALTER TABLE h_cust_pay_batch ALTER COLUMN payby SET NOT NULL;
 
</pre>
 
 
* <code>make install-docs</code> (or <code>make deploy</code> if you've got everything setup for that in the Makefile)
 
* <code>make install-docs</code> (or <code>make deploy</code> if you've got everything setup for that in the Makefile)
 
* Perl module errors?  Try <code>make clean</code> then <code>make install-perl-modules</code> then <code>make install-docs</code> or <code>make deploy</code> again
 
* Perl module errors?  Try <code>make clean</code> then <code>make install-perl-modules</code> then <code>make install-docs</code> or <code>make deploy</code> again

Revision as of 18:41, 25 June 2007

  • If upgrading from a version earlier than 1.7.2, follow the instructions for Upgrading to 1.7 first.
  • Install Number::Format 1.50 (or later)
  • make install-perl-modules
  • As the freeside UNIX user, run freeside-upgrade username, passing the username of an internal Freeside user.
  • If freeside-upgrade hangs, try stopping Apache, all Freeside processes, and anything else connected to your database, especially on older PostgreSQL versions.
  • make install-docs (or make deploy if you've got everything setup for that in the Makefile)
  • Perl module errors? Try make clean then make install-perl-modules then make install-docs or make deploy again