Thinking Sphinx after deployment - ThinkingSphinx:

2019-08-05 07:07发布

I check this topic: Sphinx error: unknown local index "INDEX_NAME" in search request , but it's closed and it's not resolve problem in my rails application.

I update TS to 3.0.2, and include it to deploy.rb. I also change code in model. Now it works in development, and some examples work in test, and some not. But after successful deployment I get error:

ThinkingSphinx::SphinxError (unknown local index 'user_core' in search request):

I try rebuild, restart, and other things, but it doesn't work :(

Can anybody help me?

Thanks!

1条回答
Bombasti
2楼-- · 2019-08-05 07:31

It looks like there's already a Sphinx daemon running that Thinking Sphinx hasn't stopped (if you're still getting the same error) so I'd recommend killing that rogue searchd process (which you should be able to find via ps aux | grep searchd - and, if the permissions are fine, killall searchd will stop that Sphinx process).

查看更多
登录 后发表回答