Forum: Ruby on Rails problem while deploying with capistrano-unicorn

4b991e6bc2c354df945713544f637f63?d=identicon&s=25 john lee (optimumdulopin)
on 2013-10-23 01:30
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.