On Fri, 02 Jun 2017 10:08:42 +0200 Joerg Jaspert <jo...@ganneff.de> wrote: > root@nibbler:/# /etc/init.d/gitlab start > Starting GitLab Unicorn > Starting GitLab Sidekiq > Starting GitLab Workhorse > Could not find gem 'mysql2 (~> 0.3.16)' in any of the gem sources listed in > your Gemfile or available on this machine. > Run `bundle install` to install missing gems. > ..............................Waited 30s for the processes to write their > pids, something probably went wrong. > root@nibbler:/# /etc/init.d/gitlab status > The GitLab Unicorn web server is not running. > The GitLab Sidekiq job dispatcher is not running. > The GitLab Workhorse with pid 168334 is running. > root@nibbler:/#
This is failing only under sysvinit, works well in systemd. Can you try adding export DB RAILS_ENV after it sources /etc/gitlab/gitlab-debian.conf in /etc/default/gitlab? # Read debian specific configuration . /etc/gitlab/gitlab-debian.conf export DB RAILS_ENV
signature.asc
Description: OpenPGP digital signature