Upgrading Omnibus Gitlab from 14.6.3-ce.0 to 14.10.0-ce.0 fails on Debian Buster

Summary

Upgrading gitlab-ce on Debian buster from 14.6.3-ce.0 to 14.10.0-ce.0 failed for me on running gitlab::database_migrations step which made me initially think that it was the same issue as with #6795 (closed). After following the instructions about background jobs on https://docs.gitlab.com/ee/update/#what-do-i-do-if-my-background-migrations-are-stuck I am now in a state where my gitlab seems to be running fine but gitlab-ctl reconfigure is still stuck on this error:

  
Recipe: gitlab::database_migrations
  * ruby_block[check remote PG version] action nothing (skipped due to action :nothing)
  * rails_migration[gitlab-rails] action run
    * bash[migrate gitlab-rails database] action run
      
      ================================================================================
      Error executing action `run` on resource 'bash[migrate gitlab-rails database]'
      ================================================================================
      
      Mixlib::ShellOut::ShellCommandFailed
      ------------------------------------
      Command execution failed. STDOUT/STDERR suppressed for sensitive resource
      
      Resource Declaration:
      ---------------------
      suppressed sensitive resource output
      
      Compiled Resource:
      ------------------
      suppressed sensitive resource output
      
      System Info:
      ------------
      chef_version=15.17.4
      platform=debian
      platform_version=11
      ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
      program_name=/opt/gitlab/embedded/bin/chef-client
      executable=/opt/gitlab/embedded/bin/chef-client
      
    
    ================================================================================
    Error executing action `run` on resource 'rails_migration[gitlab-rails]'
    ================================================================================
    
    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    bash[migrate gitlab-rails database] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. ST
DOUT/STDERR suppressed for sensitive resource
    
    Resource Declaration:
    ---------------------
    # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb
    
     51: rails_migration "gitlab-rails" do
     52:   rake_task 'gitlab:db:configure'
     53:   logfile_prefix 'gitlab-rails-db-migrate'
     54:   helper migration_helper
     55: 
     56:   environment env_variables
     57:   dependent_services dependent_services
     58:   notifies :run, "execute[clear the gitlab-rails cache]", :immediately
     59:   notifies :run, "ruby_block[check remote PG version]", :immediately
     60: 
     61:   only_if { migration_helper.attributes_node['auto_migrate'] }
     62: end
    
    Compiled Resource:
    ------------------
    # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb:51:in `from_file'
    
    rails_migration("gitlab-rails") do
      action [:run]
      default_guard_interpreter :default
      declared_type :rails_migration
      cookbook_name "gitlab"
      recipe_name "database_migrations"
      rake_task "gitlab:db:configure"
      logfile_prefix "gitlab-rails-db-migrate"
      helper "*sensitive value suppressed*"
      environment "*sensitive value suppressed*"
      dependent_services []
      only_if { #code block }
    end
    
    System Info:
    ------------
    chef_version=15.17.4
    platform=debian
    platform_version=11
    ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
    program_name=/opt/gitlab/embedded/bin/chef-client
    executable=/opt/gitlab/embedded/bin/chef-client
    
Recipe: gitlab::gitlab-rails
  * execute[clear the gitlab-rails cache] action run
    - execute /opt/gitlab/bin/gitlab-rake cache:clear
Recipe: gitaly::enable
  * runit_service[gitaly] action hup
    - send hup to runit_service[gitaly]
Recipe: gitlab-kas::enable
  * runit_service[gitlab-kas] action restart (up to date)

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

rails_migration[gitlab-rails] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[migrate gitlab-rails database] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/re
sources/rails_migration.rb line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. STDOUT/STDERR suppressed for sensitive resource

Running handlers complete
Chef Infra Client failed. 53 resources updated in 01 minutes 01 seconds
===
There was an error running gitlab-ctl reconfigure. Please check the output above for more
details.
===

Steps to reproduce

Upgrading gitlab-ce on Debian buster from 14.6.3-ce.0 to 14.10.0-ce.0.

What is the current bug behavior?

see above.

What is the expected correct behavior?

apt upgrade should have run without error, after fixing migrations, at least gitlab-ctl reconfigure should then finish the upgrade, but it does not.

Relevant logs

apt upgrade Output
# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-image-5.10.0-13-amd64
The following packages will be upgraded:
  base-files bind9-dnsutils bind9-host bind9-libs bsdextrautils bsdutils cryptsetup cryptsetup-bin cryptsetup-initramfs dirmngr dnsutils fdisk gitlab-ce gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv gzip libblkid1 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcryptsetup12 libexpat1 libfdisk1 liblzma5 libmount1 libnss-systemd libpam-systemd libsasl2-2 libsasl2-modules
  libsasl2-modules-db libsmartcols1 libssl1.1 libsystemd0 libudev1 libuuid1 libxml2 linux-image-amd64 linux-libc-dev locales locales-all mount openssl php7.4-bz2 php7.4-cli php7.4-common php7.4-curl php7.4-json
  php7.4-mbstring php7.4-opcache php7.4-readline php7.4-sqlite3 systemd systemd-sysv systemd-timesyncd sysvinit-utils task-english task-ssh-server tasksel tasksel-data tzdata udev util-linux util-linux-locales
  xz-utils zlib1g zlib1g-dev
76 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,154 MB of archives.
After this operation, 534 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bullseye/main amd64 base-files amd64 11.1+deb11u3 [70.1 kB]
Get:2 http://security.debian.org/debian-security bullseye-security/main amd64 gzip amd64 1.10-4+deb11u1 [132 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 bsdutils amd64 1:2.36.1-8+deb11u1 [148 kB]                     
Get:4 http://deb.debian.org/debian bullseye/main amd64 libc6-dev amd64 2.31-13+deb11u3 [2,348 kB]                 
Get:5 http://security.debian.org/debian-security bullseye-security/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u1 [191 kB]
Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 zlib1g amd64 1:1.2.11.dfsg-2+deb11u1 [91.4 kB]   
Get:7 http://security.debian.org/debian-security bullseye-security/main amd64 liblzma5 amd64 5.2.5-2.1~deb11u1 [168 kB]
Get:8 http://security.debian.org/debian-security bullseye-security/main amd64 xz-utils amd64 5.2.5-2.1~deb11u1 [220 kB]
Get:9 http://deb.debian.org/debian bullseye/main amd64 libc-dev-bin amd64 2.31-13+deb11u3 [275 kB]
Get:10 http://deb.debian.org/debian bullseye/main amd64 linux-libc-dev amd64 5.10.106-1 [1,470 kB]
Get:11 http://deb.debian.org/debian bullseye/main amd64 libc6 amd64 2.31-13+deb11u3 [2,811 kB]
Get:12 http://deb.debian.org/debian bullseye/main amd64 libblkid1 amd64 2.36.1-8+deb11u1 [193 kB]
Get:13 http://deb.debian.org/debian bullseye/main amd64 libuuid1 amd64 2.36.1-8+deb11u1 [83.9 kB]
Get:14 http://deb.debian.org/debian bullseye/main amd64 libfdisk1 amd64 2.36.1-8+deb11u1 [237 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 libmount1 amd64 2.36.1-8+deb11u1 [212 kB]
Get:16 http://deb.debian.org/debian bullseye/main amd64 libsmartcols1 amd64 2.36.1-8+deb11u1 [158 kB]
Get:17 http://deb.debian.org/debian bullseye/main amd64 fdisk amd64 2.36.1-8+deb11u1 [192 kB]
Get:18 http://deb.debian.org/debian bullseye/main amd64 util-linux amd64 2.36.1-8+deb11u1 [1,141 kB]
Get:19 http://deb.debian.org/debian bullseye/main amd64 libc-bin amd64 2.31-13+deb11u3 [821 kB]
Get:20 http://deb.debian.org/debian bullseye/main amd64 sysvinit-utils amd64 2.96-7+deb11u1 [25.6 kB]
Get:21 http://deb.debian.org/debian bullseye/main amd64 libnss-systemd amd64 247.3-7 [198 kB]
Get:22 http://deb.debian.org/debian bullseye/main amd64 libsystemd0 amd64 247.3-7 [376 kB]
Get:23 http://deb.debian.org/debian bullseye/main amd64 systemd-timesyncd amd64 247.3-7 [131 kB]
Get:24 http://deb.debian.org/debian bullseye/main amd64 libpam-systemd amd64 247.3-7 [283 kB]
Get:25 http://deb.debian.org/debian bullseye/main amd64 systemd amd64 247.3-7 [4,500 kB]
Get:26 http://deb.debian.org/debian bullseye/main amd64 udev amd64 247.3-7 [1,464 kB]
Get:27 http://deb.debian.org/debian bullseye/main amd64 libudev1 amd64 247.3-7 [168 kB]
Get:28 http://deb.debian.org/debian bullseye/main amd64 systemd-sysv amd64 247.3-7 [113 kB]
Get:29 http://deb.debian.org/debian bullseye/main amd64 libssl1.1 amd64 1.1.1n-0+deb11u1 [1,557 kB]
Get:30 http://deb.debian.org/debian bullseye/main amd64 libcryptsetup12 amd64 2:2.3.7-1+deb11u1 [248 kB]
Get:31 http://deb.debian.org/debian bullseye/main amd64 mount amd64 2.36.1-8+deb11u1 [186 kB]
Get:32 http://deb.debian.org/debian bullseye/main amd64 bsdextrautils amd64 2.36.1-8+deb11u1 [145 kB]
Get:33 http://deb.debian.org/debian bullseye/main amd64 libc-l10n all 2.31-13+deb11u3 [863 kB]
Get:34 http://deb.debian.org/debian bullseye/main amd64 locales all 2.31-13+deb11u3 [4,084 kB]
Get:35 http://deb.debian.org/debian bullseye/main amd64 task-english all 3.68+deb11u1 [956 B]
Get:36 http://deb.debian.org/debian bullseye/main amd64 tasksel-data all 3.68+deb11u1 [18.0 kB]
Get:37 http://deb.debian.org/debian bullseye/main amd64 task-ssh-server all 3.68+deb11u1 [916 B]
Get:38 http://deb.debian.org/debian bullseye/main amd64 tasksel all 3.68+deb11u1 [101 kB]
Get:39 http://deb.debian.org/debian bullseye/main amd64 gpgv amd64 2.2.27-2+deb11u1 [626 kB]
Get:40 http://deb.debian.org/debian bullseye-updates/main amd64 tzdata all 2021a-1+deb11u3 [285 kB]
Get:41 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u1 [693 kB]
Get:42 http://deb.debian.org/debian bullseye/main amd64 bind9-dnsutils amd64 1:9.16.27-1~deb11u1 [398 kB]
Get:43 http://deb.debian.org/debian bullseye/main amd64 bind9-libs amd64 1:9.16.27-1~deb11u1 [1,413 kB]
Get:44 http://deb.debian.org/debian bullseye/main amd64 bind9-host amd64 1:9.16.27-1~deb11u1 [302 kB]
Get:45 http://deb.debian.org/debian bullseye/main amd64 cryptsetup-initramfs all 2:2.3.7-1+deb11u1 [72.5 kB]
Get:46 http://deb.debian.org/debian bullseye/main amd64 cryptsetup-bin amd64 2:2.3.7-1+deb11u1 [413 kB]
Get:47 http://deb.debian.org/debian bullseye/main amd64 cryptsetup amd64 2:2.3.7-1+deb11u1 [228 kB]
Get:48 http://deb.debian.org/debian bullseye/main amd64 gpgsm amd64 2.2.27-2+deb11u1 [645 kB]
Get:49 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-client amd64 2.2.27-2+deb11u1 [524 kB]
Get:50 http://deb.debian.org/debian bullseye/main amd64 gpg-wks-server amd64 2.2.27-2+deb11u1 [516 kB]
Get:51 http://deb.debian.org/debian bullseye/main amd64 gpg amd64 2.2.27-2+deb11u1 [928 kB]
Get:52 http://deb.debian.org/debian bullseye/main amd64 gnupg-utils amd64 2.2.27-2+deb11u1 [905 kB]
Get:53 http://deb.debian.org/debian bullseye/main amd64 gnupg-l10n all 2.2.27-2+deb11u1 [1,085 kB]
Get:54 http://deb.debian.org/debian bullseye/main amd64 dirmngr amd64 2.2.27-2+deb11u1 [763 kB]
Get:55 http://deb.debian.org/debian bullseye/main amd64 gnupg all 2.2.27-2+deb11u1 [825 kB]
Get:56 http://deb.debian.org/debian bullseye/main amd64 gpg-agent amd64 2.2.27-2+deb11u1 [669 kB]
Get:57 http://deb.debian.org/debian bullseye/main amd64 gpgconf amd64 2.2.27-2+deb11u1 [548 kB]
Get:58 http://deb.debian.org/debian bullseye/main amd64 dnsutils all 1:9.16.27-1~deb11u1 [262 kB]
Get:59 http://deb.debian.org/debian bullseye/main amd64 libexpat1 amd64 2.2.10-2+deb11u3 [98.5 kB]
Get:60 http://deb.debian.org/debian bullseye/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-2.1+deb11u1 [69.1 kB]
Get:61 http://deb.debian.org/debian bullseye/main amd64 libsasl2-2 amd64 2.1.27+dfsg-2.1+deb11u1 [106 kB]
Get:62 http://deb.debian.org/debian bullseye/main amd64 libsasl2-modules amd64 2.1.27+dfsg-2.1+deb11u1 [104 kB]
Get:63 http://deb.debian.org/debian bullseye/main amd64 linux-image-5.10.0-13-amd64 amd64 5.10.106-1 [53.8 MB]
Get:64 http://deb.debian.org/debian bullseye/main amd64 linux-image-amd64 amd64 5.10.106-1 [1,484 B]
Get:65 http://deb.debian.org/debian bullseye/main amd64 locales-all amd64 2.31-13+deb11u3 [10.9 MB]
Get:66 http://deb.debian.org/debian bullseye/main amd64 openssl amd64 1.1.1n-0+deb11u1 [853 kB]
Get:67 http://deb.debian.org/debian bullseye/main amd64 php7.4-sqlite3 amd64 7.4.28-1+deb11u1 [26.6 kB]
Get:68 http://deb.debian.org/debian bullseye/main amd64 php7.4-readline amd64 7.4.28-1+deb11u1 [12.3 kB]
Get:69 http://deb.debian.org/debian bullseye/main amd64 php7.4-opcache amd64 7.4.28-1+deb11u1 [198 kB]
Get:70 http://deb.debian.org/debian bullseye/main amd64 php7.4-mbstring amd64 7.4.28-1+deb11u1 [397 kB]
Get:71 http://deb.debian.org/debian bullseye/main amd64 php7.4-json amd64 7.4.28-1+deb11u1 [19.3 kB]
Get:72 http://deb.debian.org/debian bullseye/main amd64 php7.4-curl amd64 7.4.28-1+deb11u1 [31.1 kB]
Get:73 http://deb.debian.org/debian bullseye/main amd64 php7.4-cli amd64 7.4.28-1+deb11u1 [1,428 kB]
Get:74 http://deb.debian.org/debian bullseye/main amd64 php7.4-bz2 amd64 7.4.28-1+deb11u1 [10.4 kB]
Get:75 http://deb.debian.org/debian bullseye/main amd64 php7.4-common amd64 7.4.28-1+deb11u1 [1,023 kB]
Get:76 http://deb.debian.org/debian bullseye/main amd64 util-linux-locales all 2.36.1-8+deb11u1 [1,192 kB]
Get:77 https://packages.gitlab.com/gitlab/gitlab-ce/debian buster/main amd64 gitlab-ce amd64 14.10.0-ce.0 [1,047 MB]
Fetched 1,154 MB in 13s (87.7 MB/s)                                                                                                                                                                                 
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../base-files_11.1+deb11u3_amd64.deb ...
Unpacking base-files (11.1+deb11u3) over (11.1+deb11u2) ...
Setting up base-files (11.1+deb11u3) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.36.1-8+deb11u1_amd64.deb ...
Unpacking bsdutils (1:2.36.1-8+deb11u1) over (1:2.36.1-8) ...
Setting up bsdutils (1:2.36.1-8+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../gzip_1.10-4+deb11u1_amd64.deb ...
Unpacking gzip (1.10-4+deb11u1) over (1.10-4) ...
Setting up gzip (1.10-4+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.31-13+deb11u3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.31-13+deb11u3) over (2.31-13+deb11u2) ...
Preparing to unpack .../libc-dev-bin_2.31-13+deb11u3_amd64.deb ...
Unpacking libc-dev-bin (2.31-13+deb11u3) over (2.31-13+deb11u2) ...
Preparing to unpack .../linux-libc-dev_5.10.106-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.10.106-1) over (5.10.84-1) ...
Preparing to unpack .../libc6_2.31-13+deb11u3_amd64.deb ...
Unpacking libc6:amd64 (2.31-13+deb11u3) over (2.31-13+deb11u2) ...
Setting up libc6:amd64 (2.31-13+deb11u3) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../libblkid1_2.36.1-8+deb11u1_amd64.deb ...
Unpacking libblkid1:amd64 (2.36.1-8+deb11u1) over (2.36.1-8) ...
Setting up libblkid1:amd64 (2.36.1-8+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../libuuid1_2.36.1-8+deb11u1_amd64.deb ...
Unpacking libuuid1:amd64 (2.36.1-8+deb11u1) over (2.36.1-8) ...
Setting up libuuid1:amd64 (2.36.1-8+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../libfdisk1_2.36.1-8+deb11u1_amd64.deb ...
Unpacking libfdisk1:amd64 (2.36.1-8+deb11u1) over (2.36.1-8) ...
Preparing to unpack .../libmount1_2.36.1-8+deb11u1_amd64.deb ...
Unpacking libmount1:amd64 (2.36.1-8+deb11u1) over (2.36.1-8) ...
Setting up libmount1:amd64 (2.36.1-8+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.36.1-8+deb11u1_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.36.1-8+deb11u1) over (2.36.1-8) ...
Setting up libsmartcols1:amd64 (2.36.1-8+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../fdisk_2.36.1-8+deb11u1_amd64.deb ...
Unpacking fdisk (2.36.1-8+deb11u1) over (2.36.1-8) ...
Preparing to unpack .../util-linux_2.36.1-8+deb11u1_amd64.deb ...
Unpacking util-linux (2.36.1-8+deb11u1) over (2.36.1-8) ...
Setting up util-linux (2.36.1-8+deb11u1) ...
fstrim.service is a disabled or a static unit not running, not starting it.
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.31-13+deb11u3_amd64.deb ...
Unpacking libc-bin (2.31-13+deb11u3) over (2.31-13+deb11u2) ...
Setting up libc-bin (2.31-13+deb11u3) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../sysvinit-utils_2.96-7+deb11u1_amd64.deb ...
Unpacking sysvinit-utils (2.96-7+deb11u1) over (2.96-7) ...
Setting up sysvinit-utils (2.96-7+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../libnss-systemd_247.3-7_amd64.deb ...
Unpacking libnss-systemd:amd64 (247.3-7) over (247.3-6) ...
Preparing to unpack .../libsystemd0_247.3-7_amd64.deb ...
Unpacking libsystemd0:amd64 (247.3-7) over (247.3-6) ...
Setting up libsystemd0:amd64 (247.3-7) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../systemd-timesyncd_247.3-7_amd64.deb ...
Unpacking systemd-timesyncd (247.3-7) over (247.3-6) ...
Preparing to unpack .../libpam-systemd_247.3-7_amd64.deb ...
Unpacking libpam-systemd:amd64 (247.3-7) over (247.3-6) ...
Preparing to unpack .../systemd_247.3-7_amd64.deb ...
Unpacking systemd (247.3-7) over (247.3-6) ...
Preparing to unpack .../udev_247.3-7_amd64.deb ...
Unpacking udev (247.3-7) over (247.3-6) ...
Preparing to unpack .../libudev1_247.3-7_amd64.deb ...
Unpacking libudev1:amd64 (247.3-7) over (247.3-6) ...
Setting up libudev1:amd64 (247.3-7) ...
Setting up systemd (247.3-7) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_247.3-7_amd64.deb ...
Unpacking systemd-sysv (247.3-7) over (247.3-6) ...
Preparing to unpack .../libssl1.1_1.1.1n-0+deb11u1_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1n-0+deb11u1) over (1.1.1k-1+deb11u1) ...
Setting up libssl1.1:amd64 (1.1.1n-0+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../00-libcryptsetup12_2%3a2.3.7-1+deb11u1_amd64.deb ...
Unpacking libcryptsetup12:amd64 (2:2.3.7-1+deb11u1) over (2:2.3.5-1) ...
Preparing to unpack .../01-mount_2.36.1-8+deb11u1_amd64.deb ...
Unpacking mount (2.36.1-8+deb11u1) over (2.36.1-8) ...
Preparing to unpack .../02-bsdextrautils_2.36.1-8+deb11u1_amd64.deb ...
Unpacking bsdextrautils (2.36.1-8+deb11u1) over (2.36.1-8) ...
Preparing to unpack .../03-libc-l10n_2.31-13+deb11u3_all.deb ...
Unpacking libc-l10n (2.31-13+deb11u3) over (2.31-13+deb11u2) ...
Preparing to unpack .../04-locales_2.31-13+deb11u3_all.deb ...
Unpacking locales (2.31-13+deb11u3) over (2.31-13+deb11u2) ...
Preparing to unpack .../05-task-english_3.68+deb11u1_all.deb ...
Unpacking task-english (3.68+deb11u1) over (3.68) ...
Preparing to unpack .../06-tasksel-data_3.68+deb11u1_all.deb ...
Unpacking tasksel-data (3.68+deb11u1) over (3.68) ...
Preparing to unpack .../07-task-ssh-server_3.68+deb11u1_all.deb ...
Unpacking task-ssh-server (3.68+deb11u1) over (3.68) ...
Preparing to unpack .../08-tasksel_3.68+deb11u1_all.deb ...
Unpacking tasksel (3.68+deb11u1) over (3.68) ...
Preparing to unpack .../09-zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u1) over (1:1.2.11.dfsg-2) ...
Preparing to unpack .../10-zlib1g_1%3a1.2.11.dfsg-2+deb11u1_amd64.deb ...
Unpacking zlib1g:amd64 (1:1.2.11.dfsg-2+deb11u1) over (1:1.2.11.dfsg-2) ...
Setting up zlib1g:amd64 (1:1.2.11.dfsg-2+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpgv (2.2.27-2+deb11u1) over (2.2.27-2) ...
Setting up gpgv (2.2.27-2+deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../liblzma5_5.2.5-2.1~deb11u1_amd64.deb ...
Unpacking liblzma5:amd64 (5.2.5-2.1~deb11u1) over (5.2.5-2) ...
Setting up liblzma5:amd64 (5.2.5-2.1~deb11u1) ...
(Reading database ... 140573 files and directories currently installed.)
Preparing to unpack .../00-tzdata_2021a-1+deb11u3_all.deb ...
Unpacking tzdata (2021a-1+deb11u3) over (2021a-1+deb11u2) ...
Preparing to unpack .../01-libxml2_2.9.10+dfsg-6.7+deb11u1_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u1) over (2.9.10+dfsg-6.7) ...
Preparing to unpack .../02-bind9-dnsutils_1%3a9.16.27-1~deb11u1_amd64.deb ...
Unpacking bind9-dnsutils (1:9.16.27-1~deb11u1) over (1:9.16.22-1~deb11u1) ...
Preparing to unpack .../03-bind9-libs_1%3a9.16.27-1~deb11u1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.16.27-1~deb11u1) over (1:9.16.22-1~deb11u1) ...
Preparing to unpack .../04-bind9-host_1%3a9.16.27-1~deb11u1_amd64.deb ...
Unpacking bind9-host (1:9.16.27-1~deb11u1) over (1:9.16.22-1~deb11u1) ...
Preparing to unpack .../05-xz-utils_5.2.5-2.1~deb11u1_amd64.deb ...
Unpacking xz-utils (5.2.5-2.1~deb11u1) over (5.2.5-2) ...
Preparing to unpack .../06-cryptsetup-initramfs_2%3a2.3.7-1+deb11u1_all.deb ...
Unpacking cryptsetup-initramfs (2:2.3.7-1+deb11u1) over (2:2.3.5-1) ...
Preparing to unpack .../07-cryptsetup-bin_2%3a2.3.7-1+deb11u1_amd64.deb ...
Unpacking cryptsetup-bin (2:2.3.7-1+deb11u1) over (2:2.3.5-1) ...
Preparing to unpack .../08-cryptsetup_2%3a2.3.7-1+deb11u1_amd64.deb ...
Unpacking cryptsetup (2:2.3.7-1+deb11u1) over (2:2.3.5-1) ...
Preparing to unpack .../09-gpgsm_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpgsm (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../10-gpg-wks-client_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../11-gpg-wks-server_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../12-gpg_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../13-gnupg-utils_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gnupg-utils (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../14-gnupg-l10n_2.2.27-2+deb11u1_all.deb ...
Unpacking gnupg-l10n (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../15-dirmngr_2.2.27-2+deb11u1_amd64.deb ...
Unpacking dirmngr (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../16-gnupg_2.2.27-2+deb11u1_all.deb ...
Unpacking gnupg (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../17-gpg-agent_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpg-agent (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../18-gpgconf_2.2.27-2+deb11u1_amd64.deb ...
Unpacking gpgconf (2.2.27-2+deb11u1) over (2.2.27-2) ...
Preparing to unpack .../19-dnsutils_1%3a9.16.27-1~deb11u1_all.deb ...
Unpacking dnsutils (1:9.16.27-1~deb11u1) over (1:9.16.22-1~deb11u1) ...
Preparing to unpack .../20-libexpat1_2.2.10-2+deb11u3_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.10-2+deb11u3) over (2.2.10-2) ...
Preparing to unpack .../21-libsasl2-modules-db_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) over (2.1.27+dfsg-2.1) ...
Preparing to unpack .../22-libsasl2-2_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) over (2.1.27+dfsg-2.1) ...
Preparing to unpack .../23-libsasl2-modules_2.1.27+dfsg-2.1+deb11u1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-2.1+deb11u1) over (2.1.27+dfsg-2.1) ...
Selecting previously unselected package linux-image-5.10.0-13-amd64.
Preparing to unpack .../24-linux-image-5.10.0-13-amd64_5.10.106-1_amd64.deb ...
Unpacking linux-image-5.10.0-13-amd64 (5.10.106-1) ...
Preparing to unpack .../25-linux-image-amd64_5.10.106-1_amd64.deb ...
Unpacking linux-image-amd64 (5.10.106-1) over (5.10.84-1) ...
Preparing to unpack .../26-locales-all_2.31-13+deb11u3_amd64.deb ...
Unpacking locales-all (2.31-13+deb11u3) over (2.31-13+deb11u2) ...
Preparing to unpack .../27-openssl_1.1.1n-0+deb11u1_amd64.deb ...
Unpacking openssl (1.1.1n-0+deb11u1) over (1.1.1k-1+deb11u1) ...
Preparing to unpack .../28-php7.4-sqlite3_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-sqlite3 (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../29-php7.4-readline_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-readline (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../30-php7.4-opcache_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-opcache (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../31-php7.4-mbstring_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-mbstring (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../32-php7.4-json_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-json (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../33-php7.4-curl_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-curl (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../34-php7.4-cli_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-cli (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../35-php7.4-bz2_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-bz2 (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../36-php7.4-common_7.4.28-1+deb11u1_amd64.deb ...
Unpacking php7.4-common (7.4.28-1+deb11u1) over (7.4.25-1+deb11u1) ...
Preparing to unpack .../37-util-linux-locales_2.36.1-8+deb11u1_all.deb ...
Unpacking util-linux-locales (2.36.1-8+deb11u1) over (2.36.1-8) ...
Preparing to unpack .../38-gitlab-ce_14.10.0-ce.0_amd64.deb ...
gitlab preinstall: Checking for unmigrated data on legacy storage
gitlab preinstall: Automatically backing up only the GitLab SQL database (excluding everything else!)
2022-04-26 12:18:58 +0200 -- Dumping database ... 
Dumping PostgreSQL database gitlabhq_production ... [DONE]
2022-04-26 12:19:06 +0200 -- done
2022-04-26 12:19:06 +0200 -- Dumping repositories ...
2022-04-26 12:19:06 +0200 -- [SKIPPED]
2022-04-26 12:19:06 +0200 -- Dumping uploads ... 
2022-04-26 12:19:06 +0200 -- [SKIPPED]
2022-04-26 12:19:06 +0200 -- Dumping builds ... 
2022-04-26 12:19:06 +0200 -- [SKIPPED]
2022-04-26 12:19:06 +0200 -- Dumping artifacts ... 
2022-04-26 12:19:06 +0200 -- [SKIPPED]
2022-04-26 12:19:06 +0200 -- Dumping pages ... 
2022-04-26 12:19:06 +0200 -- [SKIPPED]
2022-04-26 12:19:06 +0200 -- Dumping lfs objects ... 
2022-04-26 12:19:06 +0200 -- [SKIPPED]
2022-04-26 12:19:06 +0200 -- Dumping container registry images ... 
2022-04-26 12:19:06 +0200 -- [DISABLED]
Creating backup archive: 1650968346_2022_04_26_14.6.3_gitlab_backup.tar ... done
Uploading backup archive to remote storage  ... skipped
Deleting tmp directories ... done
done
Deleting old backups ... skipping
Warning: Your gitlab.rb and gitlab-secrets.json files contain sensitive data 
and are not included in this backup. You will need these files to restore a backup.
Please back them up manually.
Backup task is done.
gitlab preinstall: Automatically backing up /etc/gitlab
Running configuration backup
Creating configuration backup archive: gitlab_config_1650968348_2022_04_26.tar
/etc/gitlab/
/etc/gitlab/gitlab.rb
/etc/gitlab/ssl/
/etc/gitlab/ssl/gitlab.cebe.cc.crt
/etc/gitlab/ssl/chat.cebe.cc.key
/etc/gitlab/ssl/gitlab.cebe.cc.key
/etc/gitlab/ssl/chat.cebe.cc.crt
/etc/gitlab/trusted-certs/
/etc/gitlab/gitlab-secrets.json
Configuration backup archive complete: /etc/gitlab/config_backup/gitlab_config_1650968348_2022_04_26.tar
Keeping all older configuration backups
Unpacking gitlab-ce (14.10.0-ce.0) over (14.6.3-ce.0) ...
Setting up libexpat1:amd64 (2.2.10-2+deb11u3) ...
Setting up systemd-sysv (247.3-7) ...
Setting up linux-image-5.10.0-13-amd64 (5.10.106-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-5.10.0-10-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.10.0-10-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-5.10.0-13-amd64
I: /initrd.img is now a symlink to boot/initrd.img-5.10.0-13-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-13-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.10.0-13-amd64
Found initrd image: /boot/initrd.img-5.10.0-13-amd64
Found linux image: /boot/vmlinuz-5.10.0-10-amd64
Found initrd image: /boot/initrd.img-5.10.0-10-amd64
Found linux image: /boot/vmlinuz-5.10.0-9-amd64
Found initrd image: /boot/initrd.img-5.10.0-9-amd64
Found linux image: /boot/vmlinuz-5.10.0-8-amd64
Found initrd image: /boot/initrd.img-5.10.0-8-amd64
done
Setting up libc-l10n (2.31-13+deb11u3) ...
Setting up php7.4-common (7.4.28-1+deb11u1) ...
Setting up bsdextrautils (2.36.1-8+deb11u1) ...
Setting up php7.4-curl (7.4.28-1+deb11u1) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up linux-libc-dev:amd64 (5.10.106-1) ...
Setting up php7.4-readline (7.4.28-1+deb11u1) ...
Setting up php7.4-mbstring (7.4.28-1+deb11u1) ...
Setting up libnss-systemd:amd64 (247.3-7) ...
Setting up php7.4-bz2 (7.4.28-1+deb11u1) ...
Setting up linux-image-amd64 (5.10.106-1) ...
Setting up locales (2.31-13+deb11u3) ...
locales-all installed, skipping locales generation
Setting up gitlab-ce (14.10.0-ce.0) ...
Checking PostgreSQL executables:Starting Chef Infra Client, version 15.17.4
resolving cookbooks for run list: ["gitlab::config", "postgresql::bin"]
Synchronizing Cookbooks:
  - gitlab (0.0.1)
  - postgresql (0.1.0)
  - logrotate (0.1.0)
  - package (0.1.0)
  - redis (0.1.0)
  - monitoring (0.1.0)
  - mattermost (0.1.0)
  - registry (0.1.0)
  - consul (0.1.0)
  - gitaly (0.1.0)
  - praefect (0.1.0)
  - gitlab-kas (0.1.0)
  - letsencrypt (0.1.0)
  - nginx (0.1.0)
  - gitlab-pages (0.1.0)
  - acme (4.1.3)
  - crond (0.1.0)
  - runit (5.1.3)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 4 resources
Recipe: postgresql::bin
  * ruby_block[check_postgresql_version] action run (skipped due to not_if)
  * ruby_block[check_postgresql_version_is_deprecated] action run (skipped due to not_if)
  * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)
  * template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)

Running handlers:
Running handlers complete
Chef Infra Client finished, 0/4 resources updated in 05 seconds
Checking PostgreSQL executables: OK
Checking for an omnibus managed postgresql: OKlable and attempting automatic upgrade to it:
Checking if postgresql['version'] is set: OK
Checking if we already upgraded: OK
The latest version 12.7 is already running, nothing to do
Checking if a newer PostgreSQL version is available and attempting automatic upgrade to it: OK
Shutting down all GitLab services except those needed for migrations
ok: down: alertmanager: 8281757s, normally up
ok: down: gitlab-exporter: 0s, normally up
ok: down: gitlab-workhorse: 1s, normally up
ok: down: grafana: 0s, normally up
ok: down: logrotate: 1s, normally up
ok: down: mattermost: 0s, normally up
ok: down: nginx: 1s, normally up
ok: down: node-exporter: 0s, normally up
ok: down: postgres-exporter: 0s, normally up
ok: down: prometheus: 1s, normally up
ok: down: puma: 0s, normally up
ok: down: redis-exporter: 1s, normally up
ok: down: sidekiq: 0s, normally up
Ensuring the required services are running
ok: run: postgresql: (pid 3146911) 8440411s
ok: run: redis: (pid 3146970) 8440410s
ok: run: gitaly: (pid 977799) 8281683s
run: postgresql: (pid 3146911) 8440411s; run: log: (pid 251877) 15101090s
run: redis: (pid 3146970) 8440410s; run: log: (pid 251686) 15101102s
run: gitaly: (pid 977799) 8281683s; run: log: (pid 251753) 15101096s
Ensuring Prometheus is updated:Already running Prometheus version 2.
Ensuring Prometheus is updated: OK
Reconfigure GitLab to apply migrations
Starting Chef Infra Client, version 15.17.4
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - gitlab (0.0.1)
  - package (0.1.0)
  - logrotate (0.1.0)
  - postgresql (0.1.0)
  - redis (0.1.0)
  - monitoring (0.1.0)
  - registry (0.1.0)
  - mattermost (0.1.0)
  - consul (0.1.0)
  - gitaly (0.1.0)
  - praefect (0.1.0)
  - gitlab-kas (0.1.0)
  - letsencrypt (0.1.0)
  - gitlab-pages (0.1.0)
  - nginx (0.1.0)
  - runit (5.1.3)
  - crond (0.1.0)
  - acme (4.1.3)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
  * directory[/etc/gitlab] action create (up to date)
  Converging 306 resources
  * directory[/etc/gitlab] action create (up to date)
  * directory[Create /var/opt/gitlab] action create (up to date)
  * directory[Create /var/log/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)
  * file[/var/opt/gitlab/.ssh/authorized_keys] action create_if_missing (up to date)
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)
Recipe: gitlab::rails_pages_shared_path
  * 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/pages] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run (skipped due to not_if)
     (up to date)
Recipe: gitlab::gitlab-rails
  * 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/shared/terraform_state] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/terraform_state] action run (skipped due to not_if)
     (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/ci_secure_files] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/ci_secure_files] action run
      - execute the ruby block directory resource: /var/opt/gitlab/gitlab-rails/shared/ci_secure_files
  
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/encrypted_settings] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/encrypted_settings] 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)
  * 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-rc] action create (up to date)
  * file[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action delete (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
      - update content in file /var/opt/gitlab/gitlab-rails/etc/database.yml from 9cd048 to 5f618f
      - suppressed sensitive resource
    * 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 cable.yml and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/cable.yml] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/cable.yml to /var/opt/gitlab/gitlab-rails/etc/cable.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)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cache.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.cache.yml] action delete (up to date)
  * templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.queues.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.queues.yml] action delete (up to date)
  * templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.shared_state.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.shared_state.yml] action delete (up to date)
  * templatesymlink[Create a redis.trace_chunks.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.trace_chunks.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.trace_chunks.yml] action delete (up to date)
  * templatesymlink[Create a redis.rate_limiting.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.rate_limiting.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.rate_limiting.yml] action delete (up to date)
  * templatesymlink[Create a redis.sessions.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.sessions.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.sessions.yml] action delete (up to date)
  * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action delete
    * file[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
    * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.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 71a42b to 7a53c5
      - suppressed sensitive resource
    * 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 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_incoming_email_secret and create a symlink to Rails root] action create (skipped due to only_if)
  * templatesymlink[Create a gitlab_service_desk_email_secret and create a symlink to Rails root] action create (skipped due to only_if)
  * templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_pages_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret] action create (up to date)
     (up to date)
  * templatesymlink[Create a gitlab_kas_secret and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_kas_secret] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_kas_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_kas_secret] action create (up to date)
     (up to date)
  * 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/BUNDLE_GEMFILE] 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/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)
    * file[/opt/gitlab/etc/gitlab-rails/env/SSL_CERT_DIR] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_DIR
      - update content in file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_DIR from none to 4f45cf
      - suppressed sensitive resource
    * file[/opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE
      - update content in file /opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE from none to f7ce84
      - suppressed sensitive resource
  
  * 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 delete (skipped due to only_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql] action create
    - change owner from 'root' to 'git'
  * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/chef-15.17.4/lib/chef/provider/remote_file/local_file.rb:43: warning: URI.unescape is obsolete

    - update content in file /var/opt/gitlab/gitlab-rails/VERSION from 6bd3e4 to ac9f1c
    --- /var/opt/gitlab/gitlab-rails/VERSION	2022-01-20 14:51:40.954230687 +0100
    +++ /var/opt/gitlab/gitlab-rails/.chef-VERSION20220426-2331829-1mqsy3r	2022-04-26 12:20:57.870793711 +0200
    @@ -1,2 +1,2 @@
    -14.6.3
    +14.10.0
  * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/chef-15.17.4/lib/chef/provider/remote_file/local_file.rb:43: warning: URI.unescape is obsolete

    - update content in file /var/opt/gitlab/gitlab-rails/REVISION from 685248 to 3508bb
    --- /var/opt/gitlab/gitlab-rails/REVISION	2022-01-20 14:51:40.970230698 +0100
    +++ /var/opt/gitlab/gitlab-rails/.chef-REVISION20220426-2331829-13nu7o8	2022-04-26 12:20:57.890793358 +0200
    @@ -1,2 +1,2 @@
    -e085746f077
    +88da5554d96
  * version_file[Create version file for Rails] action create
    * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date)
     (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
  * bash[Set proper security context on ssh files for selinux] action nothing (skipped due to action :nothing)
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 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)
  * template[/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: package::sysctl
  * execute[reload all sysctl conf] action nothing (skipped due to action :nothing)
Recipe: logrotate::folders_and_configs
  * directory[/var/opt/gitlab/logrotate] action create (up to date)
  * directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
  * directory[/var/log/gitlab/logrotate] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/puma] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-kas] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitaly] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/mailroom] action create (up to date)
Recipe: logrotate::enable
  * service[logrotate] action nothing (skipped due to action :nothing)
  * runit_service[logrotate] 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/logrotate] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/run] action create (up to date)
    * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
    * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_logrotate] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/logrotate/config] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/logrotate/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for logrotate service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/logrotate/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/logrotate/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
    * link[/opt/gitlab/init/logrotate] action create (up to date)
    * file[/opt/gitlab/sv/logrotate/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/logrotate] action create (up to date)
    * ruby_block[wait for logrotate service socket] action run (skipped due to not_if)
     (up to date)
Recipe: redis::enable
  * redis_service[redis] action create
    * 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
      - update content in file /var/opt/gitlab/redis/redis.conf from d126ed to d06b8d
      - suppressed sensitive resource
    * runit_service[redis] action restart (up to date)
  Recipe: <Dynamically Defined Resource>
    * service[redis] action nothing (skipped due to action :nothing)
    * 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/config] action create (up to date)
      * ruby_block[verify_chown_persisted_on_redis] action nothing (skipped due to action :nothing)
      * link[/var/log/gitlab/redis/config] action create (up to date)
      * template[/opt/gitlab/sv/redis/log/run] 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 nothing (skipped due to action :nothing)
      * 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)
    * ruby_block[warn pending redis restart] action run (skipped due to only_if)
  
Recipe: redis::enable
  * template[/opt/gitlab/etc/gitlab-redis-cli-rc] action create (up to date)
Recipe: gitaly::enable
  * directory[/var/opt/gitlab/gitaly] action create (up to date)
  * directory[/var/opt/gitlab/gitaly/run] action create
    - create new directory /var/opt/gitlab/gitaly/run
    - change mode from '' to '0700'
    - change owner from '' to 'git'
  * directory[/var/log/gitlab/gitaly] action create (up to date)
  * directory[/var/opt/gitlab/gitaly/internal_sockets] action delete
    - delete existing directory /var/opt/gitlab/gitaly/internal_sockets
  * 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 7fe1e9 to 51b7e6
    --- /var/opt/gitlab/gitaly/config.toml	2021-11-03 14:16:55.627147483 +0100
    +++ /var/opt/gitlab/gitaly/.chef-config20220426-2331829-9m7eeu.toml	2022-04-26 12:20:59.126771542 +0200
    @@ -6,7 +6,7 @@
     
     socket_path = '/var/opt/gitlab/gitaly/gitaly.socket'
     
    -internal_socket_dir = '/var/opt/gitlab/gitaly/internal_sockets'
    +runtime_dir = '/var/opt/gitlab/gitaly/run'
     bin_dir = '/opt/gitlab/embedded/bin'
     
     
    @@ -26,8 +26,9 @@
     [auth]
     
     [git]
    +bin_path = '/opt/gitlab/embedded/bin/git'
    +use_bundled_binaries = true
     
    -
     [gitaly-ruby]
     dir = "/opt/gitlab/embedded/service/gitaly-ruby"
     rugged_git_config_search_path = "/opt/gitlab/embedded/etc"
    @@ -41,6 +42,7 @@
     
     
     [hooks]
    +
     
     
     [daily_maintenance]
  * service[gitaly] action nothing (skipped due to action :nothing)
  * 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
      - update content in file /opt/gitlab/sv/gitaly/run from 1a05c2 to 7fef11
      --- /opt/gitlab/sv/gitaly/run	2021-11-02 16:35:45.153593729 +0100
      +++ /opt/gitlab/sv/gitaly/.chef-run20220426-2331829-1myzlai	2022-04-26 12:20:59.162770906 +0200
      @@ -10,6 +10,7 @@
       
       
       
      +
       cd /var/opt/gitlab/gitaly
       
       exec chpst -e /opt/gitlab/etc/gitaly/env -P \
    * 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/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/gitaly/config] action create (up to date)
    * template[/opt/gitlab/sv/gitaly/log/run] 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 nothing (skipped due to action :nothing)
    * ruby_block[restart_service] action run
      * 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/config] action create (up to date)
      * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
      * link[/var/log/gitlab/gitaly/config] action create (up to date)
      * template[/opt/gitlab/sv/gitaly/log/run] 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 nothing (skipped due to action :nothing)
      * 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)
      - execute the ruby block restart_service
    * 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)
  
  * version_file[Create version file for Gitaly] action create
    * file[/var/opt/gitlab/gitaly/VERSION] action create
      - update content in file /var/opt/gitlab/gitaly/VERSION from f84846 to f5391f
      --- /var/opt/gitlab/gitaly/VERSION	2022-01-20 14:51:42.066231459 +0100
      +++ /var/opt/gitlab/gitaly/.chef-VERSION20220426-2331829-1p7k0v5	2022-04-26 12:21:00.354749866 +0200
      @@ -1,2 +1,2 @@
      -sha256:ab5fea30f6e20e28a4af017deb960cb6d0623f46b9ede05b35a3c3f2aca90acc
      +sha256:6c0fa93abb8454ba9d36b1af19ce552ab2d11b083fa20b0a6d8cac46b4ed182e
  
  * version_file[Create Ruby version file for Gitaly] action create
    * file[/var/opt/gitlab/gitaly/RUBY_VERSION] action create (up to date)
     (up to date)
  * consul_service[gitaly] action delete
    * file[/var/opt/gitlab/consul/config.d/gitaly-service.json] action delete (up to date)
     (up to date)
Recipe: postgresql::bin
  * ruby_block[check_postgresql_version] action run (skipped due to not_if)
  * ruby_block[check_postgresql_version_is_deprecated] action run (skipped due to not_if)
  * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)
  * template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
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)
  * directory[/var/opt/gitlab/postgresql] action create (up to date)
  * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
Recipe: postgresql::sysctl
  * 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)
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)
  * directory[/var/opt/gitlab/postgresql/data] action create (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)
  * postgresql_config[gitlab] action create
    * 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)
     (up to date)
Recipe: postgresql::standalone
  * service[postgresql] action nothing (skipped due to action :nothing)
  * 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/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_postgresql] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/postgresql/config] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/log/run] 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 nothing (skipped due to action :nothing)
    * 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/service/postgresql/supervise/ok] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/log/supervise/ok] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/supervise/status] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/log/supervise/status] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/supervise/control] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/log/supervise/control] action touch (skipped due to only_if)
     (up to date)
  * database_objects[postgresql] action create
    * postgresql_user[gitlab] action create
      * execute[create gitlab postgresql user] action run (skipped due to not_if)
       (up to date)
    * 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_database[gitlabhq_production] action create
      * execute[create database gitlabhq_production] 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)
    * postgresql_extension[btree_gist] action enable
      * postgresql_query[enable btree_gist extension] action run (skipped due to only_if)
       (up to date)
     (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: praefect::disable
  * service[praefect] action nothing (skipped due to action :nothing)
  * runit_service[praefect] action disable
    * ruby_block[disable praefect] action run (skipped due to only_if)
     (up to date)
  * consul_service[praefect] action delete
    * file[/var/opt/gitlab/consul/config.d/praefect-service.json] action delete (up to date)
     (up to date)
Recipe: gitlab-kas::enable
  * directory[/var/opt/gitlab/gitlab-kas] action create
    - create new directory /var/opt/gitlab/gitlab-kas
    - change mode from '' to '0700'
    - change owner from '' to 'git'
  * directory[/var/log/gitlab/gitlab-kas] action create
    - create new directory /var/log/gitlab/gitlab-kas
    - change mode from '' to '0700'
    - change owner from '' to 'git'
  * directory[/opt/gitlab/etc/gitlab-kas] action create
    - create new directory /opt/gitlab/etc/gitlab-kas
    - change mode from '' to '0700'
    - change owner from '' to 'git'
  * ruby_block[websocket TLS termination] action run (skipped due to only_if)
  * version_file[Create version file for Gitlab KAS] action create
    * file[/var/opt/gitlab/gitlab-kas/VERSION] action create
      - create new file /var/opt/gitlab/gitlab-kas/VERSION
      - update content in file /var/opt/gitlab/gitlab-kas/VERSION from none to 3a90fe
      --- /var/opt/gitlab/gitlab-kas/VERSION	2022-04-26 12:21:01.582728190 +0200
      +++ /var/opt/gitlab/gitlab-kas/.chef-VERSION20220426-2331829-p5srij	2022-04-26 12:21:01.582728190 +0200
      @@ -1 +1,2 @@
      +kas version v14.10.0, commit: aa11a94, built: 20220420.110638
  
  * file[/var/opt/gitlab/gitlab-kas/authentication_secret_file] action create
    - create new file /var/opt/gitlab/gitlab-kas/authentication_secret_file
    - update content in file /var/opt/gitlab/gitlab-kas/authentication_secret_file from none to c07e81
    --- /var/opt/gitlab/gitlab-kas/authentication_secret_file	2022-04-26 12:21:01.602727837 +0200
    +++ /var/opt/gitlab/gitlab-kas/.chef-authentication_secret_file20220426-2331829-44e6fx	2022-04-26 12:21:01.602727837 +0200
    @@ -1 +1,2 @@
    +ZTk3MDVhN2RlOTRjMWEzNjE5NWQ2ZjlkZjIyZWY0YWM=
    - change mode from '' to '0640'
    - change owner from '' to 'root'
    - change group from '' to 'git'
  * file[/var/opt/gitlab/gitlab-kas/private_api_authentication_secret_file] action create
    - create new file /var/opt/gitlab/gitlab-kas/private_api_authentication_secret_file
    - update content in file /var/opt/gitlab/gitlab-kas/private_api_authentication_secret_file from none to 1558d6
    --- /var/opt/gitlab/gitlab-kas/private_api_authentication_secret_file	2022-04-26 12:21:01.622727485 +0200
    +++ /var/opt/gitlab/gitlab-kas/.chef-private_api_authentication_secret_file20220426-2331829-1rasnqz	2022-04-26 12:21:01.622727485 +0200
    @@ -1 +1,2 @@
    +NDNkYTI3YTBlMjkyZjY1M2I0NWQ0YjZlYmVjYzE4MjQ=
    - change mode from '' to '0640'
    - change owner from '' to 'root'
    - change group from '' to 'git'
  * file[/var/opt/gitlab/gitlab-kas/redis_password_file] action create (skipped due to only_if)
  * template[/var/opt/gitlab/gitlab-kas/gitlab-kas-config.yml] action create
    - create new file /var/opt/gitlab/gitlab-kas/gitlab-kas-config.yml
    - update content in file /var/opt/gitlab/gitlab-kas/gitlab-kas-config.yml from none to 8ff910
    --- /var/opt/gitlab/gitlab-kas/gitlab-kas-config.yml	2022-04-26 12:21:01.642727131 +0200
    +++ /var/opt/gitlab/gitlab-kas/.chef-gitlab-kas-config20220426-2331829-1susziu.yml	2022-04-26 12:21:01.642727131 +0200
    @@ -1 +1,41 @@
    +agent:
    +  listen:
    +    address: localhost:8150
    +    network: tcp
    +    websocket: true
    +  configuration:
    +    poll_period: 20s
    +  gitops:
    +    poll_period: 20s
    +    project_info_cache_ttl: 300s
    +    project_info_cache_error_ttl: 60s
    +  kubernetes_api:
    +    listen:
    +      address: localhost:8154
    +    url_path_prefix: /
    +  info_cache_ttl: 300s
    +  info_cache_error_ttl: 60s
    +gitlab:
    +  address: https://gitlab.cebe.cc
    +  authentication_secret_file: /var/opt/gitlab/gitlab-kas/authentication_secret_file
    +observability:
    +  usage_reporting_period: 60s
    +  logging:
    +    level: info
    +redis:
    +  network: unix
    +  tls:
    +    enabled: false
    +  server:
    +    address: '/var/opt/gitlab/redis/redis.socket'
    +api:
    +  listen:
    +    network: tcp
    +    address: localhost:8153
    +    authentication_secret_file: /var/opt/gitlab/gitlab-kas/authentication_secret_file
    +private_api:
    +  listen:
    +    network: tcp
    +    address: localhost:8155
    +    authentication_secret_file: /var/opt/gitlab/gitlab-kas/private_api_authentication_secret_file
    - change mode from '' to '0640'
    - change owner from '' to 'root'
    - change group from '' to 'git'
  * env_dir[/opt/gitlab/etc/gitlab-kas/env] action create
    * directory[/opt/gitlab/etc/gitlab-kas/env] action create
      - create new directory /opt/gitlab/etc/gitlab-kas/env
    * file[/opt/gitlab/etc/gitlab-kas/env/SSL_CERT_DIR] action create
      - create new file /opt/gitlab/etc/gitlab-kas/env/SSL_CERT_DIR
      - update content in file /opt/gitlab/etc/gitlab-kas/env/SSL_CERT_DIR from none to 4f45cf
      - suppressed sensitive resource
    * file[/opt/gitlab/etc/gitlab-kas/env/OWN_PRIVATE_API_URL] action create
      - create new file /opt/gitlab/etc/gitlab-kas/env/OWN_PRIVATE_API_URL
      - update content in file /opt/gitlab/etc/gitlab-kas/env/OWN_PRIVATE_API_URL from none to 45b898
      - suppressed sensitive resource
  
  * service[gitlab-kas] action nothing (skipped due to action :nothing)
  * runit_service[gitlab-kas] 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/gitlab-kas] action create
      - create new directory /opt/gitlab/sv/gitlab-kas
      - change mode from '' to '0755'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * template[/opt/gitlab/sv/gitlab-kas/run] action create
      - create new file /opt/gitlab/sv/gitlab-kas/run
      - update content in file /opt/gitlab/sv/gitlab-kas/run from none to ac037b
      --- /opt/gitlab/sv/gitlab-kas/run	2022-04-26 12:21:01.706726002 +0200
      +++ /opt/gitlab/sv/gitlab-kas/.chef-run20220426-2331829-fudkx8	2022-04-26 12:21:01.706726002 +0200
      @@ -1 +1,12 @@
      +#!/bin/bash
      +
      +# Let runit capture all script error messages
      +exec 2>&1
      +
      +
      +
      +exec chpst -e /opt/gitlab/etc/gitlab-kas/env -P \
      +  -u git:git \
      +  -U git:git \
      +  /opt/gitlab/embedded/bin/gitlab-kas --configuration-file /var/opt/gitlab/gitlab-kas/gitlab-kas-config.yml
      - change mode from '' to '0755'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * directory[/opt/gitlab/sv/gitlab-kas/log] action create
      - create new directory /opt/gitlab/sv/gitlab-kas/log
      - change mode from '' to '0755'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * directory[/opt/gitlab/sv/gitlab-kas/log/main] action create
      - create new directory /opt/gitlab/sv/gitlab-kas/log/main
      - change mode from '' to '0755'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * template[/opt/gitlab/sv/gitlab-kas/log/config] action create
      - create new file /opt/gitlab/sv/gitlab-kas/log/config
      - update content in file /opt/gitlab/sv/gitlab-kas/log/config from none to 623c00
      --- /opt/gitlab/sv/gitlab-kas/log/config	2022-04-26 12:21:01.730725578 +0200
      +++ /opt/gitlab/sv/gitlab-kas/log/.chef-config20220426-2331829-12kq4hr	2022-04-26 12:21:01.730725578 +0200
      @@ -1 +1,7 @@
      +s209715200
      +n30
      +t86400
      +!gzip
      +
      +
      - change mode from '' to '0644'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * ruby_block[verify_chown_persisted_on_gitlab-kas] action create
      - execute the ruby block verify_chown_persisted_on_gitlab-kas
    * ruby_block[verify_chown_persisted_on_gitlab-kas] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/gitlab-kas/config] action create
      - create symlink at /var/log/gitlab/gitlab-kas/config to /opt/gitlab/sv/gitlab-kas/log/config
    * template[/opt/gitlab/sv/gitlab-kas/log/run] action create
      - create new file /opt/gitlab/sv/gitlab-kas/log/run
      - update content in file /opt/gitlab/sv/gitlab-kas/log/run from none to cce1b7
      --- /opt/gitlab/sv/gitlab-kas/log/run	2022-04-26 12:21:01.750725225 +0200
      +++ /opt/gitlab/sv/gitlab-kas/log/.chef-run20220426-2331829-713ldx	2022-04-26 12:21:01.750725225 +0200
      @@ -1 +1,3 @@
      +#!/bin/sh
      +exec svlogd -tt /var/log/gitlab/gitlab-kas
      - change mode from '' to '0755'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * directory[/opt/gitlab/sv/gitlab-kas/env] action create
      - create new directory /opt/gitlab/sv/gitlab-kas/env
      - change mode from '' to '0755'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * ruby_block[Delete unmanaged env files for gitlab-kas service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/gitlab-kas/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/gitlab-kas/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/gitlab-kas/control] action create
      - create new directory /opt/gitlab/sv/gitlab-kas/control
      - change mode from '' to '0755'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * link[/opt/gitlab/init/gitlab-kas] action create
      - create symlink at /opt/gitlab/init/gitlab-kas to /opt/gitlab/embedded/bin/sv
    * file[/opt/gitlab/sv/gitlab-kas/down] action nothing (skipped due to action :nothing)
    * ruby_block[restart_service] action run (skipped due to only_if)
    * ruby_block[reload_log_service] action create
      * 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/gitlab-kas] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-kas/run] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-kas/log] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-kas/log/main] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-kas/log/config] action create (up to date)
      * ruby_block[verify_chown_persisted_on_gitlab-kas] action nothing (skipped due to action :nothing)
      * link[/var/log/gitlab/gitlab-kas/config] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-kas/log/run] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-kas/env] action create (up to date)
      * ruby_block[Delete unmanaged env files for gitlab-kas service] action run (skipped due to only_if)
      * template[/opt/gitlab/sv/gitlab-kas/check] action create (skipped due to only_if)
      * template[/opt/gitlab/sv/gitlab-kas/finish] action create (skipped due to only_if)
      * directory[/opt/gitlab/sv/gitlab-kas/control] action create (up to date)
      * link[/opt/gitlab/init/gitlab-kas] action create (up to date)
      * file[/opt/gitlab/sv/gitlab-kas/down] action nothing (skipped due to action :nothing)
      * directory[/opt/gitlab/service] action create (up to date)
      * link[/opt/gitlab/service/gitlab-kas] action create
        - create symlink at /opt/gitlab/service/gitlab-kas to /opt/gitlab/sv/gitlab-kas
      * ruby_block[wait for gitlab-kas service socket] action run
        - execute the ruby block wait for gitlab-kas service socket
      - execute the ruby block reload_log_service
    * ruby_block[restart_log_service] action run
      * 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/gitlab-kas] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-kas/run] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-kas/log] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-kas/log/main] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-kas/log/config] action create (up to date)
      * ruby_block[verify_chown_persisted_on_gitlab-kas] action nothing (skipped due to action :nothing)
      * link[/var/log/gitlab/gitlab-kas/config] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-kas/log/run] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-kas/env] action create (up to date)
      * ruby_block[Delete unmanaged env files for gitlab-kas service] action run (skipped due to only_if)
      * template[/opt/gitlab/sv/gitlab-kas/check] action create (skipped due to only_if)
      * template[/opt/gitlab/sv/gitlab-kas/finish] action create (skipped due to only_if)
      * directory[/opt/gitlab/sv/gitlab-kas/control] action create (up to date)
      * link[/opt/gitlab/init/gitlab-kas] action create (up to date)
      * file[/opt/gitlab/sv/gitlab-kas/down] action nothing (skipped due to action :nothing)
      * directory[/opt/gitlab/service] action create (up to date)
      * link[/opt/gitlab/service/gitlab-kas] action create (up to date)
      * ruby_block[wait for gitlab-kas service socket] action run (skipped due to not_if)
      - execute the ruby block restart_log_service
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/gitlab-kas] action create (up to date)
    * ruby_block[wait for gitlab-kas service socket] action run (skipped due to not_if)
  
Recipe: gitlab::database_migrations
  * ruby_block[check remote PG version] action nothing (skipped due to action :nothing)
  * rails_migration[gitlab-rails] action run
    * bash[migrate gitlab-rails database] action run
      
      ================================================================================
      Error executing action `run` on resource 'bash[migrate gitlab-rails database]'
      ================================================================================
      
      Mixlib::ShellOut::ShellCommandFailed
      ------------------------------------
      Command execution failed. STDOUT/STDERR suppressed for sensitive resource
      
      Resource Declaration:
      ---------------------
      suppressed sensitive resource output
      
      Compiled Resource:
      ------------------
      suppressed sensitive resource output
      
      System Info:
      ------------
      chef_version=15.17.4
      platform=debian
      platform_version=11
      ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
      program_name=/opt/gitlab/embedded/bin/chef-client
      executable=/opt/gitlab/embedded/bin/chef-client
      
    
    ================================================================================
    Error executing action `run` on resource 'rails_migration[gitlab-rails]'
    ================================================================================
    
    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    bash[migrate gitlab-rails database] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. ST
DOUT/STDERR suppressed for sensitive resource
    
    Resource Declaration:
    ---------------------
    # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb
    
     51: rails_migration "gitlab-rails" do
     52:   rake_task 'gitlab:db:configure'
     53:   logfile_prefix 'gitlab-rails-db-migrate'
     54:   helper migration_helper
     55: 
     56:   environment env_variables
     57:   dependent_services dependent_services
     58:   notifies :run, "execute[clear the gitlab-rails cache]", :immediately
     59:   notifies :run, "ruby_block[check remote PG version]", :immediately
     60: 
     61:   only_if { migration_helper.attributes_node['auto_migrate'] }
     62: end
    
    Compiled Resource:
    ------------------
    # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/database_migrations.rb:51:in `from_file'
    
    rails_migration("gitlab-rails") do
      action [:run]
      default_guard_interpreter :default
      declared_type :rails_migration
      cookbook_name "gitlab"
      recipe_name "database_migrations"
      rake_task "gitlab:db:configure"
      logfile_prefix "gitlab-rails-db-migrate"
      helper "*sensitive value suppressed*"
      environment "*sensitive value suppressed*"
      dependent_services []
      only_if { #code block }
    end
    
    System Info:
    ------------
    chef_version=15.17.4
    platform=debian
    platform_version=11
    ruby=ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [x86_64-linux]
    program_name=/opt/gitlab/embedded/bin/chef-client
    executable=/opt/gitlab/embedded/bin/chef-client
    
Recipe: gitlab::gitlab-rails
  * execute[clear the gitlab-rails cache] action run
    - execute /opt/gitlab/bin/gitlab-rake cache:clear
Recipe: gitaly::enable
  * runit_service[gitaly] action hup
    - send hup to runit_service[gitaly]
Recipe: gitlab-kas::enable
  * runit_service[gitlab-kas] action restart (up to date)

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

rails_migration[gitlab-rails] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[migrate gitlab-rails database] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/re
sources/rails_migration.rb line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. STDOUT/STDERR suppressed for sensitive resource

Running handlers complete
Chef Infra Client failed. 53 resources updated in 01 minutes 01 seconds
===
There was an error running gitlab-ctl reconfigure. Please check the output above for more
details.
===

dpkg: error processing package gitlab-ce (--configure):
 installed gitlab-ce package post-installation script subprocess returned error exit status 1
Setting up locales-all (2.31-13+deb11u3) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up tzdata (2021a-1+deb11u3) ...

Current default time zone: 'Europe/Berlin'
Local time is now:      Tue Apr 26 12:21:51 CEST 2022.
Universal Time is now:  Tue Apr 26 10:21:51 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up gnupg-l10n (2.2.27-2+deb11u1) ...
Setting up xz-utils (5.2.5-2.1~deb11u1) ...
Setting up systemd-timesyncd (247.3-7) ...
Setting up udev (247.3-7) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-2.1+deb11u1) ...
Setting up libfdisk1:amd64 (2.36.1-8+deb11u1) ...
Setting up mount (2.36.1-8+deb11u1) ...
Setting up gpgconf (2.2.27-2+deb11u1) ...
Setting up libpam-systemd:amd64 (247.3-7) ...
Setting up libcryptsetup12:amd64 (2:2.3.7-1+deb11u1) ...
Setting up php7.4-opcache (7.4.28-1+deb11u1) ...
Setting up util-linux-locales (2.36.1-8+deb11u1) ...
Setting up libc-dev-bin (2.31-13+deb11u3) ...
Setting up php7.4-sqlite3 (7.4.28-1+deb11u1) ...
Setting up openssl (1.1.1n-0+deb11u1) ...
Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u1) ...
Setting up gpg (2.2.27-2+deb11u1) ...
Setting up cryptsetup-bin (2:2.3.7-1+deb11u1) ...
Setting up gpg-agent (2.2.27-2+deb11u1) ...
Setting up bind9-libs:amd64 (1:9.16.27-1~deb11u1) ...
Setting up php7.4-cli (7.4.28-1+deb11u1) ...
Setting up fdisk (2.36.1-8+deb11u1) ...
Setting up dirmngr (2.2.27-2+deb11u1) ...
Setting up gpg-wks-server (2.2.27-2+deb11u1) ...
Setting up libc6-dev:amd64 (2.31-13+deb11u3) ...
Setting up bind9-host (1:9.16.27-1~deb11u1) ...
Setting up cryptsetup-initramfs (2:2.3.7-1+deb11u1) ...
update-initramfs: deferring update (trigger activated)
Setting up gpg-wks-client (2.2.27-2+deb11u1) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u1) ...
Setting up gnupg (2.2.27-2+deb11u1) ...
Setting up bind9-dnsutils (1:9.16.27-1~deb11u1) ...
Setting up dnsutils (1:9.16.27-1~deb11u1) ...
Setting up tasksel (3.68+deb11u1) ...
Setting up task-ssh-server (3.68+deb11u1) ...
Setting up tasksel-data (3.68+deb11u1) ...
Setting up task-english (3.68+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.20-2) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-13-amd64
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for php7.4-cli (7.4.28-1+deb11u1) ...
Errors were encountered while processing:
 gitlab-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

Details of package version

Provide the package version installation details
# dpkg-query -l "gitlab-*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-===========================================================
iF  gitlab-ce      14.10.0-ce.0 amd64        GitLab Community Edition (including NGINX, Postgres, Redis)

Environment details

  • Operating System: Debian Buster (11.3)
  • Installation Target, remove incorrect values:
    • VM: Hetzner Cloud
  • Installation Type, remove incorrect values:
    • Upgrade from version 14.6.3-ce.0
  • Is there any other software running on the machine: no
  • Is this a single or multiple node installation? single node
  • Resources
    • CPU: 4
    • Memory total: 16GB

Configuration details

Provide the relevant sections of `/etc/gitlab/gitlab.rb`
external_url 'https://gitlab.mydomain.cc'
mattermost_external_url 'https://chat.mydomain.cc'
nginx['redirect_http_to_https'] = true
nginx['listen_addresses'] = ["0.0.0.0", "[::]"] # listen on all IPv4 and IPv6 addresses
nginx['status']['listen_addresses'] = ["0.0.0.0", "[::]"] # listen on all IPv4 and IPv6 addresses
mattermost_nginx['listen_addresses'] = ["0.0.0.0", "[::]"] # listen on all IPv4 and IPv6 addresses
postgresql['shared_buffers'] = '100MB'
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = 'gitlab@mydomain.cc'
gitlab_rails['gitlab_email_display_name'] = 'mydomain.cc GitLab'
gitlab_rails['gitlab_email_reply_to'] = 'gitlab@mydomain.cc'
gitlab_rails['gitlab_default_can_create_group'] = false
gitlab_rails['gitlab_username_changing_enabled'] = false
gitlab_rails['manage_backup_path'] = true
gitlab_rails['backup_path'] = "/var/opt/gitlab/backups"
Edited Apr 26, 2022 by Jason Plum
Assignee Loading
Time tracking Loading