The shared folder should definitely *not* be in current - current is a symbolic 
link to the latest release, and we want a static path for Sphinx to point to.

If your tmp dir doesn't exist, try creating that - hopefully that'll do the job.

Let us know if there's still some problems.

-- 
Pat

On 04/03/2010, at 3:45 AM, Colin wrote:

> Just to add to the above;
> 
> In the shared folder, the db folder exists with the sphinx folder
> inside but there is no tmp folder in the shared folder so I presume
> it's the pid path that is the problem.
> 
> On Mar 3, 3:25 pm, Colin <[email protected]> wrote:
>> Hi Pat,
>> 
>> I ran that command and it created the folders in my rails folder. (so
>> it looks like: /pathTo/rails/shared/)
>> But my app is deployed to /pathTo/rails/current/.
>> Is that where it is supposed to create the shared folder? Or should it
>> be inside the current folder?
>> 
>> I updated my sphinx.yaml to reflect where the shared folder is now
>> (http://pastie.org/851754) but when I run ts:version I 
>> get:http://pastie.org/851760
>> 
>> So it does the command but complains about a path not being correct.
>> 
>> On Mar 3, 10:05 am, Pat Allan <[email protected]> wrote:
>> 
>> 
>> 
>>> Hi Colin
>> 
>>> The usual process for using capistrano for the first time is to run these 
>>> two tasks:
>> 
>>>   cap deploy:setup
>>>   cap deploy:cold
>> 
>>> Then, for further deploys just use the normal task:
>> 
>>>   cap deploy
>> 
>>> So, that shared folder won't be created at any other point if you've not 
>>> run deploy:setup. However, you don't need to start from scratch, just run 
>>> the task that line refers to instead:
>> 
>>>   cap thinking_sphinx:shared_sphinx_folder
>> 
>>> Hopefully that should help things along.
>> 
>>> --
>>> Pat
>> 
>>> On 03/03/2010, at 7:01 AM, Colin wrote:
>> 
>>>> Hi,
>> 
>>>> I've just gotten my first rails app deployed and I'm trying to get TS
>>>> working in the production environment.
>>>> I'm following two 
>>>> guides:http://www.updrift.com/article/thinkingsphinx-capistrano-tasks
>>>> andhttp://freelancing-god.github.com/ts/en/deployment.html
>> 
>>>> I'm using the TS gem.
>>>> My deploy.rb looks like this:http://pastie.org/850411andmy
>>>> sphinx.yaml looks like this:http://pastie.org/850413
>> 
>>>> At the moment when I cap deploy, no shared folder is created, which I
>>>> presume is what the last line of the deploy.rb is supposed to do. And
>>>> as a result the paths in the sphinx.yaml obviously can't be followed.
>> 
>>>> Can anyone suggest what is wrong, or if I've missed a step?
>> 
>>>> Sphinx and Thinking Sphinx are both installed on the server.
>> 
>>>> Regards,
>> 
>>>> Colin
>> 
>>>> --
>>>> 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.
> 

-- 
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