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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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
This topic is locked and can not be replied to.