flying-sphinx index Hangs

Liam Elliott

12 Jun, 2017 02:16 AM

I have tried running flying-sphinx and likewise bundle exec rake fs:index and the process just hangs on "INFO -- : Executing Action: index". I have configured the certificate chain to use a MySQL database from ClearDB. The application deploys to heroku without issue and I can see successful queries in the heroku logs, but nothing is showing an obvious error. I always have to ctrl-c out of the process as it runs for far too long and goes nowhere. The result of running heroku run bundle exec rake fs:index is:

I’m not yet sure of the cause of the problem though… but I can see in the logs that a full index (as part of the rebuild command) takes less than a minute, so I’d expect to have the command wrap up by then. However, while I’m seeing the configure commands coming through (as noted in the output you shared), I’m not seeing indexing requests appear, which is definitely odd.

Can you confirm the versions of flying-sphinx and thinking-sphinx gems you’re using?