Skip to content

Updating GitLab Omnibus from v12.0.8 to v12.1.0 fails when running reconfigure with errors about Psych::SyntaxError and Mixlib::ShellOut::ShellCommandFailed

Summary

Updating GitLab Omnibus from v12.0.8 to v12.1.0 fails.

Steps to reproduce

yum install gitlab-ce-12.1.0-ce.0.el7.x86_64.rpm # or anything newer
gitlab-reconfigure

What is the current bug behavior?

Migrations do not work.

What is the expected correct behavior?

Migrations should work... :)

Relevant logs and/or screenshots

Expand for output of 'yum install ...' and 'gitlab-ctl reconfigure'
[root@git01 new]# yum install gitlab-ce-12.1.0-ce.0.el7.x86_64.rpm
Geladene Plugins: fastestmirror, keys, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
gitlab-ce-12.1.0-ce.0.el7.x86_64.rpm wird untersucht: gitlab-ce-12.1.0-ce.0.el7.x86_64
gitlab-ce-12.1.0-ce.0.el7.x86_64.rpm wird als eine Aktualisierung für gitlab-ce-12.0.8-ce.0.el7.x86_64 markiert
Abhängigkeiten werden aufgelöst
--> Transaktionsprüfung wird ausgeführt
---> Paket gitlab-ce.x86_64 0:12.0.8-ce.0.el7 markiert, um aktualisiert zu werden
---> Paket gitlab-ce.x86_64 0:12.1.0-ce.0.el7 markiert, um eine Aktualisierung zu werden
--> Abhängigkeitsauflösung beendet

Abhängigkeiten aufgelöst

=============================================================================================================================================================================================================
 Package                                   Arch                                   Version                                            Paketquelle                                                       Größe
=============================================================================================================================================================================================================
Aktualisieren:
 gitlab-ce                                 x86_64                                 12.1.0-ce.0.el7                                    /gitlab-ce-12.1.0-ce.0.el7.x86_64                                 1.5 G

Transaktionsübersicht
=============================================================================================================================================================================================================
Aktualisieren  1 Paket

Gesamtgröße: 1.5 G
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Aktualisieren    : gitlab-ce-12.1.0-ce.0.el7.x86_64                                                                                                                                                    1/2 
  Aufräumen        : gitlab-ce-12.0.8-ce.0.el7.x86_64                                                                                                                                                    2/2 
Checking PostgreSQL executables:Starting Chef Client, version 14.13.11
resolving cookbooks for run list: ["gitlab::config", "postgresql::bin"]
Synchronizing Cookbooks:
  - gitlab (0.0.1)
  - postgresql (0.1.0)
  - package (0.1.0)
  - redis (0.1.0)
  - registry (0.1.0)
  - monitoring (0.1.0)
  - mattermost (0.1.0)
  - consul (0.1.0)
  - gitaly (0.1.0)
  - nginx (0.1.0)
  - letsencrypt (0.1.0)
  - runit (4.3.0)
  - acme (4.0.0)
  - crond (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 1 resources
Recipe: postgresql::bin
  * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)

Running handlers:
Running handlers complete
Chef Client finished, 0/1 resources updated in 30 seconds
Checking PostgreSQL executables: OK
Found /etc/gitlab/skip-auto-reconfigure, exiting...

     _______ __  __          __
    / ____(_) /_/ /   ____ _/ /_
   / / __/ / __/ /   / __ `/ __ \
  / /_/ / / /_/ /___/ /_/ / /_/ /
  \____/_/\__/_____/\__,_/_.___/
  

Upgrade complete! If your GitLab server is misbehaving try running
  sudo gitlab-ctl restart
before anything else.
If you need to roll back to the previous version you can use the database
backup made during the upgrade (scroll up for the filename).

  Überprüfung läuft: gitlab-ce-12.1.0-ce.0.el7.x86_64                                                                                                                                                    1/2 
  Überprüfung läuft: gitlab-ce-12.0.8-ce.0.el7.x86_64                                                                                                                                                    2/2 

Aktualisiert:
  gitlab-ce.x86_64 0:12.1.0-ce.0.el7                                                                                                                                                                         

Komplett!
(reverse-i-search)`er': cd /etc/f^Cm.d/input/
[root@git01 new]# gitlab-ctl reconfigure
Starting Chef Client, version 14.13.11
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - package (0.1.0)
  - postgresql (0.1.0)
  - gitlab (0.0.1)
  - redis (0.1.0)
  - registry (0.1.0)
  - monitoring (0.1.0)
  - mattermost (0.1.0)
  - consul (0.1.0)
  - gitaly (0.1.0)
  - runit (4.3.0)
  - crond (0.1.0)
  - nginx (0.1.0)
  - letsencrypt (0.1.0)
  - acme (4.0.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
  * directory[/etc/gitlab] action create (up to date)
  Converging 247 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
  * account[Webserver user and group] action create
    * group[Webserver user and group] action create (up to date)
    * linux_user[Webserver user and group] action create (up to date)
     (up to date)
Recipe: gitlab::users
  * directory[/var/opt/gitlab] action create (up to date)
  * account[GitLab user and group] action create
    * group[GitLab user and group] action create (up to date)
    * linux_user[GitLab user and group] action create (up to date)
     (up to date)
  * template[/var/opt/gitlab/.gitconfig] action create (up to date)
  * directory[/var/opt/gitlab/.bundle] action create (up to date)
Recipe: gitlab::gitlab-shell
  * storage_directory[/var/opt/gitlab/.ssh] action create
    * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
     (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
    - execute "bash"  "/tmp/chef-script20190909-5621-k3rwar"
Recipe: gitlab::gitlab-rails
  * storage_directory[/var/opt/gitlab/git-data] action create
    * ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/git-data/repositories] action create
    * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run (skipped due to not_if)
     (up to date)
  * directory[/var/log/gitlab] action create
    - change owner from 'root' to 'git'
    - restore selinux security context
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/artifacts] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/external-diffs] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/external-diffs] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/lfs-objects] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/packages] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/packages] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/uploads] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-ci/builds] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/cache] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/cache] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/tmp] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/tmp] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/opt/gitlab/embedded/service/gitlab-rails/public] action create (skipped due to only_if)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/pages] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run (skipped due to not_if)
     (up to date)
  * 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)
  * storage_directory[/var/opt/gitlab/backups] action create
    * ruby_block[directory resource: /var/opt/gitlab/backups] action run (skipped due to not_if)
     (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)
  * file[/var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key] action create (skipped due to only_if)
  * 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)
     (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 redis.cache.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * 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)
     (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 d955df to d99c83
      --- /var/opt/gitlab/gitlab-rails/etc/gitlab.yml	2019-08-19 14:38:24.955202092 +0200
      +++ /var/opt/gitlab/gitlab-rails/etc/.chef-gitlab20190909-5621-mh6ubl.yml	2019-09-09 23:10:06.921163132 +0200
      @@ -275,6 +275,10 @@
           pages_domain_verification_cron_worker:
             cron:
       
      +    # Obtain and renew SSL certificates for pages domain through Let's Encrypt
      +    pages_domain_ssl_renewal_cron_worker:
      +      cron:
      +
           # Removes unverified pages domains
           pages_domain_removal_cron_worker:
             cron:
      @@ -365,6 +369,9 @@
           # Port where the client side certificate is requested by the webserver (NGINX/Apache)
           client_certificate_required_port: 3444
       
      +    # Browser session with smartcard sign-in is required for Git access
      +    required_for_git_access: false
      +
         ## Kerberos settings
         kerberos:
           # Allow the HTTP Negotiate authentication method for Git clients
      @@ -532,6 +539,16 @@
             enabled: true
             address: 127.0.0.1
             port: 8082
      +
      +  ## Prometheus settings
      +  # Do not modify these settings here. They should be modified in /etc/gitlab/gitlab.rb
      +  # if you installed GitLab via Omnibus.
      +  # If you installed from source, you need to install and configure Prometheus
      +  # yourself, and then update the values here.
      +  # https://docs.gitlab.com/ee/administration/monitoring/prometheus/
      +  prometheus:
      +    enable: true
      +    listen_address: [::]:9090
       
         #
         # 5. Extra customization
      - restore selinux security context
    * 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)
  * templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] action create (skipped due to only_if)
  * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
  * env_dir[/opt/gitlab/etc/gitlab-rails/env] action create
    * 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)
    * file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/TZ] action create (up to date)
     (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
    - change owner from 'root' to 'git'
    - restore selinux security context
  * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create
    - update content in file /var/opt/gitlab/gitlab-rails/VERSION from 5e5471 to a712c7
    --- /var/opt/gitlab/gitlab-rails/VERSION	2019-09-09 23:02:03.050760079 +0200
    +++ /var/opt/gitlab/gitlab-rails/.chef-VERSION20190909-5621-lb6mrk	2019-09-09 23:10:07.059163971 +0200
    @@ -1,2 +1,2 @@
    -12.0.8
    +12.1.0
    - restore selinux security context
  * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create
    - update content in file /var/opt/gitlab/gitlab-rails/REVISION from 568544 to 140b02
    --- /var/opt/gitlab/gitlab-rails/REVISION	2019-09-09 23:02:03.077760230 +0200
    +++ /var/opt/gitlab/gitlab-rails/.chef-REVISION20190909-5621-yjzi4n	2019-09-09 23:10:07.083164117 +0200
    @@ -1,2 +1,2 @@
    -36325e121f4
    +295480f4553
    - restore selinux security context
  * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date)
  * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
  * file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date)
Recipe: gitlab::selinux
  * execute[semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-7.2.0-ssh-keygen.pp] action rungitlab-7.2.0-ssh-keygen	1.0
 (skipped due to not_if)
  * execute[semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-10.5.0-ssh-authorized-keys.pp] action rungitlab-10.5.0-ssh-authorized-keys	1.0
 (skipped due to not_if)
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

  * Moving existing certificates found in /opt/gitlab/embedded/ssl/certs

  * Symlinking existing certificates found in /etc/gitlab/trusted-certs

    - execute the ruby block Move existing certs and link to /opt/gitlab/embedded/ssl/certs
Recipe: gitlab::default
  * service[create a temporary unicorn service] action nothing (skipped due to action :nothing)
  * service[create a temporary puma 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 mailroom service] action nothing (skipped due to action :nothing)
Recipe: package::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)
  * file[/etc/systemd/system/basic.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: redis::enable
  * account[user and group for redis] action create
    * group[user and group for redis] action create (up to date)
    * linux_user[user and group for redis] action create (up to date)
     (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)
Recipe: <Dynamically Defined Resource>
  * service[redis] action nothing (skipped due to action :nothing)
Recipe: redis::enable
  * runit_service[redis] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/redis] action create (up to date)
    * template[/opt/gitlab/sv/redis/run] 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/log/run] action create (up to date)
    * template[/var/log/gitlab/redis/config] action create (up to date)
    * directory[/opt/gitlab/sv/redis/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for redis service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/redis/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/redis/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/redis/control] action create (up to date)
    * link[/opt/gitlab/init/redis] action create (up to date)
    * file[/opt/gitlab/sv/redis/down] action delete (up to date)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/redis] action create (up to date)
    * ruby_block[wait for redis service socket] action run (skipped due to not_if)
     (up to date)
Recipe: gitaly::enable
  * directory[/var/opt/gitlab/gitaly] action create (up to date)
  * directory[/var/log/gitlab/gitaly] action create (up to date)
  * env_dir[/opt/gitlab/etc/gitaly/env] action create
    * directory[/opt/gitlab/etc/gitaly/env] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/HOME] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/PATH] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/TZ] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/PYTHONPATH] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/ICU_DATA] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/SSL_CERT_DIR] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/GITALY_PID_FILE] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING] action create (up to date)
     (up to date)
  * template[Create Gitaly config.toml] action create
    - update content in file /var/opt/gitlab/gitaly/config.toml from 2be742 to e7ff3f
    --- /var/opt/gitlab/gitaly/config.toml	2019-08-19 14:38:30.854248846 +0200
    +++ /var/opt/gitlab/gitaly/.chef-config20190909-5621-1g18l22.toml	2019-09-09 23:10:13.090200638 +0200
    @@ -8,9 +8,9 @@
     bin_dir = '/opt/gitlab/embedded/bin'
     
     
    -
     # Optional: export metrics via Prometheus
     prometheus_listen_addr = 'localhost:9236'
    +
     
     [[storage]]
     name = 'default'
    - restore selinux security context
Recipe: <Dynamically Defined Resource>
  * service[gitaly] action nothing (skipped due to action :nothing)
Recipe: gitaly::enable
  * runit_service[gitaly] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/gitaly] action create (up to date)
    * template[/opt/gitlab/sv/gitaly/run] action create (up to date)
    * directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
    * directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
    * template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
    * template[/var/log/gitlab/gitaly/config] action create (up to date)
    * directory[/opt/gitlab/sv/gitaly/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/gitaly/control] action create (up to date)
    * link[/opt/gitlab/init/gitaly] action create (up to date)
    * file[/opt/gitlab/sv/gitaly/down] action delete (up to date)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/gitaly] action create (up to date)
    * ruby_block[wait for gitaly service socket] action run (skipped due to not_if)
     (up to date)
  * file[/var/opt/gitlab/gitaly/VERSION] action create
    - update content in file /var/opt/gitlab/gitaly/VERSION from 75d5c0 to aa1acc
    --- /var/opt/gitlab/gitaly/VERSION	2019-09-09 23:02:08.812792363 +0200
    +++ /var/opt/gitlab/gitaly/.chef-VERSION20190909-5621-182aex9	2019-09-09 23:10:13.147200984 +0200
    @@ -1,2 +1,2 @@
    -Gitaly, version 1.47.3
    +Gitaly, version 1.53.0
    - restore selinux security context
Recipe: postgresql::user
  * account[Postgresql user and group] action create
    * group[Postgresql user and group] action create (up to date)
    * linux_user[Postgresql user and group] action create (up to date)
     (up to date)
Recipe: postgresql::enable
  * directory[/var/opt/gitlab/postgresql] action create (up to date)
  * directory[/var/opt/gitlab/postgresql/data] action create (up to date)
  * directory[/var/log/gitlab/postgresql] action create (up to date)
  * link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)
  * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
  * gitlab_sysctl[kernel.shmmax] action create
    * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
    * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create (up to date)
    * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create (up to date)
    * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
     (up to date)
  * gitlab_sysctl[kernel.shmall] action create
    * directory[create /etc/sysctl.d for kernel.shmall] action create (up to date)
    * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf kernel.shmall] action create (up to date)
    * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create (up to date)
    * execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing)
     (up to date)
  * gitlab_sysctl[kernel.sem] action create
    * directory[create /etc/sysctl.d for kernel.sem] action create (up to date)
    * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf kernel.sem] action create (up to date)
    * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create (up to date)
    * execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing)
     (up to date)
  * execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_if)
  * file[/var/opt/gitlab/postgresql/data/server.crt] action create (up to date)
  * file[/var/opt/gitlab/postgresql/data/server.key] action create (up to date)
  * template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create (up to date)
  * template[/var/opt/gitlab/postgresql/data/runtime.conf] action create (up to date)
  * template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
  * template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create (up to date)
Recipe: <Dynamically Defined Resource>
  * service[postgresql] action nothing (skipped due to action :nothing)
Recipe: postgresql::enable
  * runit_service[postgresql] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/postgresql] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/run] action create (up to date)
    * directory[/opt/gitlab/sv/postgresql/log] action create (up to date)
    * directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/log/run] action create (up to date)
    * template[/var/log/gitlab/postgresql/config] action create (up to date)
    * directory[/opt/gitlab/sv/postgresql/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for postgresql service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/postgresql/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/postgresql/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/postgresql/control] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/control/t] action create (up to date)
    * link[/opt/gitlab/init/postgresql] action create (up to date)
    * file[/opt/gitlab/sv/postgresql/down] action delete (up to date)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/postgresql] action create (up to date)
    * ruby_block[wait for postgresql service socket] action run (skipped due to not_if)
    * directory[/opt/gitlab/service/postgresql/supervise] action create (up to date)
    * directory[/opt/gitlab/service/postgresql/log/supervise] action create (up to date)
    * file[/opt/gitlab/sv/postgresql/supervise/ok] action touch (skipped due to only_if)
    * file[/opt/gitlab/sv/postgresql/log/supervise/ok] action touch (skipped due to only_if)
    * file[/opt/gitlab/sv/postgresql/supervise/status] action touch
      - change owner from 'root' to 'gitlab-psql'
      - change group from 'root' to 'gitlab-psql'
      - restore selinux security context
      - update utime on file /opt/gitlab/sv/postgresql/supervise/status
    * file[/opt/gitlab/sv/postgresql/log/supervise/status] action touch
      - change owner from 'root' to 'gitlab-psql'
      - change group from 'root' to 'gitlab-psql'
      - restore selinux security context
      - update utime on file /opt/gitlab/sv/postgresql/log/supervise/status
    * file[/opt/gitlab/sv/postgresql/supervise/control] action touch (skipped due to only_if)
    * file[/opt/gitlab/sv/postgresql/log/supervise/control] action touch (skipped due to only_if)
  
Recipe: postgresql::bin
  * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)
Recipe: postgresql::enable
  * template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
  * postgresql_user[gitlab] action create
    * execute[create gitlab postgresql user] action run (skipped due to not_if)
     (up to date)
  * execute[create gitlabhq_production database] action run (skipped due to not_if)
  * postgresql_user[gitlab_replicator] action create
    * execute[create gitlab_replicator postgresql user] action run (skipped due to not_if)
    * execute[set options for gitlab_replicator postgresql user] action run (skipped due to not_if)
     (up to date)
  * postgresql_extension[pg_trgm] action enable
    * postgresql_query[enable pg_trgm extension] action run (skipped due to only_if)
     (up to date)
  * ruby_block[warn pending postgresql restart] action run (skipped due to only_if)
  * execute[reload postgresql] action nothing (skipped due to action :nothing)
  * execute[start postgresql] action nothing (skipped due to action :nothing)
Recipe: gitlab::database_migrations
  * bash[migrate gitlab-rails database] action run
    [execute] rake aborted!
              Psych::SyntaxError: (<unknown>): did not find expected node content while parsing a flow node at line 551 column 22
              /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:5:in `<top (required)>'
              /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:6:in `<top (required)>'
              /opt/gitlab/embedded/bin/bundle:23:in `load'
              /opt/gitlab/embedded/bin/bundle:23:in `<main>'
              Tasks: TOP => gitlab:db:configure => environment
              (See full trace by running task with --trace)
    
    ================================================================================
    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-script20190909-5621-1nm6c8o" ----
    STDOUT: rake aborted!
    Psych::SyntaxError: (<unknown>): did not find expected node content while parsing a flow node at line 551 column 22
    /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:5:in `<top (required)>'
    /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:6:in `<top (required)>'
    /opt/gitlab/embedded/bin/bundle:23:in `load'
    /opt/gitlab/embedded/bin/bundle:23:in `<main>'
    Tasks: TOP => gitlab:db:configure => environment
    (See full trace by running task with --trace)
    STDERR: 
    ---- End output of "bash"  "/tmp/chef-script20190909-5621-1nm6c8o" ----
    Ran "bash"  "/tmp/chef-script20190909-5621-1nm6c8o" returned 1
    
    Resource Declaration:
    ---------------------
    # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb
    
     53: bash "migrate gitlab-rails database" do
     54:   code <<-EOH
     55:     set -e
     56:     log_file="#{node['gitlab']['gitlab-rails']['log_directory']}/gitlab-rails-db-migrate-$(date +%Y-%m-%d-%H-%M-%S).log"
     57:     umask 077
     58:     /opt/gitlab/bin/gitlab-rake gitlab:db:configure 2>& 1 | tee ${log_file}
     59:     STATUS=${PIPESTATUS[0]}
     60:     echo $STATUS > #{db_migrate_status_file}
     61:     exit $STATUS
     62:   EOH
     63:   environment env_variables unless env_variables.empty?
     64:   notifies :run, "execute[clear the gitlab-rails cache]", :immediately
     65:   dependent_services.each do |svc|
     66:     notifies :restart, svc, :immediately
     67:   end
     68:   not_if "(test -f #{db_migrate_status_file}) && (cat #{db_migrate_status_file} | grep -Fx 0)"
     69:   only_if { node['gitlab']['gitlab-rails']['auto_migrate'] }
     70: end
    
    Compiled Resource:
    ------------------
    # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb:53:in `from_file'
    
    bash("migrate gitlab-rails database") do
      action [:run]
      default_guard_interpreter :default
      command nil
      backup 5
      interpreter "bash"
      declared_type :bash
      cookbook_name "gitlab"
      recipe_name "database_migrations"
      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-873248b1f0d3a7a5535771a3a1635803-295480f4553\n    exit $STATUS\n"
      domain nil
      user nil
      not_if "(test -f /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-873248b1f0d3a7a5535771a3a1635803-295480f4553) && (cat /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-873248b1f0d3a7a5535771a3a1635803-295480f4553 | grep -Fx 0)"
      only_if { #code block }
    end
    
    System Info:
    ------------
    chef_version=14.13.11
    platform=centos
    platform_version=7.6.1810
    ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
    program_name=/opt/gitlab/embedded/bin/chef-client
    executable=/opt/gitlab/embedded/bin/chef-client
    
Recipe: <Dynamically Defined Resource>
  * service[mailroom] action restart
    - restart service service[mailroom]
  * service[unicorn] action restart
    - restart service service[unicorn]
  * 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: (<unknown>): did not find expected node content while parsing a flow node at line 551 column 22
              /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:5:in `<top (required)>'
              /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:6:in `<top (required)>'
              /opt/gitlab/embedded/bin/bundle:23:in `load'
              /opt/gitlab/embedded/bin/bundle:23:in `<main>'
              Tasks: TOP => cache:clear => cache:clear:redis => environment
              (See full trace by running task with --trace)
    
    ================================================================================
    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: 
    STDERR: rake aborted!
    Psych::SyntaxError: (<unknown>): did not find expected node content while parsing a flow node at line 551 column 22
    /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:5:in `<top (required)>'
    /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:6:in `<top (required)>'
    /opt/gitlab/embedded/bin/bundle:23:in `load'
    /opt/gitlab/embedded/bin/bundle:23:in `<main>'
    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
    
    409: execute "clear the gitlab-rails cache" do
    410:   command "/opt/gitlab/bin/gitlab-rake cache:clear"
    411:   action :nothing
    412:   not_if { omnibus_helper.not_listening?('redis') || !node['gitlab']['gitlab-rails']['rake_cache_clear'] }
    413: end
    414: 
    
    Compiled Resource:
    ------------------
    # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:409:in `from_file'
    
    execute("clear the gitlab-rails cache") do
      action [:nothing]
      default_guard_interpreter :execute
      command "/opt/gitlab/bin/gitlab-rake cache:clear"
      backup 5
      declared_type :execute
      cookbook_name "gitlab"
      recipe_name "gitlab-rails"
      user nil
      domain nil
      not_if { #code block }
    end
    
    System Info:
    ------------
    chef_version=14.13.11
    platform=centos
    platform_version=7.6.1810
    ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
    program_name=/opt/gitlab/embedded/bin/chef-client
    executable=/opt/gitlab/embedded/bin/chef-client
    
Recipe: gitaly::enable
  * runit_service[gitaly] action hup
    - send hup to runit_service[gitaly]

Running handlers:
There was an error running gitlab-ctl reconfigure:

Multiple failures occurred:
* Mixlib::ShellOut::ShellCommandFailed occurred in chef run: bash[migrate gitlab-rails database] (gitlab::database_migrations line 53) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash"  "/tmp/chef-script20190909-5621-1nm6c8o" ----
STDOUT: rake aborted!
Psych::SyntaxError: (<unknown>): did not find expected node content while parsing a flow node at line 551 column 22
/opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:5:in `<top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:6:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:db:configure => environment
(See full trace by running task with --trace)
STDERR: 
---- End output of "bash"  "/tmp/chef-script20190909-5621-1nm6c8o" ----
Ran "bash"  "/tmp/chef-script20190909-5621-1nm6c8o" returned 1
* Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 409) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ----
STDOUT: 
STDERR: rake aborted!
Psych::SyntaxError: (<unknown>): did not find expected node content while parsing a flow node at line 551 column 22
/opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:5:in `<top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:6:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
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


Running handlers complete
Chef Client failed. 18 resources updated in 52 seconds

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:		
Current User:	git
Using RVM:	no
Ruby Version:	2.6.3p62
Gem Version:	2.7.9
Bundler Version:1.17.3
Rake Version:	12.3.2
Redis Version:	3.2.12
Git Version:	2.21.0
Sidekiq Version:5.2.7
Go Version:	unknown

GitLab information
Version:	12.0.8
Revision:	36325e121f4
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	10.7
URL:		https://git.belwue.de
HTTP Clone URL:	https://git.belwue.de/some-group/some-project.git
SSH Clone URL:	git@git.belwue.de:some-group/some-project.git
Using LDAP:	yes
Using Omniauth:	yes
Omniauth Providers: 

GitLab Shell
Version:	9.3.0
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
GitLab Shell path:		/opt/gitlab/embedded/service/gitlab-shell
Git:		/opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 9.3.0 ? ... OK (9.3.0)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Redis available via internal API: OK

Access to /var/opt/gitlab/.ssh/authorized_keys: OK
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Checking Reply by email ...

IMAP server credentials are correct? ... yes
Init.d configured correctly? ... skipped
MailRoom running? ... skipped

Checking Reply by email ... Finished


Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... Server: ldapmain
LDAP authentication... Anonymous. No `bind_dn` or `password` configured
LDAP users with access to your GitLab server (only showing the first 100 results)
	DN: uid=REDACTED,ou=people,dc=belwue,dc=de	 uid: REDACTED
        [REDACTED ANOTHER 28 LINES WITH USERS] 
Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... 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: ... 
3/1 ... yes
3/2 ... yes
4/3 ... yes
3/4 ... yes
11/5 ... yes
53/6 ... yes
14/7 ... yes
53/9 ... yes
14/10 ... yes
3/13 ... yes
14/14 ... yes
3/15 ... yes
3/16 ... yes
3/17 ... yes
14/19 ... yes
26/21 ... yes
4/22 ... yes
14/23 ... yes
4/25 ... yes
14/26 ... yes
3/27 ... yes
23/28 ... yes
23/29 ... yes
20/32 ... yes
20/33 ... yes
14/34 ... yes
20/35 ... yes
27/36 ... yes
14/38 ... yes
14/39 ... yes
23/40 ... yes
11/41 ... yes
11/42 ... yes
5/43 ... yes
14/44 ... yes
31/45 ... yes
22/46 ... yes
31/47 ... yes
11/49 ... yes
55/51 ... yes
14/52 ... yes
55/54 ... yes
57/58 ... yes
57/60 ... yes
27/62 ... yes
23/63 ... yes
57/64 ... yes
11/65 ... yes
57/66 ... yes
14/67 ... yes
3/71 ... yes
3/72 ... yes
5/73 ... yes
57/74 ... yes
3/75 ... yes
29/76 ... yes
5/77 ... yes
5/78 ... yes
58/80 ... yes
39/81 ... yes
14/82 ... yes
5/83 ... yes
57/84 ... yes
39/85 ... yes
14/88 ... yes
14/90 ... yes
55/91 ... yes
63/93 ... yes
41/95 ... yes
14/96 ... yes
57/97 ... yes
14/98 ... yes
23/99 ... yes
23/100 ... yes
23/101 ... yes
23/102 ... yes
23/103 ... yes
45/104 ... yes
57/105 ... yes
57/107 ... yes
14/108 ... yes
3/109 ... yes
11/110 ... yes
11/111 ... yes
11/112 ... yes
56/114 ... yes
58/115 ... yes
20/116 ... yes
48/117 ... yes
58/118 ... yes
2/119 ... yes
49/120 ... yes
23/121 ... yes
57/122 ... yes
27/123 ... yes
14/124 ... yes
56/125 ... yes
50/126 ... yes
50/127 ... yes
55/129 ... yes
14/130 ... yes
52/131 ... yes
20/132 ... yes
42/133 ... yes
56/134 ... yes
56/135 ... yes
56/136 ... yes
3/137 ... yes
52/138 ... yes
52/139 ... yes
66/142 ... yes
66/143 ... yes
66/144 ... yes
63/145 ... yes
11/146 ... yes
67/148 ... yes
50/149 ... yes
55/150 ... yes
68/151 ... yes
68/152 ... yes
14/153 ... yes
49/157 ... yes
55/159 ... yes
50/160 ... yes
55/161 ... yes
70/162 ... yes
57/165 ... yes
68/166 ... yes
49/167 ... yes
20/168 ... yes
66/169 ... yes
72/170 ... yes
70/171 ... yes
72/173 ... yes
66/174 ... yes
59/175 ... yes
55/176 ... yes
70/177 ... yes
66/178 ... yes
67/179 ... yes
72/180 ... yes
70/181 ... yes
57/182 ... yes
57/183 ... yes
66/184 ... yes
63/188 ... yes
63/189 ... yes
55/191 ... yes
63/192 ... yes
63/193 ... yes
63/194 ... yes
55/195 ... yes
55/196 ... yes
55/197 ... yes
55/198 ... yes
55/199 ... yes
55/200 ... yes
63/201 ... yes
63/202 ... yes
63/203 ... yes
63/204 ... yes
63/205 ... yes
61/206 ... yes
63/207 ... yes
63/208 ... yes
55/209 ... yes
63/210 ... yes
63/211 ... yes
63/212 ... yes
55/213 ... yes
63/214 ... yes
61/215 ... yes
63/216 ... yes
63/217 ... yes
61/219 ... yes
61/220 ... yes
63/221 ... yes
63/222 ... yes
57/223 ... yes
57/224 ... yes
57/225 ... yes
57/226 ... yes
57/227 ... yes
57/228 ... yes
57/229 ... yes
57/230 ... yes
57/231 ... yes
57/232 ... yes
57/233 ... yes
57/234 ... yes
57/235 ... yes
57/236 ... yes
57/237 ... yes
57/238 ... yes
57/239 ... yes
57/240 ... yes
57/241 ... yes
57/242 ... yes
57/243 ... yes
57/245 ... yes
57/246 ... yes
57/247 ... yes
57/248 ... yes
57/249 ... yes
57/250 ... yes
57/251 ... yes
57/252 ... yes
57/254 ... yes
57/255 ... yes
57/256 ... yes
57/257 ... yes
57/258 ... yes
57/259 ... yes
57/262 ... yes
57/263 ... yes
63/264 ... yes
63/265 ... yes
63/266 ... yes
57/267 ... yes
57/268 ... yes
57/269 ... yes
5/270 ... yes
50/271 ... yes
14/272 ... yes
50/273 ... yes
58/274 ... yes
73/275 ... yes
14/276 ... yes
11/277 ... yes
56/279 ... yes
5/280 ... yes
23/281 ... yes
62/282 ... yes
14/283 ... yes
48/284 ... yes
14/285 ... yes
57/286 ... yes
14/287 ... yes
14/288 ... yes
55/289 ... yes
74/291 ... yes
55/292 ... yes
14/293 ... yes
75/294 ... yes
56/295 ... yes
55/296 ... yes
50/299 ... yes
50/300 ... yes
50/302 ... yes
49/303 ... yes
50/304 ... yes
50/305 ... yes
50/306 ... yes
80/307 ... yes
80/308 ... yes
80/309 ... yes
80/310 ... yes
14/311 ... yes
49/312 ... yes
11/313 ... yes
49/314 ... yes
20/315 ... yes
56/316 ... yes
55/317 ... yes
4/318 ... yes
5/319 ... yes
61/320 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.5.3 ? ... yes (2.6.3)
Git version >= 2.21.0 ? ... yes (2.21.0)
Git user has default SSH configuration? ... yes
Active users: ... 23

Checking GitLab App ... Finished


Checking GitLab subtasks ... Finished

Possible fixes

Since it fails at the "Chef" Recipe: gitlab::database_migrations it looks like failed database migrations.

However I cannot find any failed SQL queries and only this Psych::SyntaxError and Mixlib::ShellOut::ShellCommandFailed which - II am not sure - seem to be a YAML parser(?) library for ruby and a component belonging to Chef.

Since I have no experience in coding Ruby I am not sure what to look for... :-/

Thank you.