[rt-users] Rename RT Instance

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Thu Jun 19 11:00:49 EDT 2008


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 at lboro                                             
             .ac.uk>                                                    To 
             Sent by:                  rt-users at 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 :)

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 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