RT5: rt-setup-fulltext-index is looking for rt4

Fresh install of RT5. Running

rt-setup-fulltext-index --dryrun

results in:

DBI connect(‘dbname=rt4;host=localhost’,‘rt_user’,…) failed: Unknown database ‘rt4’ at /usr/local/lib/perl5/site_perl/DBIx/SearchBuilder/Handle.pm line 106.
Connect Failed Unknown database 'rt4’
** at /usr/local/lib/perl5/site_perl/RT.pm line 221.**
BEGIN failed–compilation aborted at /usr/local/sbin/rt-setup-fulltext-index line 75.

Maybe it just hasn’t been updated for RT5?

The DB name should be configured either using the ./configure line or in your SiteConfig file. If you renamed the db to rt5 on upgrade maybe you have some lingering config?

Oops. Looks like I accidentally invoke the copy left over from a failed rt4 install. I found the correct one and it just returns [warning]: Unknown option: dryrun instead.