Yes, the bin path was set. But as far as I knew it was only an issue
with passenger, right? I tested it on both Mongrel and Passenger and
had the same issues.

Alright, here's the weird thing. When I originally posted this problem
here the server instance had been running for several hours, and I
testet it around 15 times and it didn't work. Then, two days later,
without doing anything, it started working.

I have no idea what the cause of the problem was, but I suppose we can
consider this resolved.

On Jul 16, 10:50 pm, Pat Allan <[email protected]> wrote:
> Hi Anton
>
> This could be an environment issue - have you set bin_path in your sphinx.yml 
> file?http://freelancing-god.github.com/ts/en/common_issues.html#passenger
>
> --
> Pat
>
> On 16/07/2010, at 2:38 PM, azolotov wrote:
>
>
>
> > Gist
>
> > When I perform an action through the web interface, delta indexing
> > does not work. When I do it through script/console, it works
> > flawlessly. Regular indexing always works. This only happens in the
> > production environment on the EngineYard AppCloud.
>
> > More Details
>
> > I have a model called Schedule. When a user creates a new Schedule,
> > the method generate_alternatives is called on it after the Schedule is
> > saved. generate_alternatives computes different combinations of a set
> > of events and saves each combination as an Alternative. The
> > Alternative model is indexed. In short, Schedule :has_many
> > Alternatives & alternatives are generated by running
> > schedule.generate_alternatives.
>
> > When I create a Schedule through the app interface, Alternatives are
> > generated but not indexed. However, when I find a schedule through the
> > console and manually call the generate_alternatives action on it,
> > delta indexing works.
>
> > I looked at the nginx log files, production.log, searchd.log and
> > query.log, but nothing indicates that something is wrong. I could not
> > find any indication that it is a permission issue. I also set the bin
> > path for the production environment, again with no success.
>
> > The issue occurs on both nginx + mongrel and nginx + passenger.
>
> > I use chef to run the deployment. The related files are as follows:
> >http://github.com/azolotov/ey-cloud-recipes/blob/master/cookbooks/sph...
> >http://github.com/azolotov/ey-cloud-recipes/blob/master/cookbooks/sph...
> >http://github.com/azolotov/ey-cloud-recipes/blob/master/cookbooks/sph...
>
> > Do you have any suggestions that could help find the root of the
> > problem?
>
> > Thanks,
>
> > Anton
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Thinking Sphinx" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/thinking-sphinx?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to