(Sorry, I screwed up - accidentally flagged this email as spam - obviously, I'm 
in need of some sleep at the moment. Reposting on behalf of rywalker, and have 
removed the auto-account ban. Sorry!)

I have installed 1.3.16 as plugin, gem in not installed on development
or server

In this task:

 task :after_update_code, :roles => [:app] do
   symlink_sphinx_indexes
   thinking_sphinx.configure
   thinking_sphinx.start
 end

when the thinking_sphinx.configure line runs, it fails...

executing "cd /home/deploy/apps/gapattack/releases/20100308011613 &&
rake thinking_sphinx:configure RAILS_ENV=production"
   servers: ["av1.anotherventure.com"]
   [av1.anotherventure.com] executing command
*** [err :: av1.anotherventure.com] rake aborted!
*** [err :: av1.anotherventure.com] Access denied for user
'root'@'localhost' (using password: NO)
*** [err :: av1.anotherventure.com]
*** [err :: av1.anotherventure.com] (See full trace by running task
with --trace)
** [out :: av1.anotherventure.com] (in /home/deploy/apps/gapattack/
releases/20100308011613)
** [out :: av1.anotherventure.com] Generating Configuration to /home/
deploy/apps/gapattack/releases/20100308011613/config/
production.sphinx.conf
   command finished
*** [deploy:update_code] rolling back

If I take out these 2 lines:

   thinking_sphinx.configure
   thinking_sphinx.start

then after successfuly deploy I go to server & run these two lines:

RAILS_ENV=production rake ts:config
RAILS_ENV=production rake ts:start

everything is fine...

I don't know capistrano very well, so I'm guessing that the release
must not be in the same state when I get the failure than it is when I
run the rake tasks after the deploy.

Any ideas? What additional info can I provide for troubleshooting?

-Ryan

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