capistrano-plugins / capistrano-unicorn-nginx

Capistrano tasks for automatic and sensible unicorn + nginx configuration
MIT License
175 stars 81 forks source link

Unicorn fails to start on Ubuntu 15.04 #70

Closed spscream closed 8 years ago

spscream commented 9 years ago

I have setup with new installed Ubuntu 15.05, and then I do "cap production deploy", unicorn fails to start:

INFO [68cd4a4b] Running /usr/bin/env service unicorn_kaleidoskope_production restart as deploy@213.239.202.61
DEBUG [68cd4a4b] Command: /usr/bin/env service unicorn_kaleidoskope_production restart
DEBUG [68cd4a4b]    Failed to restart unicorn_kaleidoskope_production.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deploy@213.239.202.61: service exit status: 1
service stdout: Nothing written
service stderr: Failed to restart unicorn_kaleidoskope_production.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

ubuntu 15.04 uses new initialization system systemd, the same deploy config is working on ubuntu 14.04.

tobiasgr commented 9 years ago

same problem here...

jbschrades commented 9 years ago

Same here

rhomeister commented 9 years ago

Hi guys,

This gem currently doesn't support systemd. I recommend you run Ubuntu 14.04 LTS on your (production) servers. However, feel free to submit a pull request.

On 5 August 2015 at 21:07, Jeff Schroeder notifications@github.com wrote:

Same here

— Reply to this email directly or view it on GitHub https://github.com/capistrano-plugins/capistrano-unicorn-nginx/issues/70#issuecomment-128112538 .

rhomeister commented 8 years ago

Closing due to lack of activity. Happy to accept a PR though.

jerrygreen commented 8 years ago

Same problem here (ubuntu 15.10)

BenoitHiller commented 7 years ago

Also doesn't work on the latest LTS now (16.04)! Should probably be reopened.