What do I need to do to upgrade the database?


I upgraded to RT 5.0.0, in the documentation on that (https://docs.bestpractical.com/rt/5.0.0/UPGRADING-5.0.html) they say to " import your existing database and run the database upgrade steps using make upgrade-database", I have imported the database, but I don’t know what the “Database upgrade steps” are. I tried running just ‘make upgrade-database’ and receive this error:

“make: *** No rule to make target ‘upgrade-database’. Stop.”
Can anybody point me in the direction of the “database upgrade steps”. Thank you so much!

I am not sure if Docker changes anything but normally you would download the RT5 release.

Then you can follow the normal install steps, except instead of creating a new RT database you should be able to run make upgrade-database on your current RT install.

You can copy your configs from RT4 to RT5 and any customization’s to the new RT5 install directory. By default RT will install to /opt/rt5 you can add --prefix=/opt/rt5/var/rt5 to your ./configure line if you want to use that directory