tag:support.flying-sphinx.com,2011-01-05:/discussions/problems/134-client-version-is-higher-than-daemon-versionFlying Sphinx: Discussion 2016-08-11T01:36:33Ztag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-01-28T03:36:02Z2012-01-28T03:36:02Zclient version is higher than daemon version<div><p>There seems to be problem with post comments to existing issue.
So I have to repost this as a new issue.</p>
<p>Rails 3.0.7 on Heroku cedar stack.</p>
<p>Error message:<br>
2012-01-28T03:16:34+00:00 app[web.1]: ActionView::Template::Error
(searchd error (status: 1): client version is higher than daemon
version (client is v.1.24, daemon is v.1.23)):</p>
<p>Gemfile:<br>
gem 'thinking-sphinx', '2.0.10', :require =>
'thinking_sphinx'<br>
gem 'flying-sphinx', '0.6.1'</p>
<p>config/sphinx.yml<br>
development:<br>
morphology: stem_en enable_star: true min_prefix_len: 3
max_matches: 10000 port: 9312</p>
<p>test:<br>
morphology: stem_en enable_star: true min_prefix_len: 3
max_matches: 10000 port: 9313</p>
<p>production:<br>
morphology: stem_en enable_star: true min_prefix_len: 3
max_matches: 10000 port: 9314 version: '2.0.10'</p></div>georgegwutag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-01-28T04:22:59Z2012-01-28T04:22:59Zclient version is higher than daemon version<div><p>The <code>version</code> setting refers to the Sphinx version,
not Thinking Sphinx - so try either <code>1.10-beta</code> or
<code>2.1.0</code> instead of <code>2.0.10</code>. You'll want to
run the <code>fs:rebuild</code> task after making this change
before attempting a search again.</p></div>Pat Allantag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T10:21:11Z2012-02-16T10:21:12Zclient version is higher than daemon version<div><p>Is this resolved?</p>
<p>I'm still getting</p>
<p>2012-02-16T10:18:59+00:00 app[web.1]:
ActionView::Template::Error (searchd error (status: 1): client
version is higher than daemon version (client is v.1.25, daemon is
v.1.23)):</p>
<p>My sphinx.yml:</p>
<p>production:<br>
version: '2.1.0'</p>
<p>Please tell me how to fix that?</p></div>Paveltag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T10:58:39Z2012-02-16T10:58:40Zclient version is higher than daemon version<div><p>Please advise me how to proceed, I'm a paying customer, should I
stop using your service and wait till that's resolved?</p></div>Paveltag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T11:19:11Z2012-02-16T11:19:11Zclient version is higher than daemon version<div><p>Hi Pavel</p>
<p>What version of Thinking Sphinx are you using? Sphinx 2.1.0
requires TS 1.4.11 (for Rails 2) or 2.0.11 (for Rails 3) - and if
you're using the appropriate version, then run <code>heroku rake
fs:rebuild</code> to ensure both your indices and daemon are
running with the appropriate versions.</p>
<p>If that doesn't change things, let me know.</p>
<p>Pat</p></div>Pat Allantag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T11:26:21Z2012-02-16T11:26:21Zclient version is higher than daemon version<div><p>Hi Pat,<br>
Thanks for the prompt reply! I'm running Rails 3.2.1 and TS 2.0.11,
I ran heroku run rake fs:rebuild (I'm on Celadon Cedar) and still
same error</p>
<p>--<br>
Regards,<br>
Paul Tisunov</p></div>Paul Tisunovtag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T11:41:23Z2012-02-16T11:41:23Zclient version is higher than daemon version<div><p>Hmm. Surprised because this worked for someone else just the
other day. What version of flying-sphinx are you using?</p>
<p>Pat</p></div>Pat Allantag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T11:43:07Z2012-02-16T11:43:07Zclient version is higher than daemon version<div><p>I think latest one, flying-sphinx (0.6.2)</p>
<p>--<br>
Regards,<br>
Paul Tisunov</p></div>Paul Tisunovtag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T12:05:34Z2012-02-16T12:05:34Zclient version is higher than daemon version<div><p>Right, that should be fine. What's your app name, so I can check
things on the servers? And which version of Riddle are you
using?</p></div>Pat Allantag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T12:36:35Z2012-02-16T12:36:35Zclient version is higher than daemon version<div><p>I don't use Riddle explicitly, but Gemfile.lock says that TS and
FS are dependent on riddle (1.5.1). App name is Nobuna</p>
<p>--<br>
Regards,<br>
Paul Tisunov</p></div>Paul Tisunovtag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T12:53:32Z2012-02-16T12:53:32Zclient version is higher than daemon version<div><p>Right, I think I figured it out… you had 2.1.0 in your
yaml file the very first time you got set up on Flying Sphinx, I'm
guessing? And I've been using after_update instead of after_save to
check for changes to that value - and since it never changed, it
never pushed the version through to my Sphinx servers.</p>
<p>At least, that's the theory I'm going with - will be pushing a
bug fix out tomorrow (it's almost midnight here) but in the
meantime I've manually updated things for your app, so try
rebuilding again (I can't prompt a reindex from my side of things),
and see how that goes.</p>
<p>Pat</p></div>Pat Allantag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T12:57:35Z2012-02-16T12:57:35Zclient version is higher than daemon version<div><p>Pat,<br>
Thanks! It's working now. Yes, I just followed instructions and put
2.1.0 in yaml config right from the beginning.</p>
<p>--<br>
Regards,<br>
Paul Tisunov</p></div>Paul Tisunovtag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-02-16T13:00:26Z2012-02-16T13:00:26Zclient version is higher than daemon version<div><p>Thanks for the confirmation - will make sure that bug gets fixed
tomorrow. Let me know if any other issues crop up :)</p></div>Pat Allantag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-12-03T17:07:14Z2012-12-03T17:07:17Zclient version is higher than daemon version<div><p>Hello Pat,</p>
<p>Now I am having this issue, upgraded from wooden to ceramic and
all the time I have this in the logs:</p>
<p>Riddle::ResponseError (searchd error (status: 1): client version
is higher than daemon version (client is v.1.25, daemon is
v.1.23))</p>
<p>my gemfile looks like this:</p>
<p>± % cat Gemfile.lock | grep sphin !10082</p>
<pre>
<code>flying-sphinx (0.6.6)
thinking-sphinx
thinking-sphinx (2.0.11)</code>
</pre>
<p>flying-sphinx (= 0.6.6) thinking-sphinx (= 2.0.11)</p>
<p>What am I doing wrong? Please advise.</p>
<p>Cheers<br>
Lukasz</p></div>Lukastag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-12-03T17:23:20Z2012-12-03T17:23:20Zclient version is higher than daemon version<div><p>Actually I updated the GEMs to the latest versions:</p>
<pre>
<code>flying-sphinx (0.8.4)
thinking-sphinx (2.0.13)</code>
</pre>
<p>however now I see this in the logs:<br>
Sphinx Caught Sphinx exception: undefined method `<' for
nil:NilClass (0 tries left)</p>
<p>and before - every time I run 'heroku run rake fs:rebuild' :<br>
Sphinx failed to start... have you indexed first?</p>
<p>However in the sphinx page I see that it is running. What could
that be?<br>
Thanks in advance.</p>
<p>Cheers<br>
Lukasz</p></div>Lukasztag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-12-03T17:41:43Z2012-12-03T17:41:43Zclient version is higher than daemon version<div><p>Interestingly noticed that Sphinx server is once running once
not - depending how I hit refresh...</p>
<p>Here are screenshots:<br>
<a href=
"https://www.evernote.com/shard/s95/sh/fbebd979-e445-46be-8c44-2c27a73974b1/cd7b43ea1d6780de27d86b09c68c1ecb">
https://www.evernote.com/shard/s95/sh/fbebd979-e445-46be-8c44-2c27a...</a></p>
<p>and then a minute later:<br>
<a href=
"https://www.evernote.com/shard/s95/sh/a658cda8-fca2-4455-89ae-0a664e1a8a43/98da72760f0847d56765af20b2e607ad">
https://www.evernote.com/shard/s95/sh/a658cda8-fca2-4455-89ae-0a664...</a></p>
<p>Just get back to 'not running' another refresh later...</p></div>Lukasztag:support.flying-sphinx.com,2011-01-05:Comment/132454732012-12-03T23:56:35Z2012-12-03T23:56:35Zclient version is higher than daemon version<div><p>Closing this issue as Lukasz now has this issue sorted
(discussing other elements in a different thread).</p></div>Pat Allan