Configuration variables /etc/gitlab/gitlab.rb are improperly converted in /var/opt/gitlab/gitlab-rails/etc/gitlab.yml
Summary
String configuration values entered in /etc/gitlab/gitlab.rb
are moved/translated into /var/opt/gitlab/gitlab-rails/etc/gitlab.yml
without proper escape sequences or formatting, thus creating puzzling errors: Psych::SyntaxError
on <unknown>
file at wrong column/line.
Steps to reproduce
Very easy: enter the following value into /etc/gitlab/gitlab.rb
:
gitlab_rails['gitlab_email_subject_suffix'] = '[IT] git'
And then
$ sudo gitlab-ctl reconfigure
[...]
Psych::SyntaxError: (<unknown>): did not find expected key while parsing a block mapping at line 13 column 5
[...]
The debugging here is horrible: there will be random fails at various points in the reconfigure script. The most frequent fail is with the bash[migrate gitlab-rails database] action run
. The bug has the wrong line and column number, no file specified <unknown>
and very little information via Google. I lost 2 days removing configuration lines one by one before finding the problem...
What is the current bug behavior?
When looking in the /var/opt/gitlab/gitlab-rails/etc/gitlab.yml
file, you see that the previous settings which was gitlab_rails['gitlab_email_subject_suffix'] = '[IT] git'
gets 'transformed' into email_subject_suffix: [IT] git
. Notice that the string quotes have vanished, thus the YAML parser fails as it believes [IT]
is an array ! That's why Psych throws a SyntaxError
!
What is the expected correct behavior?
The transformation from /etc/gitlab/gitlab.rb
to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml
should preserve quotes or double quotes.
Relevant logs and/or screenshots
gitlab-ctl reconfigure output
sudo gitlab-ctl reconfigure [0] Starting Chef Client, version 12.12.15 resolving cookbooks for run list: ["gitlab"] Synchronizing Cookbooks: - package (0.0.0) - gitlab (0.0.1) - runit (0.14.2) Installing Cookbook Gems: Compiling Cookbooks... Recipe: gitlab::default * directory[/etc/gitlab] action create (up to date) /sbin/init: unrecognized option '--version' -.mount loaded active mounted / Converging 230 resources * directory[/etc/gitlab] action create (up to date) * directory[Create /var/opt/gitlab] action create (up to date) * directory[/opt/gitlab/embedded/etc] action create (up to date) * template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date) Recipe: gitlab::web-server * group[Webserver user and group] action create (up to date) * user[Webserver user and group] action create (up to date) Recipe: gitlab::users * directory[/var/opt/gitlab] action create (up to date) * group[GitLab user and group] action create (up to date) * user[GitLab user and group] action create (up to date) * template[/var/opt/gitlab/.gitconfig] action create (up to date) Recipe: gitlab::gitlab-shell * ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if) * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run (skipped due to not_if) * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if) * directory[/opt/gitlab/embedded/service/gitlab-shell/hooks/] action create (up to date) * directory[/var/log/gitlab/gitlab-shell/] action create (up to date) * directory[/var/opt/gitlab/gitlab-shell] action create (up to date) * templatesymlink[Create a config.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date) (up to date) * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date) * execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run - execute /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions * bash[Set proper security context on ssh files for selinux] action run (skipped due to only_if) Recipe: gitlab::gitlab-rails * directory[/var/log/gitlab] action create (up to date) * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run (skipped due to not_if) * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if) * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run (skipped due to not_if) * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run (skipped due to not_if) * ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run (skipped due to not_if) * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run (skipped due to not_if) * directory[create /var/opt/gitlab/gitlab-rails/etc] action create (up to date) * directory[create /opt/gitlab/etc/gitlab-rails] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/working] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/tmp] action create (up to date) * directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create (up to date) * directory[create /var/log/gitlab/gitlab-rails] action create (up to date) * directory[/var/opt/gitlab/backups] action create (up to date) * directory[/var/opt/gitlab/gitlab-rails] action create (up to date) * directory[/var/opt/gitlab/gitlab-ci] action create (up to date) * template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date) * file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date) * file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date) * templatesymlink[Create a database.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date) * templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date) (up to date) * templatesymlink[Create a resque.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date) (up to date) * templatesymlink[Create a aws.yml and create a symlink to Rails root] action delete * template[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/aws.yml to /var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date) (up to date) * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date) * templatesymlink[Create a relative_url.rb and create a symlink to Rails root] action delete * template[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb to /var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date) (up to date) * templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create - update content in file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml from fb680a to b765c6 # Uncommment this line below if your ssh host is different from HTTP/HTTPS one # (you'd obviously need to replace ssh.host_example.com with your own host). @@ -38,10 +38,10 @@ # Uncomment and set to false if you need to disable email sending from GitLab (default: true) email_enabled: # Email address used in the "From" field in mails sent by GitLab - email_from: gitlab@git.example.com - email_display_name: - email_reply_to: - email_subject_suffix: + email_from: git@example.com + email_display_name: IT - git + email_reply_to: noreply@example.com + email_subject_suffix: [IT] git # Email server smtp settings are in [a separate file](initializers/smtp_settings.rb.sample). * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date) * templatesymlink[Create a rack_attack.rb and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb to /var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date) (up to date) * templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date) (up to date) * templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date) * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date) (up to date) * directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create (up to date) * file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date) * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date) * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if) * file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create (up to date) * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date) * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date) * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date) * execute[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run - execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing) * bash[generate assets] action nothing (skipped due to action :nothing) * file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date) Recipe: gitlab::gitlab-ci-proxying * template[/var/opt/gitlab/nginx/conf/gitlab-ci-http.conf] action delete (up to date) Recipe: gitlab::add_trusted_certs * directory[/etc/gitlab/trusted-certs] action create (up to date) * directory[/opt/gitlab/embedded/ssl/certs] action create (up to date) * file[/opt/gitlab/embedded/ssl/certs/README] action create (up to date) * ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run (skipped due to only_if) Recipe: gitlab::default * service[create a temporary unicorn service] action nothing (skipped due to action :nothing) * service[create a temporary ci-unicorn service] action nothing (skipped due to action :nothing) * service[create a temporary sidekiq service] action nothing (skipped due to action :nothing) * service[create a temporary ci-sidekiq service] action nothing (skipped due to action :nothing) * service[create a temporary mailroom service] action nothing (skipped due to action :nothing) Recipe: runit::systemd * directory[/usr/lib/systemd/system] action create (up to date) * cookbook_file[/usr/lib/systemd/system/gitlab-runsvdir.service] action create (up to date) * file[/etc/systemd/system/default.target.wants/gitlab-runsvdir.service] action delete (up to date) * execute[systemctl daemon-reload] action nothing (skipped due to action :nothing) * execute[systemctl enable gitlab-runsvdir] action nothing (skipped due to action :nothing) * execute[systemctl start gitlab-runsvdir] action nothing (skipped due to action :nothing) Recipe: gitlab::redis * group[user and group for redis] action create (up to date) * user[user and group for redis] action create (up to date) * group[Socket group] action create (up to date) * directory[/var/opt/gitlab/redis] action create (up to date) * directory[/var/log/gitlab/redis] action create (up to date) * template[/var/opt/gitlab/redis/redis.conf] action create (up to date) * directory[/opt/gitlab/sv/redis] action create (up to date) * directory[/opt/gitlab/sv/redis/log] action create (up to date) * directory[/opt/gitlab/sv/redis/log/main] action create (up to date) * template[/opt/gitlab/sv/redis/run] action create (up to date) * template[/opt/gitlab/sv/redis/log/run] action create (up to date) * template[/var/log/gitlab/redis/config] action create (up to date) * ruby_block[reload redis svlogd configuration] action nothing (skipped due to action :nothing) * file[/opt/gitlab/sv/redis/down] action delete (up to date) * link[/opt/gitlab/init/redis] action create (up to date) * link[/opt/gitlab/service/redis] action create (up to date) * ruby_block[supervise_redis_sleep] action run (skipped due to not_if) * service[redis] action nothing (skipped due to action :nothing) Recipe: gitlab::postgresql_disable * link[/opt/gitlab/service/postgresql] action delete - delete link at /opt/gitlab/service/postgresql * directory[/opt/gitlab/sv/postgresql] action delete - delete existing directory /opt/gitlab/sv/postgresql Recipe: gitlab::database_migrations * bash[migrate gitlab-rails database] action run [execute] rake aborted! Psych::SyntaxError: (): did not find expected key while parsing a block mapping at line 13 column 5 /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:100:in `' /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in `' /opt/gitlab/embedded/bin/bundle:22:in `load' /opt/gitlab/embedded/bin/bundle:22:in `' Tasks: TOP => gitlab:db:configure => environment (See full trace by running task with --trace) D, [2017-02-15T15:10:08.114112 #29816] DEBUG -- sentry: ** [Raven] (): did not find expected key while parsing a block mapping at line 13 column 5 excluded from capture due to environment or should_capture callback ================================================================================ Error executing action `run` on resource 'bash[migrate gitlab-rails database]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of "bash" "/tmp/chef-script20170215-29420-1bh27j9" ---- STDOUT: rake aborted! Psych::SyntaxError: (): did not find expected key while parsing a block mapping at line 13 column 5 /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:100:in `' /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in `' /opt/gitlab/embedded/bin/bundle:22:in `load' /opt/gitlab/embedded/bin/bundle:22:in `' Tasks: TOP => gitlab:db:configure => environment (See full trace by running task with --trace) D, [2017-02-15T15:10:08.114112 #29816] DEBUG -- sentry: ** [Raven] (): did not find expected key while parsing a block mapping at line 13 column 5 excluded from capture due to environment or should_capture callback STDERR: ---- End output of "bash" "/tmp/chef-script20170215-29420-1bh27j9" ---- Ran "bash" "/tmp/chef-script20170215-29420-1bh27j9" returned 1 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb 51: bash "migrate gitlab-rails database" do 52: code <<-EOH 53: set -e 54: log_file="#{node['gitlab']['gitlab-rails']['log_directory']}/gitlab-rails-db-migrate-$(date +%Y-%m-%d-%H-%M-%S).log" 55: umask 077 56: /opt/gitlab/bin/gitlab-rake gitlab:db:configure 2>& 1 | tee ${log_file} 57: STATUS=${PIPESTATUS[0]} 58: echo $STATUS > #{db_migrate_status_file} 59: exit $STATUS 60: EOH 61: environment env_variables unless env_variables.empty? 62: notifies :run, 'execute[enable pg_trgm extension]', :before unless omnibus_helper.not_listening?("postgresql") || !node['gitlab']['postgresql']['enable'] 63: notifies :run, "execute[clear the gitlab-rails cache]", :immediately unless omnibus_helper.not_listening?("redis") 64: dependent_services.each do |svc| 65: notifies :restart, svc, :immediately 66: end 67: not_if "(test -f #{db_migrate_status_file}) && (cat #{db_migrate_status_file} | grep -Fx 0)" 68: only_if { node['gitlab']['gitlab-rails']['auto_migrate'] } 69: end Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb:51:in `from_file' bash("migrate gitlab-rails database") do action [:run] retries 0 retry_delay 2 default_guard_interpreter :default command "migrate gitlab-rails database" backup 5 returns 0 code " set -e\n log_file=\"/var/log/gitlab/gitlab-rails/gitlab-rails-db-migrate-$(date +%Y-%m-%d-%H-%M-%S).log\"\n umask 077\n /opt/gitlab/bin/gitlab-rake gitlab:db:configure 2>& 1 | tee ${log_file}\n STATUS=${PIPESTATUS[0]}\n echo $STATUS > /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-2aafeb7678fb731b5cc6e0ba53f04a2f-064dab1\n exit $STATUS\n" interpreter "bash" declared_type :bash cookbook_name "gitlab" recipe_name "database_migrations" not_if "(test -f /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-2aafeb7678fb731b5cc6e0ba53f04a2f-064dab1) && (cat /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-2aafeb7678fb731b5cc6e0ba53f04a2f-064dab1 | grep -Fx 0)" only_if { #code block } end Platform: --------- x86_64-linux Recipe: gitlab::unicorn * service[unicorn] action restart - restart service service[unicorn] Recipe: gitlab::sidekiq * service[sidekiq] action restart - restart service service[sidekiq] Recipe: gitlab::gitlab-rails * execute[clear the gitlab-rails cache] action run [execute] rake aborted! Psych::SyntaxError: (): did not find expected key while parsing a block mapping at line 13 column 5 /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:100:in `' /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in `' /opt/gitlab/embedded/bin/bundle:22:in `load' /opt/gitlab/embedded/bin/bundle:22:in `' Tasks: TOP => cache:clear => cache:clear:redis => environment (See full trace by running task with --trace) D, [2017-02-15T15:10:31.252128 #29863] DEBUG -- sentry: ** [Raven] (): did not find expected key while parsing a block mapping at line 13 column 5 excluded from capture due to environment or should_capture callback ================================================================================ Error executing action `run` on resource 'execute[clear the gitlab-rails cache]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ---- STDOUT: D, [2017-02-15T15:10:31.252128 #29863] DEBUG -- sentry: ** [Raven] (): did not find expected key while parsing a block mapping at line 13 column 5 excluded from capture due to environment or should_capture callback STDERR: rake aborted! Psych::SyntaxError: (): did not find expected key while parsing a block mapping at line 13 column 5 /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:100:in `' /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in `' /opt/gitlab/embedded/bin/bundle:22:in `load' /opt/gitlab/embedded/bin/bundle:22:in `' Tasks: TOP => cache:clear => cache:clear:redis => environment (See full trace by running task with --trace) ---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ---- Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 1 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb 352: execute "clear the gitlab-rails cache" do 353: command "/opt/gitlab/bin/gitlab-rake cache:clear" 354: action :nothing 355: end 356: Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:352:in `from_file' execute("clear the gitlab-rails cache") do action [:nothing] retries 0 retry_delay 2 default_guard_interpreter :execute command "/opt/gitlab/bin/gitlab-rake cache:clear" backup 5 returns 0 declared_type :execute cookbook_name "gitlab" recipe_name "gitlab-rails" end Platform: --------- x86_64-linux Running handlers: Running handlers complete Chef Client failed. 14 resources updated in 50 seconds
Output of checks
This happens on the latest Gitlab CE version (8.16.5)
Results of GitLab environment info
Expand for output related to GitLab environment info
sudo gitlab-rake gitlab:env:info [0] System information System: Debian 8.7 Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Sidekiq Version:4.2.7 GitLab information Version: 8.16.5 Revision: 064dab1 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://git.example.com HTTP Clone URL: https://git.example.com/some-group/some-project.git SSH Clone URL: ssh://git@git.example.com/some-group/some-project.git Using LDAP: no Using Omniauth: no GitLab Shell Version: 4.1.1 Repository storage paths: - default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
gitlab-rake gitlab:check SANITIZE=true [0] Checking GitLab Shell ... GitLab Shell version >= 4.1.1 ? ... OK (4.1.1) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 5/7 ... ok 13/8 ... ok 13/9 ... ok 13/10 ... ok 13/11 ... ok 13/12 ... ok 13/27 ... ok 13/29 ... ok 13/35 ... ok 13/36 ... ok 56/41 ... ok 13/42 ... ok 35/43 ... ok 41/44 ... ok 40/45 ... ok 24/46 ... ok 15/47 ... ok 42/49 ... ok 58/70 ... ok 42/71 ... ok 28/72 ... ok 28/73 ... ok 28/74 ... ok 28/75 ... ok 28/76 ... ok 28/77 ... ok 28/78 ... ok 13/80 ... ok 13/81 ... ok 19/82 ... ok 13/84 ... ok 12/85 ... ok 28/86 ... ok 28/87 ... ok 28/88 ... ok 28/89 ... ok 28/90 ... ok 28/91 ... ok 28/92 ... ok 28/93 ... ok 28/94 ... ok 28/95 ... ok 28/96 ... ok 28/97 ... ok 28/98 ... ok 28/99 ... ok 28/100 ... ok 28/101 ... ok 28/102 ... ok 28/103 ... ok 28/104 ... ok 28/105 ... ok 28/106 ... ok 28/107 ... ok 28/108 ... ok 28/109 ... ok 28/110 ... ok 28/111 ... ok 28/112 ... ok 28/113 ... ok 28/114 ... ok 28/115 ... ok 28/116 ... ok 28/117 ... ok 28/118 ... ok 28/119 ... ok 28/120 ... ok 13/122 ... ok 14/124 ... ok 56/125 ... ok 5/126 ... ok 13/128 ... repository is empty 22/129 ... ok 13/132 ... ok 41/133 ... ok 19/135 ... ok 19/136 ... ok 19/137 ... ok 15/138 ... ok 15/139 ... ok 13/140 ... ok 13/141 ... ok 41/142 ... ok 19/143 ... ok 19/144 ... ok 19/146 ... ok 19/148 ... ok 19/149 ... ok 40/151 ... ok 40/152 ... ok 19/153 ... ok 19/154 ... ok 19/155 ... ok 40/156 ... ok 40/157 ... ok 40/158 ... ok 40/159 ... ok 40/163 ... ok 40/164 ... ok 19/165 ... ok 19/166 ... ok 19/167 ... ok 42/168 ... ok 8/169 ... ok 15/171 ... ok 15/172 ... ok 15/173 ... ok 15/174 ... ok 15/175 ... ok 15/176 ... ok 15/177 ... ok 15/178 ... ok 15/179 ... ok 15/180 ... ok 15/181 ... ok 15/182 ... repository is empty 15/183 ... ok 15/184 ... ok 15/185 ... ok 15/186 ... repository is empty 15/187 ... repository is empty 15/188 ... repository is empty 15/189 ... ok 15/190 ... ok 15/191 ... ok 34/192 ... repository is empty 34/193 ... repository is empty 34/194 ... repository is empty 34/195 ... repository is empty 34/196 ... repository is empty 34/197 ... ok 34/198 ... repository is empty 34/199 ... repository is empty 34/200 ... repository is empty 34/201 ... repository is empty 34/202 ... ok 34/203 ... repository is empty 34/204 ... repository is empty 34/205 ... repository is empty 34/206 ... repository is empty 34/207 ... repository is empty 34/208 ... repository is empty 34/209 ... ok 34/210 ... ok 34/211 ... ok 34/212 ... ok 34/213 ... ok 34/214 ... ok 34/215 ... ok 34/216 ... repository is empty 34/217 ... ok 34/218 ... repository is empty 34/219 ... ok 34/220 ... repository is empty 34/221 ... repository is empty 34/222 ... repository is empty 34/223 ... ok 34/224 ... ok 34/225 ... repository is empty 34/226 ... repository is empty 34/227 ... ok 34/228 ... repository is empty 34/229 ... repository is empty 34/230 ... repository is empty 34/231 ... repository is empty 34/232 ... ok 34/233 ... repository is empty 34/234 ... ok 34/235 ... ok 34/236 ... repository is empty 34/237 ... ok 34/238 ... ok 34/239 ... ok 34/240 ... ok 34/241 ... ok 34/242 ... ok 34/243 ... ok 34/244 ... ok 34/245 ... ok 34/246 ... ok 34/247 ... ok 34/248 ... repository is empty 34/249 ... ok 34/250 ... ok 34/251 ... repository is empty 34/252 ... repository is empty 34/253 ... ok 34/254 ... ok 34/255 ... repository is empty 34/256 ... ok 34/257 ... ok 34/258 ... ok 34/259 ... repository is empty 34/260 ... ok 34/261 ... repository is empty 34/262 ... repository is empty 34/263 ... repository is empty 34/264 ... repository is empty 34/265 ... ok 34/266 ... ok 34/267 ... repository is empty 34/268 ... ok 34/269 ... ok 34/270 ... repository is empty 34/271 ... ok 34/272 ... ok 34/273 ... ok 34/274 ... ok 34/275 ... repository is empty 34/276 ... repository is empty 34/277 ... ok 34/278 ... repository is empty 34/279 ... ok 34/280 ... ok 34/281 ... repository is empty 34/282 ... ok 15/283 ... ok 32/286 ... ok 32/287 ... ok 45/288 ... ok 45/289 ... ok 45/290 ... ok 45/291 ... ok 45/292 ... ok 45/293 ... ok 45/294 ... ok 45/295 ... ok 45/296 ... ok 45/297 ... ok 45/298 ... ok 45/299 ... ok 45/300 ... ok 45/301 ... ok 45/302 ... ok 45/303 ... ok 45/304 ... ok 45/305 ... ok 45/306 ... ok 45/307 ... ok 45/308 ... ok 45/309 ... ok 45/310 ... ok 45/311 ... ok 45/312 ... ok 45/313 ... ok 45/314 ... ok 45/315 ... ok 45/316 ... ok 45/317 ... ok 45/318 ... ok 45/319 ... ok 45/320 ... ok 45/321 ... ok 45/322 ... ok 45/323 ... ok 45/324 ... ok 45/325 ... ok 45/326 ... ok 45/327 ... ok 45/328 ... ok 45/329 ... ok 45/330 ... ok 44/332 ... repository is empty 44/333 ... ok 44/334 ... ok 44/335 ... ok 44/336 ... ok 44/337 ... ok 44/338 ... ok 44/339 ... ok 44/340 ... repository is empty 44/341 ... repository is empty 44/342 ... repository is empty 44/343 ... ok 44/344 ... repository is empty 44/345 ... ok 44/346 ... ok 44/347 ... ok 44/348 ... ok 44/349 ... ok 44/350 ... ok 44/351 ... ok 44/352 ... ok 44/353 ... ok 44/354 ... ok 44/355 ... ok 44/356 ... ok 44/357 ... ok 44/358 ... ok 44/359 ... ok 44/360 ... ok 44/361 ... ok 44/362 ... ok 44/363 ... ok 44/364 ... ok 44/365 ... ok 44/366 ... ok 44/367 ... ok 44/368 ... ok 44/369 ... ok 44/370 ... ok 44/371 ... ok 44/372 ... ok 44/373 ... ok 44/374 ... ok 48/375 ... ok 48/376 ... ok 48/377 ... ok 48/378 ... ok 48/379 ... ok 48/380 ... ok 48/381 ... ok 48/382 ... ok 48/383 ... ok 48/384 ... ok 48/385 ... ok 56/386 ... ok 15/387 ... ok 48/388 ... ok 15/389 ... ok 15/390 ... ok 34/391 ... ok 34/393 ... ok 28/394 ... ok 34/395 ... ok 34/396 ... ok 34/397 ... ok 42/400 ... ok 13/401 ... ok 48/402 ... ok 15/403 ... ok 15/404 ... ok 41/405 ... ok 41/406 ... ok 15/407 ... ok 48/408 ... ok 56/409 ... ok 13/410 ... ok 13/411 ... ok 19/413 ... ok 19/414 ... ok 35/415 ... ok 57/417 ... ok 57/418 ... ok 57/419 ... ok 57/420 ... ok 57/421 ... repository is empty 13/422 ... ok 35/423 ... ok 35/424 ... ok 34/425 ... ok 34/426 ... ok 24/427 ... ok 34/428 ... ok 34/429 ... ok 34/430 ... ok 41/431 ... ok 34/432 ... ok 15/433 ... repository is empty 34/434 ... ok 34/435 ... ok 34/436 ... ok 48/437 ... ok 48/438 ... ok 48/439 ... ok 48/440 ... ok 34/441 ... ok 48/443 ... ok 34/445 ... ok 34/446 ... ok 34/447 ... ok 48/450 ... ok 48/451 ... ok 34/452 ... ok 13/453 ... ok 19/455 ... ok 19/456 ... ok 34/457 ... ok 58/458 ... ok 13/460 ... ok 41/462 ... ok 34/463 ... ok 60/464 ... ok 60/465 ... ok 34/466 ... ok 60/467 ... ok 34/468 ... ok 34/469 ... ok 34/470 ... ok 34/471 ... ok 34/472 ... ok 60/473 ... ok 34/474 ... ok 60/475 ... ok 34/476 ... ok 34/477 ... ok 34/478 ... ok 34/479 ... ok 34/480 ... ok 58/481 ... ok 58/482 ... ok 34/483 ... ok 34/484 ... ok 34/485 ... ok 34/486 ... ok 34/487 ... ok 34/488 ... ok 34/489 ... ok 42/491 ... ok 42/492 ... ok 42/493 ... ok 42/494 ... ok 34/495 ... ok 13/496 ... ok 34/497 ... ok 34/498 ... repository is empty 34/499 ... repository is empty Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful Checking GitLab Shell ... Finished Checking Sidekiq ... Running? ... yes Number of Sidekiq processes ... 1 Checking Sidekiq ... Finished Checking Reply by email ... Reply by email is disabled in config/gitlab.yml Checking Reply by email ... Finished Checking LDAP ... LDAP is disabled in config/gitlab.yml Checking LDAP ... Finished Checking GitLab ... Git configured with autocrlf=input? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 5/7 ... yes 13/8 ... yes 13/9 ... yes 13/10 ... yes 13/11 ... yes 13/12 ... yes 13/27 ... yes 13/29 ... yes 13/35 ... yes 13/36 ... yes 56/41 ... yes 13/42 ... yes 35/43 ... yes 41/44 ... yes 40/45 ... yes 24/46 ... yes 15/47 ... yes 42/49 ... yes 58/70 ... yes 42/71 ... yes 28/72 ... yes 28/73 ... yes 28/74 ... yes 28/75 ... yes 28/76 ... yes 28/77 ... yes 28/78 ... yes 13/80 ... yes 13/81 ... yes 19/82 ... yes 13/84 ... yes 12/85 ... yes 28/86 ... yes 28/87 ... yes 28/88 ... yes 28/89 ... yes 28/90 ... yes 28/91 ... yes 28/92 ... yes 28/93 ... yes 28/94 ... yes 28/95 ... yes 28/96 ... yes 28/97 ... yes 28/98 ... yes 28/99 ... yes 28/100 ... yes 28/101 ... yes 28/102 ... yes 28/103 ... yes 28/104 ... yes 28/105 ... yes 28/106 ... yes 28/107 ... yes 28/108 ... yes 28/109 ... yes 28/110 ... yes 28/111 ... yes 28/112 ... yes 28/113 ... yes 28/114 ... yes 28/115 ... yes 28/116 ... yes 28/117 ... yes 28/118 ... yes 28/119 ... yes 28/120 ... yes 13/122 ... yes 14/124 ... yes 56/125 ... yes 5/126 ... yes 13/128 ... yes 22/129 ... yes 13/132 ... yes 41/133 ... yes 19/135 ... yes 19/136 ... yes 19/137 ... yes 15/138 ... yes 15/139 ... yes 13/140 ... yes 13/141 ... yes 41/142 ... yes 19/143 ... yes 19/144 ... yes 19/146 ... yes 19/148 ... yes 19/149 ... yes 40/151 ... yes 40/152 ... yes 19/153 ... yes 19/154 ... yes 19/155 ... yes 40/156 ... yes 40/157 ... yes 40/158 ... yes 40/159 ... yes 40/163 ... yes 40/164 ... yes 19/165 ... yes 19/166 ... yes 19/167 ... yes 42/168 ... yes 8/169 ... yes 15/171 ... yes 15/172 ... yes 15/173 ... yes 15/174 ... yes 15/175 ... yes 15/176 ... yes 15/177 ... yes 15/178 ... yes 15/179 ... yes 15/180 ... yes 15/181 ... yes 15/182 ... yes 15/183 ... yes 15/184 ... yes 15/185 ... yes 15/186 ... yes 15/187 ... yes 15/188 ... yes 15/189 ... yes 15/190 ... yes 15/191 ... yes 34/192 ... yes 34/193 ... yes 34/194 ... yes 34/195 ... yes 34/196 ... yes 34/197 ... yes 34/198 ... yes 34/199 ... yes 34/200 ... yes 34/201 ... yes 34/202 ... yes 34/203 ... yes 34/204 ... yes 34/205 ... yes 34/206 ... yes 34/207 ... yes 34/208 ... yes 34/209 ... yes 34/210 ... yes 34/211 ... yes 34/212 ... yes 34/213 ... yes 34/214 ... yes 34/215 ... yes 34/216 ... yes 34/217 ... yes 34/218 ... yes 34/219 ... yes 34/220 ... yes 34/221 ... yes 34/222 ... yes 34/223 ... yes 34/224 ... yes 34/225 ... yes 34/226 ... yes 34/227 ... yes 34/228 ... yes 34/229 ... yes 34/230 ... yes 34/231 ... yes 34/232 ... yes 34/233 ... yes 34/234 ... yes 34/235 ... yes 34/236 ... yes 34/237 ... yes 34/238 ... yes 34/239 ... yes 34/240 ... yes 34/241 ... yes 34/242 ... yes 34/243 ... yes 34/244 ... yes 34/245 ... yes 34/246 ... yes 34/247 ... yes 34/248 ... yes 34/249 ... yes 34/250 ... yes 34/251 ... yes 34/252 ... yes 34/253 ... yes 34/254 ... yes 34/255 ... yes 34/256 ... yes 34/257 ... yes 34/258 ... yes 34/259 ... yes 34/260 ... yes 34/261 ... yes 34/262 ... yes 34/263 ... yes 34/264 ... yes 34/265 ... yes 34/266 ... yes 34/267 ... yes 34/268 ... yes 34/269 ... yes 34/270 ... yes 34/271 ... yes 34/272 ... yes 34/273 ... yes 34/274 ... yes 34/275 ... yes 34/276 ... yes 34/277 ... yes 34/278 ... yes 34/279 ... yes 34/280 ... yes 34/281 ... yes 34/282 ... yes 15/283 ... yes 32/286 ... yes 32/287 ... yes 45/288 ... yes 45/289 ... yes 45/290 ... yes 45/291 ... yes 45/292 ... yes 45/293 ... yes 45/294 ... yes 45/295 ... yes 45/296 ... yes 45/297 ... yes 45/298 ... yes 45/299 ... yes 45/300 ... yes 45/301 ... yes 45/302 ... yes 45/303 ... yes 45/304 ... yes 45/305 ... yes 45/306 ... yes 45/307 ... yes 45/308 ... yes 45/309 ... yes 45/310 ... yes 45/311 ... yes 45/312 ... yes 45/313 ... yes 45/314 ... yes 45/315 ... yes 45/316 ... yes 45/317 ... yes 45/318 ... yes 45/319 ... yes 45/320 ... yes 45/321 ... yes 45/322 ... yes 45/323 ... yes 45/324 ... yes 45/325 ... yes 45/326 ... yes 45/327 ... yes 45/328 ... yes 45/329 ... yes 45/330 ... yes 44/332 ... yes 44/333 ... yes 44/334 ... yes 44/335 ... yes 44/336 ... yes 44/337 ... yes 44/338 ... yes 44/339 ... yes 44/340 ... yes 44/341 ... yes 44/342 ... yes 44/343 ... yes 44/344 ... yes 44/345 ... yes 44/346 ... yes 44/347 ... yes 44/348 ... yes 44/349 ... yes 44/350 ... yes 44/351 ... yes 44/352 ... yes 44/353 ... yes 44/354 ... yes 44/355 ... yes 44/356 ... yes 44/357 ... yes 44/358 ... yes 44/359 ... yes 44/360 ... yes 44/361 ... yes 44/362 ... yes 44/363 ... yes 44/364 ... yes 44/365 ... yes 44/366 ... yes 44/367 ... yes 44/368 ... yes 44/369 ... yes 44/370 ... yes 44/371 ... yes 44/372 ... yes 44/373 ... yes 44/374 ... yes 48/375 ... yes 48/376 ... yes 48/377 ... yes 48/378 ... yes 48/379 ... yes 48/380 ... yes 48/381 ... yes 48/382 ... yes 48/383 ... yes 48/384 ... yes 48/385 ... yes 56/386 ... yes 15/387 ... yes 48/388 ... yes 15/389 ... yes 15/390 ... yes 34/391 ... yes 34/393 ... yes 28/394 ... yes 34/395 ... yes 34/396 ... yes 34/397 ... yes 42/400 ... yes 13/401 ... yes 48/402 ... yes 15/403 ... yes 15/404 ... yes 41/405 ... yes 41/406 ... yes 15/407 ... yes 48/408 ... yes 56/409 ... yes 13/410 ... yes 13/411 ... yes 19/413 ... yes 19/414 ... yes 35/415 ... yes 57/417 ... yes 57/418 ... yes 57/419 ... yes 57/420 ... yes 57/421 ... yes 13/422 ... yes 35/423 ... yes 35/424 ... yes 34/425 ... yes 34/426 ... yes 24/427 ... yes 34/428 ... yes 34/429 ... yes 34/430 ... yes 41/431 ... yes 34/432 ... yes 15/433 ... yes 34/434 ... yes 34/435 ... yes 34/436 ... yes 48/437 ... yes 48/438 ... yes 48/439 ... yes 48/440 ... yes 34/441 ... yes 48/443 ... yes 34/445 ... yes 34/446 ... yes 34/447 ... yes 48/450 ... yes 48/451 ... yes 34/452 ... yes 13/453 ... yes 19/455 ... yes 19/456 ... yes 34/457 ... yes 58/458 ... yes 13/460 ... yes 41/462 ... yes 34/463 ... yes 60/464 ... yes 60/465 ... yes 34/466 ... yes 60/467 ... yes 34/468 ... yes 34/469 ... yes 34/470 ... yes 34/471 ... yes 34/472 ... yes 60/473 ... yes 34/474 ... yes 60/475 ... yes 34/476 ... yes 34/477 ... yes 34/478 ... yes 34/479 ... yes 34/480 ... yes 58/481 ... yes 58/482 ... yes 34/483 ... yes 34/484 ... yes 34/485 ... yes 34/486 ... yes 34/487 ... yes 34/488 ... yes 34/489 ... yes 42/491 ... yes 42/492 ... yes 42/493 ... yes 42/494 ... yes 34/495 ... yes 13/496 ... yes 34/497 ... yes 34/498 ... yes 34/499 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.3) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.10.2) Active users: 31 Checking GitLab ... Finished
This has been run AFTER fixing the configuration in gitlab.rb
.
Possible fixes
Haven't had to occasion to see which part of the omnibus script "converts" the gitlab.rb
file into gitlab.yml
file.