Installing on Ubuntu 15.04 Gives Upstart Error
I have been trying to install Gitlab on a instance of Ubuntu 15.04.
Unfortunately when I run:
sudo gitlab-ctl reconfigure
I get the error message:
STDERR: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
I solved this locally by amending the rule in /opt/gitlab/embedded/cookbooks/runit/recipes/default.rb
when "debian"
case node["platform"]
when "debian"
if node["platform_version"] =~ /^8/
include_recipe "runit::systemd"
else
include_recipe "runit::sysvinit"
end
else
include_recipe "runit::upstart"
to
when "debian"
case node["platform"]
when "debian"
if node["platform_version"] =~ /^8/
include_recipe "runit::systemd"
else
include_recipe "runit::sysvinit"
end
else
#include_recipe "runit::upstart"
include_recipe "runit::sysvinit"
Perhaps there would need to be a check for Ubuntu, and the particular version of Ubuntu....?