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*
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.
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.
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
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With