Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thinking Sphinx freezes after cap production thinking_sphinx:restart command #1234

Open
sunchess opened this issue Sep 27, 2022 · 1 comment

Comments

@sunchess
Copy link

Hi guys, I'm trying to config TS for working with capistrano and seems there is a bug. The command just freezes after restart.

My env:

  • ruby 3.1.1
  • rails 6.1.4.1
  • Sphinx 3.4.1 (commit efbcc65)

The command log

 % cap production thinking_sphinx:restart
Please enter branch (main):
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
ruby-3.1.1
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux]
00:00 thinking_sphinx:restart
      01 ~/.rvm/bin/rvm 3.1.1@youecho do bundle exec rake ts:stop
      01 Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
      01 [Tue Sep 27 12:32:10.993 2022] [796888] using config file '/home/deploy/apps/youecho/shared/config/production.sphinx.conf'...
      01 [Tue Sep 27 12:32:10.994 2022] [796888] stop: successfully sent SIGTERM to pid 795949
      01 Sphinx 3.4.1 (commit efbcc65)
      01 Copyright (c) 2001-2021, Andrew Aksyonoff
      01 Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
      01
      01 Stopped searchd daemon (pid: 795949).
    ✔ 01 deploy@94.103.92.114 5.519s
      02 ~/.rvm/bin/rvm 3.1.1@youecho do bundle exec rake ts:configure
      02 Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
      02 Generating configuration to /home/deploy/apps/youecho/shared/config/production.sphinx.conf
    ✔ 02 deploy@94.103.92.114 2.221s
      03 ~/.rvm/bin/rvm 3.1.1@youecho do bundle exec rake ts:start
      03 Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
      03 [Tue Sep 27 12:32:19.048 2022] [797485] using config file '/home/deploy/apps/youecho/shared/config/production.sphinx.conf'...
      03 Sphinx 3.4.1 (commit efbcc65)
      03 Copyright (c) 2001-2021, Andrew Aksyonoff
      03 Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
      03
      03 listening on 127.0.0.1:9312
      03 Sphinx 3.4.1 (commit efbcc65)
      03 Copyright (c) 2001-2021, Andrew Aksyonoff
      03 Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
      03
      03 precaching index 'card_core'
      03 precaching index 'tags_user_core'
      03 Sphinx 3.4.1 (commit efbcc65)
      03 Copyright (c) 2001-2021, Andrew Aksyonoff
      03 Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
      03
      03 Started searchd successfully (pid: 797488).

Can you help me?

@pat
Copy link
Owner

pat commented Dec 30, 2022

Hi @sunchess - very sorry for the slow response, but wondering if you made any progress on this? I'm afraid I don't have any inspiration for what the cause may be, though I'm a bit out of practice with Capistrano.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants