<div dir="ltr"><div>Hi all,<br></div>I think I can say definitely that this is a bug. I added the DB credentials to RT_SiteConfig.pm and, suddenly, the indexer started working perfectly. Yet RT itself pulls the exact same credentials from RT_SiteConfig.d/03-DBInfo.pm with no trouble. I have all my settings in multiple files under RT_SiteConfig.d, and they all work. It's just rt-fulltext-indexer that seems to have trouble accessing them. This explains a lot, and hopefully gets fixed in the next release. Thanks for everyone's suggestions and help.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 10, 2016 at 5:56 AM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I thought it would, but it doesn't seem to be. My db credentials must be correct, because RT isn't complaining of any db problems, and is working fine. Is it possible that there's a bug in 4.4.1 that causes this indexer to get confused by the use of the RT_SiteConfig.d/* files? I use those instead of a single .pm file. I'll have to try putting my database credentials in the actual PM file later today, once I'm awake, to see if that helps.<br>
<br>
Sent from my iPhone<br>
<div class="HOEnZb"><div class="h5"><br>
> On Dec 10, 2016, at 03:47, Alex Vandiver <<a href="mailto:alex@chmrr.net">alex@chmrr.net</a>> wrote:<br>
><br>
> On Fri, 9 Dec 2016 17:30:31 -0500<br>
> Alex Hall <<a href="mailto:ahall@autodist.com">ahall@autodist.com</a>> wrote:<br>
>> What this file never says is how to tell the indexer tool how to connect to<br>
>> the database. It clearly isn't pulling from the RT configuration, nor from<br>
>> /home/www-data/rtrc.<br>
><br>
> The indexer reads and uses the database configuration from<br>
> your /opt/rt4/etc/RT_Config.pm and /opt/rt4/tec/RT_SiteConfig.pm<br>
> files. rtrc files are _only_ used by the "bin/rt" tool, which is meant<br>
> to be run from other machines than your RT host.<br>
><br>
> The rt-setup-fulltext-indexer wants to know your DBA username and<br>
> password because it needs to create new tables and indexes, which the<br>
> standard RT database user does not have permissions to do. Once the<br>
> index is set up, updates to the index are done as RT's standard<br>
> database user.<br>
><br>
> - Alex<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>