RT 6.0.0 Documentation

UPGRADING-6.0

Go to latest version →

UPGRADING FROM RT 5.0.0 and greater

The 6.0 release is a major upgrade and as such there are more changes than in a minor bugfix release (e.g., 5.0.1 to 5.0.2) and some of these changes are backward-incompatible. The following lists some of the notable changes, especially those that might require you to change a configuration option or other setting due to a change in RT. Read this section carefully before you upgrade and look for changes to features you currently use.

See devel/docs/UPGRADING-6.0 for internals changes relevant to extension writers, including deprecated code.

Upgrading Recommendations

RT now defaults to a database name of rt6 and an installation root of /opt/rt6.

If you are upgrading, you will likely want to specify that your database is still named rt6 or even rt4. Alternatively, you could import a backup of your database as rt6 to conform to the new default, although this isn't required.

Upgrading to RT 6 over an existing RT 5 installation (/opt/rt6) is not recommended and will almost certainly cause issues. Instead, do a fresh install into /opt/rt6 (or your custom location) for the code portion of the upgrade. Then import your existing database and run the database upgrade steps using make upgrade-database.

We recommend this approach because of the large number of changes to the code base for this major release. We moved some things to new locations and old files are not removed as part of the upgrade process. These old files will still be detected by RT in some cases and will cause issues.

Installing a fresh code base will also allow you to evaluate your local modifications and configuration changes as you migrate to 6.0. If you have changes made directly to the RT code, it's a good time to look at the hooks RT provides for custom code in extensions or in the local directory. See docs/writing_extensions.pod for more information.

Database Changes

Notable Application Changes

Extensions Integrated into RT 6

The following extensions are now part of RT 6. If you previously used any as an extension, you no longer need the extension after upgrading and can remove the Plugin line from your RT configuration.

Changes you may need to apply if you previously used the extension are described below.

RT::Extension::ArticleTemplates

You need to set $EnableArticleTemplates to 1 to enable it.

RT::Extension::TimeTracking

Transaction custom fields "Worked Date" and "Actor" are automatically disabled after upgrade. They are not needed any more, so you can use sbin/rt-shredder to totally remove them. E.g. assuming ids of "Worked Date" and "Actor" are 1234 and 5678, respectively, you can shred them using the following command:

    sbin/rt-shredder --plugin 'Objects=CustomField,1234;CustomField,5678'
← Back to index