Difference between revisions of "Freeside:4:Documentation:RT Installation"

From Freeside
Jump to: navigation, search
(Created page with "== Introduction == These instructions document installation of the integrated internal RT ticketing system. There is also support for running this integration against an e...")
 
Line 58: Line 58:
 
*** ''Revert the change back and restart Pg after this installation step''
 
*** ''Revert the change back and restart Pg after this installation step''
 
* <pre><nowiki>make install-rt</nowiki></pre>
 
* <pre><nowiki>make install-rt</nowiki></pre>
* Configure Apache: make sure APACHE_CONF and FREESIDE_DOCUMENT_ROOT are set correctly in the Makefile, then run:
 
<pre>
 
make install-apache
 
</pre>
 
 
* Restart Apache (httpd) and log into the Freeside web interface using the username and password you created during the first part of the installation.
 
 
=== Bootstrap RT's permissions ===
 
 
* Click on "Ticketing Main" on the Freeside main menu to auto-create an RT login for your username
 
* Bootstrap your RT Login, replace ivan with your freeside employee account
 
 
<pre>
 
sudo su freeside -c psql
 
 
insert into acl ( principaltype, principalid, rightname, objecttype, objectid )
 
        values ( 'Group',
 
                ( select id from groups where instance = ( select id from users where name = 'ivan' )
 
                                          and domain = 'ACLEquivalence' and type = 'UserEquiv'        ),
 
                  'SuperUser', 'RT::System', 1 );
 
\q
 
 
</pre>
 
 
== Futher Reading ==
 
* Follow the [http://wiki.bestpractical.com/ regular RT documentation] to configure RT, setup the mailgate, etc.
 
* Set '''ticket_system-default_queueid''' once you have RT configured.
 

Revision as of 12:01, 11 April 2020

Introduction

These instructions document installation of the integrated internal RT ticketing system.

There is also support for running this integration against an external RT installation, but it is not (yet) documented.

Documentation contributions are welcome.

Prerequisites

Missing prerequisites? Please add them.

Installation

  • Create a new Unix group called 'rt'
addgroup rt
  • Edit the top-level Makefile (within the freeside source directory - NOT rt directory), set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.
cd freeside-X.X/
nano Makefile
  • $ make configure-rt
  • If your database is not on the local machine you will need to edit /opt/rt3/etc/RT_SiteConfig.pm and set the DatabaseHost value
  • # make create-rt
    • Authentication errors?
      • Edit pg_hba.conf, change "peer" auth to "trust" for the line starting with "local all all"
      • Restart Pg
      • Revert the change back and restart Pg after this installation step
  • make install-rt