“flying-sphinx start”导致Faraday :: Error :: ParsingError(用于内部服务器错误响应)

时间:2013-04-25 11:17:18

标签: ruby-on-rails-3 heroku thinking-sphinx

我在重新索引或重启heroku上的飞行sphinix时遇到错误

Running `flying-sphinx start` attached to terminal... up, run.8515/app/.bundle/gems/ruby/1.8/gems/json-1.7.5/lib/json/common.rb:155:in `parse': 757: unexpected token at
'<!DOCTYPE html> (Faraday::Error::ParsingError)
<html>
  <head>
  <title>We're sorry, but something went wrong (500)</title>
  <style type="text/css">
  body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
  div.dialog {
  width: 25em;
  padding: 0 4em;
  margin: 4em auto 0 auto;
  border: 1px solid #ccc;
  border-right-color: #999;
  border-bottom-color: #999;
 }
 h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
 </style>
  </head>

<body>
<!-- This file lives in public/500.html -->
 <div class="dialog">
<h1>We're sorry, but something went wrong.</h1>
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
</div>
</body>

我已经使用命令heroku run flying-sphinx restart重启了思考sphnix

1 个答案:

答案 0 :(得分:0)

看起来你已经有一个搜索守护进程正在运行。你需要先用思考狮身人面像来杀死它,然后重试你的飞行狮身人面像重新索引或重新启动。

以下是一个答案,可以告诉您:Thinking Sphinx after deployment - ThinkingSphinx::SphinxError (unknown local index 'user_core' in search request):