Upgrade from RT 4.4.4 to 5.0.0

Hello,

I want to upgrade RT from version 4.4.4 to 5.0.0.

The README document specifies that one can just run some upgrade scripts:
make upgrade
make upgrade-database

In the other hand the UPGRADING-5.0 document specifies that it is better to perform a fresh install of RT5. So I am confused, the information is contradictory.

What would be the best approach?

Upgrading to RT 5 over an existing RT 4 installation (/opt/rt4) is not recommended and will almost certainly cause issues. Instead, do a fresh install into /opt/rt5 (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.

It is safer to do a clean install for the new version

Thx knation.

This is the procedure that I have in mind for the upgrade:

  • Apache stop
  • make install on the downloaded RT5 files
  • Copy of RT4’s mysql database into a new one named RT5
  • make upgrade-database
  • Change my apache configuration so that it points to the install on /opt/rt5 instead of /opt/rt4
  • Apache start

Test

Sounds good, you probs already planned on it but just to be safe make sure to run ./configure again ( /opt/rt4/etc/RT_Config.pm has your last configure line ) and make fixdeps before make install