Hi,
Since like 2 days everytime i try to :rebuild indexes on heroku, it gives me this error:
Running `rake thinking_sphinx:rebuild` attached to terminal... up, run.5304
Stopped search daemon (pid ).
rake aborted!
Error connecting to Redis on 127.0.0.1:6379 (ECONNREFUSED)
Tasks: TOP => thinking_sphinx:index => thinking_sphinx:lock_deltas
(See full trace by running task with --trace)
I searched around this as an issue of heroku, which apparently gets resolved if i install plugin redis to go and set the url in config. But we've been using this same version since forever. Why does sphinx suddenly need redis?
regards,
Hassan
#1 Posted by Pat Allan Support staff on 01 Sep, 2014 01:46 PM
Hi Hassan
Firstly: there’s nothing in Sphinx, Thinking Sphinx or Flying Sphinx that uses Redis. The ts-sidekiq-delta and ts-resque-delta gems do because of Sidekiq and Resque, but that means you would already be using Redis.
Second: with Heroku, you want to use the fs tasks, not ts/thinking_sphinx tasks. So, try `heroku run rake fs:rebuild` instead?
If the problem still persists beyond that, can you run the task with the —trace argument and let me know what the stack-trace is?
Cheers
Pat