Debian RT install woes

Probably self-caused, but now I’m stuck.

I need to install both versions 3.8 and 4.0 on our test server. We have a
running 3.8 installation (on another server) and we want to migrate it.
For now we want to try various changes on the 3.8 tree; once that’s stable
we will migrate to 4.0.

So…

I installed request-tracker3.8 from Squeeze and request-tracker4 from
squeeze-backports.

I changed the databases from sqlite to mysql and created new databases
rt3db and rt4db. So far so good.

I changed RTSiteConfig.pm and apache2-fcgid.conf to show the correct
paths; rt3 is installed at http://tracker/rt3 and rt4 at
http://tracker/rt4.

I can bring up the login screens for each installation. No errors in
apache log files.

However:

for the rt3 install, as soon as I log in, I get dumped back at document
root. Seems like I messed up a path somewhere but I’ve checked and
rechecked and everything seems to be OK. Where else can I set the root
install of RT?

For the rt4 install, I cannot log in at all. No login works. How do I
manually add (or verify) an admin user?

I don’t mind blowing away databases or the entire installation. This is a
test server with nothing installed at all right now.

It’s hard to help without Apache config and site configs.

Regards, Ruslan. From phone.09.08.2011 21:34 пользователь “Yan Seiner” yan@seiner.com написал:

Probably self-caused, but now I’m stuck.

I need to install both versions 3.8 and 4.0 on our test server. We have a
running 3.8 installation (on another server) and we want to migrate it.
For now we want to try various changes on the 3.8 tree; once that’s stable
we will migrate to 4.0.

So…

I installed request-tracker3.8 from Squeeze and request-tracker4 from
squeeze-backports.

I changed the databases from sqlite to mysql and created new databases
rt3db and rt4db. So far so good.

I changed RTSiteConfig.pm and apache2-fcgid.conf to show the correct
paths; rt3 is installed at http://tracker/rt3 and rt4 at
http://tracker/rt4.

I can bring up the login screens for each installation. No errors in
apache log files.

However:

for the rt3 install, as soon as I log in, I get dumped back at document
root. Seems like I messed up a path somewhere but I’ve checked and
rechecked and everything seems to be OK. Where else can I set the root
install of RT?

For the rt4 install, I cannot log in at all. No login works. How do I
manually add (or verify) an admin user?

I don’t mind blowing away databases or the entire installation. This is a
test server with nothing installed at all right now.


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Chicago, IL, USA September 26 & 27, 2011
  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Melbourne VIC, Australia November 28 & 29, 2011
  • Barcelona, Spain November 28 & 29, 2011

It’s hard to help without Apache config and site configs.

I will send these separately

for RT 3.8

root@svr-rt:/etc/request-tracker3.8# cat RT_SiteConfig.pm | grep -v ^# |
grep -v ^$
my $zone = “UTC”;
$zone=/bin/cat /etc/timezone
if -f “/etc/timezone”;
chomp $zone;
Set($Timezone, $zone);
Set($rtname, ‘rt3.subutil.com’);
Set($Organization, ‘svr-rt.ad.subutil.com’);
Set($CorrespondAddress , ‘rt@svr-rt.ad.subutil.com’);
Set($CommentAddress , ‘rt-comment@svr-rt.ad.subutil.com’);
Set($WebDomain, ‘tracker’);
Set($WebPath , “/rt3”);
Set($WebBaseURL , “http://svr-rt.ad.subutil.com”);
my %typemap = (
mysql => ‘mysql’,
pgsql => ‘Pg’,
sqlite3 => ‘SQLite’,
);

Set($DatabaseType, $typemap{mysql} || “UNKNOWN”);
Set($DatabaseHost, ‘localhost’);
Set($DatabasePort, ‘’);
Set($DatabaseUser , ‘');
Set($DatabasePassword , '
**’);
my $dbc_dbname = ‘rt3db’; if ( $DatabaseType eq “sqlite3” ) { Set
($DatabaseName, ‘/var/lib/dbconfig-common/sqlite3/request-tracker3.8’ .
‘/’ . $dbc_dbname); } else { Set ($DatabaseName, $dbc_dbname); }
1;

root@svr-rt:/etc/apache2/conf.d# cat
/etc/request-tracker3.8/apache2-fcgid.conf | grep -v ^# | grep -v ^$
Alias /rt3/NoAuth/images /usr/share/request-tracker3.8/html/NoAuth/images
ScriptAlias /rt3 /usr/share/request-tracker3.8/libexec/mason_handler.fcgi
<Location /rt3/>
DirectoryIndex index.html

<Location /rt3/REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1

It’s hard to help without Apache config and site configs.

I will send these separately

for RT 4.0

root@svr-rt:/etc/request-tracker4# cat RT_SiteConfig.pm | grep -v ^# |
grep -v ^$
my $zone = “UTC”;
$zone=/bin/cat /etc/timezone
if -f “/etc/timezone”;
chomp $zone;
Set($Timezone, $zone);
Set($rtname, ‘rt4.subutil.com’);
Set($Organization, ‘tracker4’);
Set($CorrespondAddress , ‘rt4@svr-rt.ad.subutil.com’);
Set($CommentAddress , ‘rt4-comment@svr-rt.ad.subutil.com’);
Set($WebPath , “/rt4”);
Set($WebBaseURL , “http://tracker/rt4”);
my %typemap = (
mysql => ‘mysql’,
pgsql => ‘Pg’,
sqlite3 => ‘SQLite’,
);

Set($DatabaseType, $typemap{mysql} || “UNKNOWN”);
Set($DatabaseHost, ‘localhost’);
Set($DatabasePort, ‘’);
Set($DatabaseUser , ‘');
Set($DatabasePassword , '
*’);
my $dbc_dbname = ‘rt4db’; if ( “mysql” eq “sqlite3” ) { Set
($DatabaseName, ‘’ . ‘/’ . $dbc_dbname); } else { Set ($DatabaseName,
$dbc_dbname); }
1;

root@svr-rt:/etc/apache2/conf.d# cat
/etc/request-tracker3.8/apache2-fcgid.conf | grep -v ^# | grep -v ^$
Alias /rt3/NoAuth/images /usr/share/request-tracker3.8/html/NoAuth/images
ScriptAlias /rt3 /usr/share/request-tracker3.8/libexec/mason_handler.fcgi
<Location /rt3/>
DirectoryIndex index.html

<Location /rt3/REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1

root@svr-rt:/etc/apache2/conf.d# cat
/etc/request-tracker4/apache2-fcgid.conf | grep -v ^# | grep -v ^$
Alias /rt4/NoAuth/images /usr/share/request-tracker4/html/NoAuth/images
ScriptAlias /rt4 /usr/share/request-tracker4/libexec/rt-server.fcgi
<Location /rt4/>
DirectoryIndex index.html

<Location /rt4/REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1

Start from site config. Don’t set WenBaseURL, but set WebDomain properly in
both.

Regards, Ruslan. From phone.09.08.2011 22:03 пользователь “Yan Seiner” yan@seiner.com написал:

On Tue, August 9, 2011 10:48 am, Ruslan Zakirov wrote:

It’s hard to help without Apache config and site configs.

I will send these separately

for RT 4.0

root@svr-rt:/etc/request-tracker4# cat RT_SiteConfig.pm | grep -v ^# |
grep -v ^$
my $zone = “UTC”;
$zone=/bin/cat /etc/timezone
if -f “/etc/timezone”;
chomp $zone;
Set($Timezone, $zone);
Set($rtname, ‘rt4.subutil.com’);
Set($Organization, ‘tracker4’);
Set($CorrespondAddress , ‘rt4@svr-rt.ad.subutil.com’);
Set($CommentAddress , ‘rt4-comment@svr-rt.ad.subutil.com’);
Set($WebPath , “/rt4”);
Set($WebBaseURL , “http://tracker/rt4”);
my %typemap = (
mysql => ‘mysql’,
pgsql => ‘Pg’,
sqlite3 => ‘SQLite’,
);

Set($DatabaseType, $typemap{mysql} || “UNKNOWN”);
Set($DatabaseHost, ‘localhost’);
Set($DatabasePort, ‘’);
Set($DatabaseUser , ‘');
Set($DatabasePassword , '
*’);
my $dbc_dbname = ‘rt4db’; if ( “mysql” eq “sqlite3” ) { Set
($DatabaseName, ‘’ . ‘/’ . $dbc_dbname); } else { Set ($DatabaseName,
$dbc_dbname); }
1;

root@svr-rt:/etc/apache2/conf.d# cat
/etc/request-tracker3.8/apache2-fcgid.conf | grep -v ^# | grep -v ^$
Alias /rt3/NoAuth/images /usr/share/request-tracker3.8/html/NoAuth/images
ScriptAlias /rt3 /usr/share/request-tracker3.8/libexec/mason_handler.fcgi
<Location /rt3/>
DirectoryIndex index.html

<Location /rt3/REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1

root@svr-rt:/etc/apache2/conf.d# cat
/etc/request-tracker4/apache2-fcgid.conf | grep -v ^# | grep -v ^$
Alias /rt4/NoAuth/images /usr/share/request-tracker4/html/NoAuth/images
ScriptAlias /rt4 /usr/share/request-tracker4/libexec/rt-server.fcgi
<Location /rt4/>
DirectoryIndex index.html

<Location /rt4/REST/1.0/NoAuth>
Order Allow,Deny
Allow from 127.0.0.1


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Chicago, IL, USA September 26 & 27, 2011
  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Melbourne VIC, Australia November 28 & 29, 2011
  • Barcelona, Spain November 28 & 29, 2011