Error after upgrading sphinx plan
Ive upgraded sphinx plan to ceramic and now I am seeing an error when I
m trying to run heroku run rake ts:configure
and I see
The Flying Sphinx command failed:
Class: FlyingSphinx::Commands::Configure
Error: Uploading configuration failed
If everything looks to be in order, please try the command again. If the error
persists, please contact Flying Sphinx Support: http://support.flying-sphinx.com
rake aborted!
FlyingSphinx::Configurer::UploadError: Uploading configuration failed
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/configurer.rb:32:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/configurer.rb:7:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/commands/base.rb:64:in `run_action_with_path'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/commands/configure.rb:5:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/commands/base.rb:21:in `call_with_handling'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/commands/base.rb:7:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/commander.rb:7:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/rake_interface.rb:12:in `configure'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/tasks.rb:6:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/airbrake-6.1.2/lib/airbrake/rake.rb:19:in `execute'
Tasks: TOP => ts:configure
(See full trace by running task with --trace)
when I try to run heroku run bundle exec flying-sphinx configure
I see
/app/.profile.d/mysql.sh: line 2: :/tmp/build_f081dd2f886163a3fa12a4e34613e9e6/bin:/usr/local/bin:/usr/bin:/bin:/app/mysql/bin: No such file or directory
The flying_sphinx CLI tool is now deprecated. Please use the standard Thinking
Sphinx tasks instead. (Thinking Sphinx tasks will now invoke the appropriate
behaviour for both local and Flying Sphinx environments). In this case:
heroku run rake ts:configure
rake aborted!
FlyingSphinx::Configurer::UploadError: Uploading configuration failed
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/configurer.rb:32:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/configurer.rb:7:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/commands/base.rb:64:in `run_action_with_path'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/commands/configure.rb:5:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/flying-sphinx-2.1.2/lib/flying_sphinx/commands/base.rb:21:in `call_with_handling'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/commands/base.rb:7:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/commander.rb:7:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/rake_interface.rb:12:in `configure'
/app/vendor/bundle/ruby/2.5.0/gems/thinking-sphinx-4.0.0/lib/thinking_sphinx/tasks.rb:6:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/airbrake-6.1.2/lib/airbrake/rake.rb:19:in `execute'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
/app/vendor/bundle/ruby/2.5.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>'
/app/vendor/bundle/ruby/2.5.0/bin/bundle:22:in `load'
/app/vendor/bundle/ruby/2.5.0/bin/bundle:22:in `<main>'
Tasks: TOP => ts:configure
(See full trace by running task with --trace)
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Pat Allan on 17 Oct, 2018 09:20 AM
Oh, that's definitely not great!
Can you let me know what the name of your app is so I can try to debug further? I'm not seeing any exceptions on my side of things, but clearly something's gone wrong somewhere along the way.
2 Posted by rus ns on 17 Oct, 2018 10:01 AM
yes, sure. it is best-cake-test
ср, 17 жовт. 2018 о 12:21 Pat Allan <[email blocked]> пише:
yes, sure. it is best-cake-test
Support Staff 3 Posted by Pat Allan on 17 Oct, 2018 10:19 AM
Thanks for that detail :) I've just fixed the bug, so configuring will now work again (though do let me know if that's not the case for you).
This was a bug I accidentally introduced a couple of days ago as part of some EU region improvements. The bug is fixed, and I'll think about how to ensure it doesn't happen again.
Cheers
Pat
4 Posted by rus ns on 17 Oct, 2018 11:04 AM
thank you
ср, 17 жовт. 2018 о 13:19 Pat Allan <[email blocked]> пише:
5 Posted by rus ns on 17 Oct, 2018 11:41 AM
could you please help me with one more question? How I can setup sphinx
search with cyrillic symbols? where can I add that settings?
ср, 17 жовт. 2018 о 14:04 rus ns <[email blocked]> пише:
Support Staff 6 Posted by Pat Allan on 17 Oct, 2018 09:36 PM
Closing this issue, will continue the Cyrillic discussions in the other thread :)
http://support.flying-sphinx.com/discussions/problems/40736-cyrilli...
Pat Allan closed this discussion on 17 Oct, 2018 09:36 PM.