Upgrading to RT 5 from 4.4.3

Hi Guys,

Im having an issue upgrading to RT5.

Issue arrises when I run “make upgrade-database”

Errors are below.

Ive tried using the rt_user account credentials, same error.

I can login to postgres using these credentials without issues.

I’m using (PostgreSQL) 9.2.24


Enter RT version if you want to stop upgrade at some point,
or leave it blank if you want apply above upgrades:

IT’S VERY IMPORTANT TO BACK UP BEFORE THIS STEP

Proceed [y/N]:y
[16862] [Fri Aug 28 10:33:06 2020] [warning]: DBI connect(‘dbname=rt4;host=localhost;client_encoding=UTF8’,‘postgres’,…) failed: FATAL: Ident authentication failed for user “postgres” at /usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 105. (/usr/share/perl5/vendor_perl/Carp.pm:102)
[16862] [Fri Aug 28 10:33:06 2020] [critical]: Connect Failed FATAL: Ident authentication failed for user “postgres”
at /tmp/rt-5.0.0/sbin/…/lib/RT.pm line 222. (/tmp/rt-5.0.0/sbin/…/lib/RT.pm:409)
Connect Failed FATAL: Ident authentication failed for user “postgres”
at /tmp/rt-5.0.0/sbin/…/lib/RT.pm line 222.
make: *** [upgrade-database] Error 255
[root@rt-02 rt-5.0.0]#

The script is using user “postgres” not the user “rt_user”

Does it have to use the RT4 user?

Does the RT4 user need to be a superuser for the database?