Closed Awea closed 8 years ago
+1
But i have different error message:
~/Projects/shemberg-rails (master) cap staging unicorn:start
INFO [b13d534b] Running /usr/bin/env service unicorn_shemberg_staging start as vsefasadi.ru@shemberg.ru
DEBUG [b13d534b] Command: /usr/bin/env service unicorn_shemberg_staging start
DEBUG [b13d534b] /etc/init.d/unicorn_shemberg_staging: line 26: kill: (5663) - No such process
DEBUG [b13d534b] master failed to start, check stderr log for details
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as vsefasadi.ru@shemberg.ru: service exit status: 1
service stdout: Nothing written
service stderr: /etc/init.d/unicorn_shemberg_staging: line 26: kill: (5663) - No such process
master failed to start, check stderr log for details
SSHKit::Command::Failed: service exit status: 1
service stdout: Nothing written
service stderr: /etc/init.d/unicorn_shemberg_staging: line 26: kill: (5663) - No such process
master failed to start, check stderr log for details
Tasks: TOP => unicorn:start
(See full trace by running task with --trace)
I didn't get any trouble when I log myself on the server and manually start the service. But well it's not very smooth ^^
Sorry, my message is not actual: unicorn is not started for my issue on code.
The service command is only available for root user on Debian, I don't understand something. @bruno- Am I supposed to add it to my user PATH or something like that ?
i have same issue. and @Awea last comment is correct. (used Debian)
original capistrano-unicorn-nginx
was used sudo
https://github.com/kalys/capistrano-nginx-unicorn/blob/master/lib/capistrano/tasks/unicorn.rake#L30
but i understand why changed to execute
.
FYI:
Closing due to lack of activity. I think this might have been resolved with the PRs.
@rhomeister sure. thx ;)
I'm trying to deploy my application on a vm for testing. The cap setup run without any troubles :
But when it come to start unicorn service it doesn't found the binary: