Rename RT Instance

I’ve had a read of the list archives, and a read of the Wiki, and just
wanted to check something before I suggest something as possible that my
team will hang me for :slight_smile:

We have an operational instance of RT 3.6.5 with a rather unusual name.
We’d like to change the instance name to something more meaningful as
we’re being asked to offer the service to other University departments
for them to track their own cases.

Am I right in thinking that the section covering 3.6.x on the Wiki
page:

http://wiki.bestpractical.com/view/RenameInstance

…is still correct? As I understand it, all (!) we have to do is use
the EmailSubjectTagRegex option to contain both the old and new names
per:

Set($rtname, ‘new.name’);
Set($EmailSubjectTagRegex, qr/(?:old.name|new.name)/i);

and then restart Apache to restart the instance with the new name? We’d
obviously have a little additional work to reconfigure Exim to handle
the new name if necessary, but that’s not in the scope of this specific
change.

Is anything required in the database too, like replacing all the “data”
fields in the transactions table to reflect the new name, and changing
all the subject fields in the attachments table likewise? Or with the
regex above would that simply be cosmetic?

Thanks

Graeme

Changing:

Set($rtname, ‘new.name’);
Set($EmailSubjectTagRegex, qr/(?:old.name|new.name)/i);

Should be all you have to do.

James Moseley

         Graeme Fowler                                                 
         <G.E.Fowler@lboro                                             
         .ac.uk>                                                    To 
         Sent by:                  rt-users@lists.bestpractical.com    
         rt-users-bounces@                                          cc 
         lists.bestpractic                                             
         al.com                                                Subject 
                                   [rt-users] Rename RT Instance       
                                                                       
         06/19/2008 04:08                                              
         AM                                                            

I’ve had a read of the list archives, and a read of the Wiki, and just
wanted to check something before I suggest something as possible that my
team will hang me for :slight_smile:

We have an operational instance of RT 3.6.5 with a rather unusual name.
We’d like to change the instance name to something more meaningful as
we’re being asked to offer the service to other University departments
for them to track their own cases.

Am I right in thinking that the section covering 3.6.x on the Wiki
page:

http://wiki.bestpractical.com/view/RenameInstance

…is still correct? As I understand it, all (!) we have to do is use
the EmailSubjectTagRegex option to contain both the old and new names
per:

Set($rtname, ‘new.name’);
Set($EmailSubjectTagRegex, qr/(?:old.name|new.name)/i);

and then restart Apache to restart the instance with the new name? We’d
obviously have a little additional work to reconfigure Exim to handle
the new name if necessary, but that’s not in the scope of this specific
change.

Is anything required in the database too, like replacing all the “data”
fields in the transactions table to reflect the new name, and changing
all the subject fields in the attachments table likewise? Or with the
regex above would that simply be cosmetic?

Thanks

Graeme

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

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

Hi,

I am needing to change the name of my RT instance from domain.tld to
rt.domain.tld. As I understand it, it’s not as easy as just changing
the $Organization config variable in RT_SiteConfig.pm. I only found
one reference to how to do this, but it refers to 3.6.x
(http://requesttracker.wikia.com/wiki/RenameInstance). The information
on this page is also not consistent with the issue that I’m
experiencing as a result of changing that variable.

My $Organization has always been set to domain.tld while $WebBaseURL
has always been rt.domain.tld. $CorrespondAddress and $CommentAddress
have been rt@domain.tld and rt-comment@domain.tld. Also, when an
auto-reply is generated by RT, it would use domain.tld in both the

I need to change all of this to rt.domain.tld. Changing $Organization
does change the auto-reply and Reply-To: addresses accordingly. But it
breaks the MyReminders functionality on the Home page. (This is where
my situation differs from the wiki link above.)

My RT version is 3.8.8. Is there something else that needs to be done
in order to make the changes that I described?

~ Tom