capistrano-unicorn icon indicating copy to clipboard operation
capistrano-unicorn copied to clipboard

problem while deploying with capistrano-unicorn

Open optimum-dulopin opened this issue 12 years ago • 6 comments

Hi,

since today I have some issue when I try to stop / start / restart unicorn I can't understand why but it seems to be mixing my local user and my server user

on config/unicorn/production.rb I have user 'userserver', 'userserver'

where 'userserver' is the name of the user on server so when I launch command cap unicorn:restart I have error u can see here https://gist.github.com/optimum-dulopin/7109877

If I simply change

user 'userserver', 'userserver'

by

user 'userlocal', 'userlocal'

where 'userlocal' is the name of the user my personnal computer, then it is working !

do I do something wrong ? I thought that the user in this file should be the on server, not on local machine. moreover it was working fine the 6 last month !

thanks

optimum-dulopin avatar Oct 22 '13 23:10 optimum-dulopin

+1

I'm on 0.2.0, working fine on 0.1.10

gfrancesco avatar Nov 07 '13 14:11 gfrancesco

same here on 0.2.0

vcastellm avatar Nov 07 '13 16:11 vcastellm

@sfsekaran thoughts ?

sosedoff avatar Nov 07 '13 16:11 sosedoff

Hmm. I've glanced at the code, but I can't seem to figure it out yet. Anyone willing to try a git bisect?

sfsekaran avatar Nov 08 '13 00:11 sfsekaran

+1

jnimety avatar Nov 14 '13 22:11 jnimety

+1

guilherme avatar Sep 10 '14 17:09 guilherme