Impossible to install Gitlab on ubuntu 12.04

B33th0v3n picture B33th0v3n · Mar 11, 2014 · Viewed 8k times · Source

i've downloaded the gitlab deb file and rpm(alien conversion). In all two cases dpkg finish installation sucessfully.

But when i try to start

gitlab-ctl reconfigure

the process stop(pause) on this line :

* ruby_block[supervise_redis_sleep] action run

I only could stop it with ctrl+c shourtcut and after i could read this error

================================================================================
Error executing action `run` on resource 'ruby_block[supervise_redis_sleep]'
================================================================================

if i try to start by default

gitlab-ctl start or gitlab-ctl restart

i've this message:

warning: redis: unable to open supervise/ok: file does not exist

Could i resolve it to work?

*PS the deb file downloaded is gitlab_6.6.4-omnibus-1.ubuntu.12.04_amd64.deb*

Answer

Larsen picture Larsen · Sep 11, 2014

This is (now) a known problem. For a workaround, use this:

sudo cp /opt/gitlab/embedded/cookbooks/runit/files/default/gitlab-runsvdir.conf /etc/init/
sudo initctl start gitlab-runsvdir
sudo gitlab-ctl reconfigure