[rt-users] rt 3.8.1. upgrade

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Wed Aug 27 15:32:35 EDT 2008


First, make sure you cc the RT users group, not just respond directly to
the poster...


If this is a new install, uninstall the Fedora package then install RT from
source.

The first step is correctly run the 'configure' operation:

./configure --prefix=</path/to/rt> --with-web-user=apache
--with-web-group=apache --with-mysql

Note, the above assumes Apache is running with user/group 'apache' and you
are using a mysql backend.

Then do make testdeps, make fixdeps, make install, etc.

If you just want to use a new database, follow the steps to create a new
database.  Otherwise, follow the steps on upgrading your database to 3.8.1.

Next, your RT_SiteConfig.pm should look something like this:

Set($DatabaseName , '<db name>');
Set($DatabasePassword , <'db password>');
Set($DatabaseHost   , '<db host>');
Set($DatabasePort , '3306');
Set($LogToSyslog    , 'info');
Set($LogToFile      , 'warning');
Set($LogStackTraces , 1);
Set($Organization , "<RT Organization name>");
Set($rtname, '<RT name to show up in tickets>');
Set($Timezone , 'US/<timezone>l');
Set($WebPath , "/rt");
Set($WebBaseURL , "<web URL>");   (for example: "http://www.mydomain.com")
Set($WebImagesURL , $WebPath . "/NoAuth/images/");
Set($LogDir, '/var/log');
Set($LogToFileNamed , "rt.log");    #log to rt.log
Set($PreferRichText, 1);

1;

It's probably safe to use the Apache config generated by the Fedora RT3
install, just change the paths, etc.  Note, when uninstalling the Fedora
package, you'll probably lose mod_perl.  Just reinstall it via YUM.

This assumes you are using mod_perl vs. FastCGI.  I honestly have no idea
what the Fedora 9 package uses.  If it uses FastCGI, just reinstall it via
YUM.


James Moseley




                                                                           
             "Nick Price"                                                  
             <np121 at hotmail.co                                             
             m>                                                         To 
                                       <jmoseley at corp.xanadoo.com>         
             08/27/2008 01:48                                           cc 
             PM                                                            
                                                                   Subject 
                                       RE: [rt-users] rt 3.8.1. upgrade    
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Thanks

I've been trying that for the last 5 weeks with god knows how many
different
configs
It just doesn't work

I can get it to run ok as http://localhost and http://localhost/rt3  both
take me to the login page I don' get a choice

Or I can get it to run http://localhost/rt3  only but then in text mode
only

Doesn't matter what I do with the configs (I've tried so many I forget just
how many) it just doesn't work as http://localhost/rt3 ONLY

I need http://localhost left alone for mrtg

I'm not a linux expert or programmer but I still managed to get mrtg and
nagios installed and running from source
in about 20mins each the documentation was excellent

PLEASE any ideas

Many thanks

Nick Price


-----Original Message-----
From: jmoseley at corp.xanadoo.com [mailto:jmoseley at corp.xanadoo.com]
Sent: Wednesday, August 27, 2008 19:58
To: Nick Price
Cc: rt-users at lists.bestpractical.com;
rt-users-bounces at lists.bestpractical.com
Subject: Re: [rt-users] rt 3.8.1. upgrade

You've installed RT from a Fedora package and are now trying to upgrade
from source.  You are going to run into all sorts of problems...

Just install RT 3.8.1 from source as a new install in a DIFFERENT
directory.  Run configure, make testdeps, etc.

Then run the upgrade database steps, etc.  Lastly, modify the Apache RT
config to correct the paths to RT, mod_perl, etc.


James Moseley





             Nick Price
             <np121 at hotmail.co
             m>                                                         To
             Sent by:                  <rt-users at lists.bestpractical.com>
             rt-users-bounces@                                          cc
             lists.bestpractic
             al.com                                                Subject
                                       [rt-users] rt 3.8.1. upgrade

             08/27/2008 12:28
             PM







Hi

I  have tried most thing to get 3.8.1 running without success so I have
done the following

1. installed fedora 9 as a clean install
2. yum update
3. yum install rt3

got it to work as I need it to http://localhost/rt3
(http://localhost  gives the apache welcome page) but get version rt-3.6.6

it installed it in /usr/share/rt3/html

next I downloaded rt-3.8.1.tar.gz

then

1. ./configure --prefix=/usr/share/rt3/html
2. make fixdeps
3. make upgrade
4. upgraded the database

the problem is if i now run http://localhost/rt3 i still get version 3.6.6

if I now change in/etc/httpd/conf.d/rt3.conf

from

PerlRequire /user/sbin/webmux.pl

to

PerlRequire /usr/share/rt3/http/bin/webmux.pl    i get 404 not found

What do i need to do to get rt-3.8.1 running as http://localhost/rt3 and
NOT as http://localhost

thanks

Nick

Get ideas on sharing photos from people like you. Find new ways to share.
Get Ideas Here!_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com







More information about the rt-users mailing list