Freeside:2.1:Documentation

From Freeside
Revision as of 22:29, 27 May 2010 by Xik (talk | contribs) (Upgrading)

Jump to: navigation, search

Upgrading

  • aptitude install libmodule-versions-report-perl libtext-wikiformat-perl libhttp-server-simple-mason-perl libxml-rss-perl libnet-server-perl libhtml-rewriteattributes-perl libdata-ical-perl libperlio-eol-perl libgnupg-interface-perl libfile-sharedir-perl libcgi-pm-perl libmime-types-perl libdate-ical-perl libdatetime-set-perl libhook-lexwrap-perl
  • If libhttp-server-simple-mason-perl and/or libhtml-rewriteattributes-perl fail to install using apt, then do
    perl -MCPAN -e 'install HTTP::Server::Simple::Mason'
    perl -MCPAN -e 'install HTML::RewriteAttributes'
  • mv /opt/rt3/etc/RT_SiteConfig.pm /opt/rt3/etc/RT_SiteConfig.pm.3.6
    or add:
    Set($WebDefaultStylesheet, 'freeside2.1');
  • make configure-rt; make deploy
    • wtf: make configure-rt wants gcc aptitude install gcc
  • cd rt; su freeside -c '/opt/rt3/sbin/rt-setup-database --dba freeside --prompt-for-dba-password --action upgrade'
  • Clear mason cache dir: rm -fr /usr/local/etc/freeside/masondata/obj
  • Add an "Invoice eligible for automatic collection" condition to all "Run card", "Run check" and "Add card or check to a pending batch" events.
  • Create a new invoice send event, with the default conditions plus:
    • customer payment type CARD or CHEK
    • "Invoice ineligible for automatic collection"
  • 2.1 Changelog

Known Issues

  • Bad RT links under Configuraiton -> Ticketing -> Ticketing Global? Make sure the URL section in /opt/rt3/etc/RT_SiteConfig.pm is new-style:
$RT::URI::freeside::URL = 'https://your/freeside/URL/';

$RT::URI::freeside::URL =~ m(^(https?://[^/]+)(/.*)$)i;
Set($WebBaseURL, $1);
Set($WebPath, "$2/rt");
  • Ancient Firefox v2.x may have performance problems rendering RT? (who cares?)

Misc

  • Is it necessary to create an fs_bootstrap user??