Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Impossible to install Gitlab on ubuntu 12.04

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*

like image 897
B33th0v3n Avatar asked Mar 11 '14 14:03

B33th0v3n


People also ask

Should I install GitLab CE or EE?

GitLab comes in two distributions: the Enterprise Edition and the Community Edition. We recommend you download and install GitLab Enterprise Edition, so if you want to in the future you can upgrade to a paid tier or add a subscription for paid features without having to reinstall GitLab.

Can GitLab run on Raspberry Pi?

In order to run GitLab Community Edition on a Raspberry Pi, you need the newest Pi 4 with at least 4GB of RAM for best results.


2 Answers

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
like image 90
Larsen Avatar answered Sep 24 '22 00:09

Larsen


For CentOS:

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

  # gitlab-ctl status
  run: gitaly: (pid 11526) 907s; run: log: (pid 11581) 906s
  run: postgresql: (pid 11810) 881s; run: log: (pid 11834) 880s
  warning: puma: unable to open supervise/ok: file does not exist
  run: redis: (pid 11484) 913s; run: log: (pid 11483) 913s
  # cd /opt/gitlab/sv/puma/supervise
  # mkfifo control
  # mkfifo ok
  # pkill runsv
# /opt/gitlab/embedded/bin/runsvdir-start &
# gitlab-ctl reconfigure
…………..
Running handlers:
Running handlers complete
Chef Client finished, 5/794 resources updated in 21 seconds
GitLab Reconfigured!

Ref:

  • https://forum.gitlab.com/t/gitlab-ce-13-0-4-ce-0-failed-stuck-on-puma/38389
like image 39
DJCerdas Avatar answered Sep 20 '22 00:09

DJCerdas