Omnibus docker fails to restart
Summary
Fail to restart Omnibus GitLab docker container when it is Jihu edition.
Steps to reproduce
- Follow the instruction to run Jihu container
docker run --name gitlab-jh-13121 -d \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
gitlab-jh.tencentcloudcr.com/omnibus/gitlab-jh:13.12.1
- When the service is ready, restart the container
docker restart gitlab-jh-13121
What is the current bug behavior?
The container fails to restart after the initial installation.
What is the expected correct behavior?
The container should be normally up and running after restart.
Relevant logs
/opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl/upgrade_check.rb:14:in `<': comparison of String with nil failed (ArgumentError)
from /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl/upgrade_check.rb:14:in `valid?'
from /opt/gitlab/embedded/service/omnibus-ctl/upgrade-check.rb:6:in `block in load_file'
from /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:197:in `block in add_command'
from /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:746:in `run'
from /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/omnibus-ctl-0.6.0/bin/omnibus-ctl:31:in `<top (required)>'
from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `load'
from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `<main>'
Details of package version
Provide the package version installation details
Omnibus docker of Jihu edition
Edited by vincent stchu