Upgrade rails fails during migrations with pgbouncer
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
During upgrade of 18.2.1 to 18.2.2, one of three rails nodes failed to upgrade.
After changing the db_port from pgbouncer to postgresql, the upgrade completes.
After the upgrade completes, the problem remains the same when running gitlab-ctl reconfigure with the pgbouncer port set.
Now I have 2 rails nodes that have the pgbouncer port set, and 1 rails node with the postgresql port.
I got the pgbouncer hint from gitlab-org/quality/performance#193 (closed)
Steps to reproduce
Have multiple rails nodes and use pgbouncer.
Upgrade from 18.2.1 to 18.2.2.
Run gitlab-ctl reconfigure
What is the current bug behavior?
1 rails node failed to upgrade, I had to change gitlab_rails['db_port'] to the postgresql port instead of the pgbouncer port, to have it complete the upgrade.
What is the expected correct behavior?
2 of 3 rails nodes were upgraded successfully
Relevant logs and/or screenshots
Upgrade output when using pgbouncer port:
[2025-08-13T21:16:19+02:00] INFO: Started Cinc Zero at chefzero://localhost:1 with repository at /opt/gitlab/embedded (One version per cookbook)
Cinc Client, version 18.3.0
Patents: https://www.chef.io/patents
Infra Phase starting
[2025-08-13T21:16:19+02:00] INFO: *** Cinc Client 18.3.0 ***
[2025-08-13T21:16:19+02:00] INFO: Platform: x86_64-linux
[2025-08-13T21:16:19+02:00] INFO: Cinc-client pid: 2326568
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/ffi-yajl-2.6.0/lib/ffi_yajl/encoder.rb:42: warning: undefining the allocator of T_DATA class FFI_Yajl::Ext::Encoder::YajlGen
[2025-08-13T21:16:21+02:00] INFO: Setting the run_list to ["recipe[gitlab-base]"] from CLI options
[2025-08-13T21:16:21+02:00] INFO: Run List is [recipe[gitlab-base]]
[2025-08-13T21:16:21+02:00] INFO: Run List expands to [gitlab-base]
[2025-08-13T21:16:21+02:00] INFO: Starting Cinc Client Run for gsdkgit1rails1.global.x.x
[2025-08-13T21:16:21+02:00] INFO: Running start handlers
[2025-08-13T21:16:21+02:00] INFO: Start handlers complete.
Resolving cookbooks for run list: ["gitlab-base"]
[2025-08-13T21:16:21+02:00] INFO: Loading cookbooks [gitlab-base@0.1.0, package@0.1.0, gitlab@0.0.1, gitlab-ee@0.0.1, runit@5.1.7, 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, gitlab-pages@0.1.0, letsencrypt@0.1.0, nginx@0.1.0, patroni@0.1.0, pgbouncer@0.1.0, spamcheck@0.1.0, acme@4.1.6, crond@0.1.0]
Synchronizing cookbooks:
- gitlab-base (0.1.0)
- package (0.1.0)
- gitlab (0.0.1)
- gitlab-ee (0.0.1)
- runit (5.1.7)
- 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)
- gitlab-pages (0.1.0)
- letsencrypt (0.1.0)
- nginx (0.1.0)
- patroni (0.1.0)
- pgbouncer (0.1.0)
- spamcheck (0.1.0)
- acme (4.1.6)
- crond (0.1.0)
Installing cookbook gem dependencies:
Compiling cookbooks...
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:2: warning: already initialized constant SELinuxDistroHelper::REDHAT_RELEASE_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:2: warning: previous definition of REDHAT_RELEASE_FILE was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:3: warning: already initialized constant SELinuxDistroHelper::OS_RELEASE_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:3: warning: previous definition of OS_RELEASE_FILE was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:4: warning: already initialized constant SecretsHelper::SECRETS_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:4: warning: previous definition of SECRETS_FILE was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:5: warning: already initialized constant SecretsHelper::SECRETS_FILE_CHEF_ATTR
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:5: warning: previous definition of SECRETS_FILE_CHEF_ATTR was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:6: warning: already initialized constant SecretsHelper::SKIP_GENERATE_SECRETS_CHEF_ATTR
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:6: warning: previous definition of SKIP_GENERATE_SECRETS_CHEF_ATTR was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/gitlab_cluster.rb:16: warning: already initialized constant GitlabCluster::CONFIG_PATH
/opt/gitlab/embedded/cookbooks/package/libraries/gitlab_cluster.rb:16: warning: previous definition of CONFIG_PATH was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/gitlab_cluster.rb:17: warning: already initialized constant GitlabCluster::JSON_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/gitlab_cluster.rb:17: warning: previous definition of JSON_FILE was here
Loading Cinc Auditor profile files:
Loading Cinc Auditor input files:
Loading Cinc Auditor waiver files:
[2025-08-13T21:16:22+02:00] INFO: Generating default secrets
[2025-08-13T21:16:23+02:00] INFO: Generating /etc/gitlab/gitlab-secrets.json file
Recipe: gitlab::default
* directory[/etc/gitlab] action create (up to date)
[2025-08-13T21:16:23+02:00] WARN: gitlab-rails does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: Selected systemd because /run/systemd/system/ exists
[2025-08-13T21:16:23+02:00] WARN: gitlab-shell does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-sshd does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: logrotate does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: logrotate does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: puma does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-rails does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-shell does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-workhorse does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-pages does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-kas does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitaly does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: mailroom does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-kas does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: puma does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: sidekiq does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:23+02:00] WARN: gitlab-workhorse does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:24+02:00] WARN: node-exporter does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:16:24+02:00] WARN: gitlab-exporter does not have a log_group or default logdir mode defined. Setting to 0700.
Converging 256 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)
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::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 (skipped due to not_if)
(up to date)
* 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[/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/embedded/service/gitlab-rails/.secret] action delete (up to date)
* file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date)
* templatesymlink[Create a database.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
(up to date)
* templatesymlink[Create a clickhouse.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/click_house.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/click_house.yml to /var/opt/gitlab/gitlab-rails/etc/click_house.yml] action create (up to date)
(up to date)
* templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
(up to date)
* templatesymlink[Create a resque.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
(up to date)
* templatesymlink[Create an override redis.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/redis.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/redis.yml to /var/opt/gitlab/gitlab-rails/etc/redis.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 delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.cache.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cache.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.queues.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.queues.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.shared_state.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.shared_state.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.trace_chunks.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.trace_chunks.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.trace_chunks.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.rate_limiting.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.rate_limiting.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.rate_limiting.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.sessions.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.sessions.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.sessions.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.repository_cache.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.repository_cache.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.repository_cache.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.cluster_rate_limiting.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.cluster_rate_limiting.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cluster_rate_limiting.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.workhorse.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.workhorse.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.workhorse.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a session_store.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/session_store.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/session_store.yml to /var/opt/gitlab/gitlab-rails/etc/session_store.yml] action create (up to date)
(up to date)
* templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date)
(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 (up to date)
* 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)
(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[2025-08-13T21:16:25+02:00] WARN: only_if block for templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] returned a string, did you mean to run a command?
* 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[2025-08-13T21:16:25+02:00] WARN: only_if block for templatesymlink[Create a gitlab_kas_secret and create a symlink to Rails root] returned a string, did you mean to run a command?
* 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/BUNDLE_GEMFILE] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/PUMA_WORKER_MAX_MEMORY] 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 (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE] action create (up to date)
(up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
* link[/var/log/gitlab/gitlab-rails/sidekiq.log] action delete (skipped due to only_if)
* file[/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql] action create (up to date)
* remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date)
* remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date)
* 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
* execute[semodule -i /opt/gitlab/embedded/selinux/gitlab-7.2.0-ssh-keygen.pp] action runDisabled
[2025-08-13T21:16:25+02:00] INFO: execute[Guard resource] ran successfully
(skipped due to not_if)
* execute[semodule -i /opt/gitlab/embedded/selinux/gitlab-10.5.0-ssh-authorized-keys.pp] action runDisabled
[2025-08-13T21:16:25+02:00] INFO: execute[Guard resource] ran successfully
(skipped due to not_if)
* execute[semodule -i /opt/gitlab/embedded/selinux/gitlab-13.5.0-gitlab-shell.pp] action runDisabled
[2025-08-13T21:16:25+02:00] INFO: execute[Guard resource] ran successfully
(skipped due to not_if)
* execute[semodule -r gitlab] action run (skipped due to only_if)
* 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 (skipped due to only_if)
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: 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/opt/gitlab/gitlab-shell] action create (up to date)
* directory[/var/opt/gitlab/gitlab-sshd] action create (up to date)
* directory[/var/log/gitlab/gitlab-shell] action create (up to date)
* directory[/var/log/gitlab/gitlab-sshd] action create (up to date)
* bash[generate gitlab-sshd host keys] action run (skipped due to only_if)
* 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)
* env_dir[/opt/gitlab/etc/gitlab-sshd/env] action create
* directory[/opt/gitlab/etc/gitlab-sshd/env] action create (up to date)
(up to date)
* service[gitlab-sshd] action nothing (skipped due to action :nothing)
* runit_service[gitlab-sshd] 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-sshd] action create (up to date)
* template[/opt/gitlab/sv/gitlab-sshd/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-sshd/log] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-sshd/log/main] action create (up to date)
* template[/opt/gitlab/sv/gitlab-sshd/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_gitlab-sshd] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/gitlab-sshd/config] action create (up to date)
* template[/opt/gitlab/sv/gitlab-sshd/log/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-sshd/env] action create (up to date)
* ruby_block[Delete unmanaged env files for gitlab-sshd service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-sshd/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-sshd/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/gitlab-sshd/control] action create (up to date)
* link[/opt/gitlab/init/gitlab-sshd] action create (up to date)
* file[/opt/gitlab/sv/gitlab-sshd/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/gitlab-sshd] action create (up to date)
* ruby_block[wait for gitlab-sshd service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/gitlab-sshd/current] action touch (skipped due to only_if)
(up to date)
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)
* file[/var/log/gitlab/logrotate/current] action touch (skipped due to only_if)
(up to date)
Recipe: redis::disable
* service[redis] action nothing (skipped due to action :nothing)
* runit_service[redis] action disable
* ruby_block[disable redis] action run (skipped due to only_if)
(up to date)
Recipe: gitaly::disable
* service[gitaly] action nothing (skipped due to action :nothing)
* runit_service[gitaly] action disable
* ruby_block[disable gitaly] action run (skipped due to only_if)
(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[2025-08-13T21:16:25+02:00] INFO: ruby_block[Link postgresql bin files to the correct version] called
- execute the ruby block Link postgresql bin files to the correct version
* template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
Recipe: postgresql::disable
* service[postgresql] action nothing (skipped due to action :nothing)
* runit_service[postgresql] action disable
* ruby_block[disable postgresql] action run (skipped due to only_if)
(up to date)
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 (up to date)
* directory[/opt/gitlab/etc/gitlab-kas] action create (up to date)
* directory[/var/log/gitlab/gitlab-kas] action create (up to date)
* version_file[Create version file for Gitlab KAS] action create
* file[/var/opt/gitlab/gitlab-kas/VERSION] action create (up to date)
(up to date)
* file[/var/opt/gitlab/gitlab-kas/authentication_secret_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/private_api_authentication_secret_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/websocket_token_secret_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/redis_password_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/redis_sentinels_password_file] action create (skipped due to only_if)
* template[/var/opt/gitlab/gitlab-kas/gitlab-kas-config.yml] action create (up to date)
* env_dir[/opt/gitlab/etc/gitlab-kas/env] action create
* directory[/opt/gitlab/etc/gitlab-kas/env] action create (up to date)
* file[/opt/gitlab/etc/gitlab-kas/env/SSL_CERT_DIR] action create (up to date)
* file[/opt/gitlab/etc/gitlab-kas/env/GODEBUG] action create (up to date)
* file[/opt/gitlab/etc/gitlab-kas/env/OWN_PRIVATE_API_URL] action create (up to date)
(up to date)
* 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 (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)
* file[/var/log/gitlab/gitlab-kas/current] action touch (skipped due to only_if)
(up to date)
Recipe: gitlab::database_migrations
* ruby_block[check remote PG version] action nothing (skipped due to action :nothing)
* rails_migration[gitlab-rails] action run[2025-08-13T21:16:25+02:00] WARN: gitlab-rails does not have a log_group or default logdir mode defined. Setting to 0700.
* bash_hide_env[migrate gitlab-rails database] action run
[execute] WARNING: you don't own a lock of type ExclusiveLock
rake aborted!
ActiveRecord::ConcurrentMigrationError:
Failed to release advisory lock
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migrations/pg_backend_pid.rb:14:in `with_advisory_lock'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:191:in `configure_database'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:158:in `configure_pg_databases'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:102:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:25:in `load'
/opt/gitlab/embedded/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Running db:migrate rake task
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1280
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1272
================================================================================
Error executing action `run` on resource 'bash_hide_env[migrate gitlab-rails database]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of "bash" ----
STDOUT: WARNING: you don't own a lock of type ExclusiveLock
rake aborted!
ActiveRecord::ConcurrentMigrationError:
Failed to release advisory lock
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migrations/pg_backend_pid.rb:14:in `with_advisory_lock'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:191:in `configure_database'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:158:in `configure_pg_databases'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:102:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:25:in `load'
/opt/gitlab/embedded/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Running db:migrate rake task
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1280
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1272
STDERR:
---- End output of "bash" ----
Ran "bash" returned 1
Cookbook Trace: (most recent call first)
----------------------------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb:20:in `block in class_from_file'
Resource Declaration:
---------------------
# In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb
20: bash_hide_env "migrate #{new_resource.name} database" do
21: code <<-EOH
22: set -e
23: log_file="#{logging_settings[:log_directory]}/#{new_resource.logfile_prefix}-$(date +%Y-%m-%d-%H-%M-%S).log"
24: umask 077
25: /opt/gitlab/bin/gitlab-rake #{new_resource.rake_task} 2>& 1 | tee ${log_file}
26: STATUS=${PIPESTATUS[0]}
27: chown #{account_helper.gitlab_user}:#{account_helper.gitlab_group} ${log_file}
28: echo $STATUS > #{new_resource.helper.db_migrate_status_file}
29: exit $STATUS
30: EOH
31:
32: environment new_resource.environment if new_resource.property_is_set?(:environment)
33: new_resource.dependent_services.each do |svc|
34: notifies :restart, svc, :immediately
35: end
36:
37: not_if { new_resource.helper.migrated? }
38: sensitive false
39: end
40: end
Compiled Resource:
------------------
# Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb:20:in `block in class_from_file'
bash_hide_env("migrate gitlab-rails database") do
action [:run]
default_guard_interpreter :default
interpreter "bash"
declared_type :bash_hide_env
cookbook_name "gitlab"
recipe_name "database_migrations"
code " set -e\n log_file=\"/var/log/gitlab/gitlab-rails/gitlab-rails-db-migrate-$(date +%Y-%m-%d-%H-%M-%S).log\"\n umask 077\n /opt/gitlab/bin/gitlab-rake gitlab:db:configure 2>& 1 | tee ${log_file}\n STATUS=${PIPESTATUS[0]}\n chown git:git ${log_file}\n echo $STATUS > /var/opt/gitlab/gitlab-rails/upgrade-status/db-migrate-43a25713fe6494d79670a63679d2207d-289574e3868\n exit $STATUS\n"
environment "*sensitive value suppressed*"
not_if { #code block }
end
System Info:
------------
chef_version=18.3.0
platform=almalinux
platform_version=9.4
ruby=ruby 3.2.5 (2024-07-26 revision 31d0f1a2e7) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/cinc-client
executable=/opt/gitlab/embedded/bin/cinc-client
================================================================================
Error executing action `run` on resource 'rails_migration[gitlab-rails]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
bash_hide_env[migrate gitlab-rails database] (gitlab::database_migrations line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" ----
STDOUT: WARNING: you don't own a lock of type ExclusiveLock
rake aborted!
ActiveRecord::ConcurrentMigrationError:
Failed to release advisory lock
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migrations/pg_backend_pid.rb:14:in `with_advisory_lock'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:191:in `configure_database'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:158:in `configure_pg_databases'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:102:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:25:in `load'
/opt/gitlab/embedded/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Running db:migrate rake task
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1280
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1272
STDERR:
---- End output of "bash" ----
Ran "bash" returned 1
Cookbook Trace: (most recent call first)
----------------------------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb:20:in `block in class_from_file'
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*"
only_if { #code block }
end
System Info:
------------
chef_version=18.3.0
platform=almalinux
platform_version=9.4
ruby=ruby 3.2.5 (2024-07-26 revision 31d0f1a2e7) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/cinc-client
executable=/opt/gitlab/embedded/bin/cinc-client
[2025-08-13T21:16:52+02:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2025-08-13T21:16:52+02:00] ERROR: Running exception 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_hide_env[migrate gitlab-rails database] (gitlab::database_migrations line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" ----
STDOUT: WARNING: you don't own a lock of type ExclusiveLock
rake aborted!
ActiveRecord::ConcurrentMigrationError:
Failed to release advisory lock
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migrations/pg_backend_pid.rb:14:in `with_advisory_lock'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:191:in `configure_database'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:158:in `configure_pg_databases'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:102:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:25:in `load'
/opt/gitlab/embedded/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Running db:migrate rake task
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1280
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1272
STDERR:
---- End output of "bash" ----
Ran "bash" returned 1
Running handlers complete
[2025-08-13T21:16:52+02:00] ERROR: Exception handlers complete
Infra Phase failed. 1 resources updated in 32 seconds
[2025-08-13T21:16:52+02:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/cinc-stacktrace.out
[2025-08-13T21:16:52+02:00] FATAL: ---------------------------------------------------------------------------------------
[2025-08-13T21:16:52+02:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2025-08-13T21:16:52+02:00] FATAL: ---------------------------------------------------------------------------------------
[2025-08-13T21:16:52+02:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: rails_migration[gitlab-rails] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: bash_hide_env[migrate gitlab-rails database] (gitlab::database_migrations line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" ----
STDOUT: WARNING: you don't own a lock of type ExclusiveLock
rake aborted!
ActiveRecord::ConcurrentMigrationError:
Failed to release advisory lock
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migrations/pg_backend_pid.rb:14:in `with_advisory_lock'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:191:in `configure_database'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:158:in `configure_pg_databases'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:102:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:25:in `load'
/opt/gitlab/embedded/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Running db:migrate rake task
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1280
main: == [advisory_lock_connection] object_id: 53140, pg_backend_pid: 1272
STDERR:
---- End output of "bash" ----
Ran "bash" returned 1
Upgrade output after setting gitlab_rails['db_port'] = '5432':
[2025-08-13T21:32:12+02:00] INFO: Started Cinc Zero at chefzero://localhost:1 with repository at /opt/gitlab/embedded (One version per cookbook)
Cinc Client, version 18.3.0
Patents: https://www.chef.io/patents
Infra Phase starting
[2025-08-13T21:32:12+02:00] INFO: *** Cinc Client 18.3.0 ***
[2025-08-13T21:32:12+02:00] INFO: Platform: x86_64-linux
[2025-08-13T21:32:12+02:00] INFO: Cinc-client pid: 2327610
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/ffi-yajl-2.6.0/lib/ffi_yajl/encoder.rb:42: warning: undefining the allocator of T_DATA class FFI_Yajl::Ext::Encoder::YajlGen
[2025-08-13T21:32:13+02:00] INFO: Setting the run_list to ["recipe[gitlab-base]"] from CLI options
[2025-08-13T21:32:13+02:00] INFO: Run List is [recipe[gitlab-base]]
[2025-08-13T21:32:13+02:00] INFO: Run List expands to [gitlab-base]
[2025-08-13T21:32:13+02:00] INFO: Starting Cinc Client Run for gsdkgit1rails1.global.x.x
[2025-08-13T21:32:13+02:00] INFO: Running start handlers
[2025-08-13T21:32:13+02:00] INFO: Start handlers complete.
Resolving cookbooks for run list: ["gitlab-base"]
[2025-08-13T21:32:13+02:00] INFO: Loading cookbooks [gitlab-base@0.1.0, package@0.1.0, gitlab@0.0.1, gitlab-ee@0.0.1, runit@5.1.7, 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, gitlab-pages@0.1.0, letsencrypt@0.1.0, nginx@0.1.0, patroni@0.1.0, pgbouncer@0.1.0, spamcheck@0.1.0, acme@4.1.6, crond@0.1.0]
Synchronizing cookbooks:
- gitlab-base (0.1.0)
- package (0.1.0)
- gitlab (0.0.1)
- logrotate (0.1.0)
- runit (5.1.7)
- redis (0.1.0)
- gitlab-ee (0.0.1)
- postgresql (0.1.0)
- monitoring (0.1.0)
- registry (0.1.0)
- mattermost (0.1.0)
- praefect (0.1.0)
- gitlab-kas (0.1.0)
- consul (0.1.0)
- gitaly (0.1.0)
- gitlab-pages (0.1.0)
- letsencrypt (0.1.0)
- crond (0.1.0)
- patroni (0.1.0)
- nginx (0.1.0)
- pgbouncer (0.1.0)
- spamcheck (0.1.0)
- acme (4.1.6)
Installing cookbook gem dependencies:
Compiling cookbooks...
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:2: warning: already initialized constant SELinuxDistroHelper::REDHAT_RELEASE_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:2: warning: previous definition of REDHAT_RELEASE_FILE was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:3: warning: already initialized constant SELinuxDistroHelper::OS_RELEASE_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:3: warning: previous definition of OS_RELEASE_FILE was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:4: warning: already initialized constant SecretsHelper::SECRETS_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:4: warning: previous definition of SECRETS_FILE was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:5: warning: already initialized constant SecretsHelper::SECRETS_FILE_CHEF_ATTR
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:5: warning: previous definition of SECRETS_FILE_CHEF_ATTR was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:6: warning: already initialized constant SecretsHelper::SKIP_GENERATE_SECRETS_CHEF_ATTR
/opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:6: warning: previous definition of SKIP_GENERATE_SECRETS_CHEF_ATTR was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/gitlab_cluster.rb:16: warning: already initialized constant GitlabCluster::CONFIG_PATH
/opt/gitlab/embedded/cookbooks/package/libraries/gitlab_cluster.rb:16: warning: previous definition of CONFIG_PATH was here
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/gitlab_cluster.rb:17: warning: already initialized constant GitlabCluster::JSON_FILE
/opt/gitlab/embedded/cookbooks/package/libraries/gitlab_cluster.rb:17: warning: previous definition of JSON_FILE was here
Loading Cinc Auditor profile files:
Loading Cinc Auditor input files:
Loading Cinc Auditor waiver files:
[2025-08-13T21:32:14+02:00] INFO: Generating default secrets
[2025-08-13T21:32:15+02:00] INFO: Generating /etc/gitlab/gitlab-secrets.json file
Recipe: gitlab::default
* directory[/etc/gitlab] action create (up to date)
[2025-08-13T21:32:15+02:00] WARN: gitlab-rails does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: Selected systemd because /run/systemd/system/ exists
[2025-08-13T21:32:15+02:00] WARN: gitlab-shell does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-sshd does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: logrotate does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: logrotate does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: puma does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-rails does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-shell does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-workhorse does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-pages does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-kas does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitaly does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: mailroom does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-kas does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: puma does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: sidekiq does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-workhorse does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: node-exporter does not have a log_group or default logdir mode defined. Setting to 0700.
[2025-08-13T21:32:15+02:00] WARN: gitlab-exporter does not have a log_group or default logdir mode defined. Setting to 0700.
Converging 256 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)
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::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 (skipped due to not_if)
(up to date)
* 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[/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/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[2025-08-13T21:32:16+02:00] INFO: template[/var/opt/gitlab/gitlab-rails/etc/database.yml] backed up to /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/gitlab-rails/etc/database.yml.chef-20250813213216.970652
[2025-08-13T21:32:16+02:00] INFO: template[/var/opt/gitlab/gitlab-rails/etc/database.yml] removed backup at /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/gitlab-rails/etc/database.yml.chef-20250613213126.157577
[2025-08-13T21:32:16+02:00] INFO: template[/var/opt/gitlab/gitlab-rails/etc/database.yml] updated file contents /var/opt/gitlab/gitlab-rails/etc/database.yml
- update content in file /var/opt/gitlab/gitlab-rails/etc/database.yml from bad311 to 538c44
- 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 clickhouse.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/click_house.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/click_house.yml to /var/opt/gitlab/gitlab-rails/etc/click_house.yml] action create (up to date)
(up to date)
* templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
(up to date)
* templatesymlink[Create a resque.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
(up to date)
* templatesymlink[Create an override redis.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/redis.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/redis.yml to /var/opt/gitlab/gitlab-rails/etc/redis.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 delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.cache.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cache.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.queues.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.queues.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.shared_state.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.shared_state.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.trace_chunks.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.trace_chunks.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.trace_chunks.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.rate_limiting.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.rate_limiting.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.rate_limiting.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.sessions.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.sessions.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.sessions.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.repository_cache.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.repository_cache.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.repository_cache.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.cluster_rate_limiting.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.cluster_rate_limiting.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cluster_rate_limiting.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a redis.workhorse.yml and create a symlink to Rails root] action delete
* file[/var/opt/gitlab/gitlab-rails/etc/redis.workhorse.yml] action delete (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/config/redis.workhorse.yml] action delete (up to date)
(up to date)
* templatesymlink[Create a session_store.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/session_store.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/session_store.yml to /var/opt/gitlab/gitlab-rails/etc/session_store.yml] action create (up to date)
(up to date)
* templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb to /var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action create (up to date)
(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 (up to date)
* 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)
(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[2025-08-13T21:32:17+02:00] WARN: only_if block for templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] returned a string, did you mean to run a command?
* 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[2025-08-13T21:32:17+02:00] WARN: only_if block for templatesymlink[Create a gitlab_kas_secret and create a symlink to Rails root] returned a string, did you mean to run a command?
* 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/BUNDLE_GEMFILE] action create (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/PUMA_WORKER_MAX_MEMORY] 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 (up to date)
* file[/opt/gitlab/etc/gitlab-rails/env/SSL_CERT_FILE] action create (up to date)
(up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
* link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
* link[/var/log/gitlab/gitlab-rails/sidekiq.log] action delete (skipped due to only_if)
* file[/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql] action create (up to date)
* remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date)
* remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date)
* 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
* execute[semodule -i /opt/gitlab/embedded/selinux/gitlab-7.2.0-ssh-keygen.pp] action runDisabled
[2025-08-13T21:32:17+02:00] INFO: execute[Guard resource] ran successfully
(skipped due to not_if)
* execute[semodule -i /opt/gitlab/embedded/selinux/gitlab-10.5.0-ssh-authorized-keys.pp] action runDisabled
[2025-08-13T21:32:17+02:00] INFO: execute[Guard resource] ran successfully
(skipped due to not_if)
* execute[semodule -i /opt/gitlab/embedded/selinux/gitlab-13.5.0-gitlab-shell.pp] action runDisabled
[2025-08-13T21:32:17+02:00] INFO: execute[Guard resource] ran successfully
(skipped due to not_if)
* execute[semodule -r gitlab] action run (skipped due to only_if)
* 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 (skipped due to only_if)
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: 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/opt/gitlab/gitlab-shell] action create (up to date)
* directory[/var/opt/gitlab/gitlab-sshd] action create (up to date)
* directory[/var/log/gitlab/gitlab-shell] action create (up to date)
* directory[/var/log/gitlab/gitlab-sshd] action create (up to date)
* bash[generate gitlab-sshd host keys] action run (skipped due to only_if)
* 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)
* env_dir[/opt/gitlab/etc/gitlab-sshd/env] action create
* directory[/opt/gitlab/etc/gitlab-sshd/env] action create (up to date)
(up to date)
* service[gitlab-sshd] action nothing (skipped due to action :nothing)
* runit_service[gitlab-sshd] 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-sshd] action create (up to date)
* template[/opt/gitlab/sv/gitlab-sshd/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-sshd/log] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-sshd/log/main] action create (up to date)
* template[/opt/gitlab/sv/gitlab-sshd/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_gitlab-sshd] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/gitlab-sshd/config] action create (up to date)
* template[/opt/gitlab/sv/gitlab-sshd/log/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-sshd/env] action create (up to date)
* ruby_block[Delete unmanaged env files for gitlab-sshd service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-sshd/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-sshd/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/gitlab-sshd/control] action create (up to date)
* link[/opt/gitlab/init/gitlab-sshd] action create (up to date)
* file[/opt/gitlab/sv/gitlab-sshd/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/gitlab-sshd] action create (up to date)
* ruby_block[wait for gitlab-sshd service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/gitlab-sshd/current] action touch (skipped due to only_if)
(up to date)
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)
* file[/var/log/gitlab/logrotate/current] action touch (skipped due to only_if)
(up to date)
Recipe: redis::disable
* service[redis] action nothing (skipped due to action :nothing)
* runit_service[redis] action disable
* ruby_block[disable redis] action run (skipped due to only_if)
(up to date)
Recipe: gitaly::disable
* service[gitaly] action nothing (skipped due to action :nothing)
* runit_service[gitaly] action disable
* ruby_block[disable gitaly] action run (skipped due to only_if)
(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[2025-08-13T21:32:17+02:00] INFO: ruby_block[Link postgresql bin files to the correct version] called
- execute the ruby block Link postgresql bin files to the correct version
* template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
Recipe: postgresql::disable
* service[postgresql] action nothing (skipped due to action :nothing)
* runit_service[postgresql] action disable
* ruby_block[disable postgresql] action run (skipped due to only_if)
(up to date)
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 (up to date)
* directory[/opt/gitlab/etc/gitlab-kas] action create (up to date)
* directory[/var/log/gitlab/gitlab-kas] action create (up to date)
* version_file[Create version file for Gitlab KAS] action create
* file[/var/opt/gitlab/gitlab-kas/VERSION] action create (up to date)
(up to date)
* file[/var/opt/gitlab/gitlab-kas/authentication_secret_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/private_api_authentication_secret_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/websocket_token_secret_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/redis_password_file] action create (up to date)
* file[/var/opt/gitlab/gitlab-kas/redis_sentinels_password_file] action create (skipped due to only_if)
* template[/var/opt/gitlab/gitlab-kas/gitlab-kas-config.yml] action create (up to date)
* env_dir[/opt/gitlab/etc/gitlab-kas/env] action create
* directory[/opt/gitlab/etc/gitlab-kas/env] action create (up to date)
* file[/opt/gitlab/etc/gitlab-kas/env/SSL_CERT_DIR] action create (up to date)
* file[/opt/gitlab/etc/gitlab-kas/env/GODEBUG] action create (up to date)
* file[/opt/gitlab/etc/gitlab-kas/env/OWN_PRIVATE_API_URL] action create (up to date)
(up to date)
* 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 (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)
* file[/var/log/gitlab/gitlab-kas/current] action touch (skipped due to only_if)
(up to date)
Recipe: gitlab::database_migrations
* ruby_block[check remote PG version] action nothing (skipped due to action :nothing)
* rails_migration[gitlab-rails] action run[2025-08-13T21:32:17+02:00] WARN: gitlab-rails does not have a log_group or default logdir mode defined. Setting to 0700.
* bash_hide_env[migrate gitlab-rails database] action run
[execute] Running db:migrate rake task
main: == [advisory_lock_connection] object_id: 53220, pg_backend_pid: 2097
main: == [advisory_lock_connection] object_id: 53220, pg_backend_pid: 2097
Running gitlab:clickhouse:migrate:main rake task
The 'main' ClickHouse database is not configured, skipping migrations
[2025-08-13T21:32:36+02:00] INFO: bash_hide_env[migrate gitlab-rails database] ran successfully
- execute "bash"
[2025-08-13T21:32:36+02:00] INFO: rails_migration[gitlab-rails] sending run action to execute[clear the gitlab-rails cache] (immediate)
Recipe: gitlab::gitlab-rails
* execute[clear the gitlab-rails cache] action run (skipped due to not_if)
[2025-08-13T21:32:36+02:00] INFO: rails_migration[gitlab-rails] sending run action to ruby_block[check remote PG version] (immediate)
Recipe: gitlab::database_migrations
* ruby_block[check remote PG version] action run[2025-08-13T21:32:38+02:00] INFO: ruby_block[check remote PG version] called
- execute the ruby block check remote PG version
Recipe: crond::disable
* service[crond] action nothing (skipped due to action :nothing)
* runit_service[crond] action disable
* ruby_block[disable crond] action run (skipped due to only_if)
(up to date)
Recipe: gitlab::puma
* directory[/opt/gitlab/var/puma] action create (up to date)
* directory[/var/log/gitlab/puma] action create (up to date)
* directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
* puma_config[/var/opt/gitlab/gitlab-rails/etc/puma.rb] action create
* directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
* template[/var/opt/gitlab/gitlab-rails/etc/puma.rb] action create (up to date)
(up to date)
* service[puma] action nothing (skipped due to action :nothing)
* runit_service[puma] 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/puma] action create (up to date)
* template[/opt/gitlab/sv/puma/run] action create (up to date)
* directory[/opt/gitlab/sv/puma/log] action create (up to date)
* directory[/opt/gitlab/sv/puma/log/main] action create (up to date)
* template[/opt/gitlab/sv/puma/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_puma] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/puma/config] action create (up to date)
* template[/opt/gitlab/sv/puma/log/run] action create (up to date)
* directory[/opt/gitlab/sv/puma/env] action create (up to date)
* ruby_block[Delete unmanaged env files for puma service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/puma/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/puma/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/puma/control] action create (up to date)
* template[/opt/gitlab/sv/puma/control/t] action create (up to date)
* template[/opt/gitlab/sv/puma/control/h] action create (up to date)
* link[/opt/gitlab/init/puma] action create (up to date)
* file[/opt/gitlab/sv/puma/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/puma] action create (up to date)
* ruby_block[wait for puma service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/puma/current] action touch (skipped due to only_if)
(up to date)
* consul_service[rails] action delete
* file[/var/opt/gitlab/consul/config.d/rails-service.json] action delete (up to date)
(up to date)
* gitlab_sysctl[net.core.somaxconn] action create
* directory[create /etc/sysctl.d for net.core.somaxconn] action create (up to date)
* file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-net.core.somaxconn.conf net.core.somaxconn] action create (up to date)
* link[/etc/sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf] action create (up to date)
* execute[load sysctl conf net.core.somaxconn] action nothing (skipped due to action :nothing)
(up to date)
Recipe: gitlab::sidekiq
* sidekiq_service[sidekiq] action enable[2025-08-13T21:32:38+02:00] WARN: sidekiq does not have a log_group or default logdir mode defined. Setting to 0700.
* directory[/var/log/gitlab/sidekiq] action create (up to date)
* service[sidekiq] action nothing (skipped due to action :nothing)
* runit_service[sidekiq] 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/sidekiq] action create (up to date)
* template[/opt/gitlab/sv/sidekiq/run] action create (up to date)
* directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
* directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
* template[/opt/gitlab/sv/sidekiq/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_sidekiq] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/sidekiq/config] action create (up to date)
* template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
* directory[/opt/gitlab/sv/sidekiq/env] action create (up to date)
* ruby_block[Delete unmanaged env files for sidekiq service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/sidekiq/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/sidekiq/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/sidekiq/control] action create (up to date)
* link[/opt/gitlab/init/sidekiq] action create (up to date)
* file[/opt/gitlab/sv/sidekiq/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/sidekiq] action create (up to date)
* ruby_block[wait for sidekiq service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/sidekiq/current] action touch (skipped due to only_if)
(up to date)
(up to date)
* consul_service[sidekiq] action delete
* file[/var/opt/gitlab/consul/config.d/sidekiq-service.json] action delete (up to date)
(up to date)
Recipe: gitlab::gitlab-workhorse
* directory[/var/opt/gitlab/gitlab-workhorse] action create (up to date)
* directory[/var/opt/gitlab/gitlab-workhorse/sockets] action create (up to date)
* directory[/var/log/gitlab/gitlab-workhorse] action create (up to date)
* directory[/opt/gitlab/etc/gitlab-workhorse] action create (up to date)
* env_dir[/opt/gitlab/etc/gitlab-workhorse/env] action create
* directory[/opt/gitlab/etc/gitlab-workhorse/env] action create (up to date)
* file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create (up to date)
* file[/opt/gitlab/etc/gitlab-workhorse/env/HOME] action create (up to date)
* file[/opt/gitlab/etc/gitlab-workhorse/env/SSL_CERT_DIR] action create (up to date)
* file[/opt/gitlab/etc/gitlab-workhorse/env/GODEBUG] action create[2025-08-13T21:32:38+02:00] INFO: file[/opt/gitlab/etc/gitlab-workhorse/env/GODEBUG] created file /opt/gitlab/etc/gitlab-workhorse/env/GODEBUG
- create new file /opt/gitlab/etc/gitlab-workhorse/env/GODEBUG[2025-08-13T21:32:38+02:00] INFO: file[/opt/gitlab/etc/gitlab-workhorse/env/GODEBUG] updated file contents /opt/gitlab/etc/gitlab-workhorse/env/GODEBUG
- update content in file /opt/gitlab/etc/gitlab-workhorse/env/GODEBUG from none to e6ab3f
- suppressed sensitive resource
* service[gitlab-workhorse] action nothing (skipped due to action :nothing)
* runit_service[gitlab-workhorse] 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-workhorse] action create (up to date)
* template[/opt/gitlab/sv/gitlab-workhorse/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date)
* template[/opt/gitlab/sv/gitlab-workhorse/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_gitlab-workhorse] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
* template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-workhorse/env] action create (up to date)
* ruby_block[Delete unmanaged env files for gitlab-workhorse service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-workhorse/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-workhorse/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/gitlab-workhorse/control] action create (up to date)
* link[/opt/gitlab/init/gitlab-workhorse] action create (up to date)
* file[/opt/gitlab/sv/gitlab-workhorse/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/gitlab-workhorse] action create (up to date)
* ruby_block[wait for gitlab-workhorse service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/gitlab-workhorse/current] action touch (skipped due to only_if)
(up to date)
* consul_service[workhorse] action delete
* file[/var/opt/gitlab/consul/config.d/workhorse-service.json] action delete (up to date)
(up to date)
* version_file[Create version file for Workhorse] action create
* file[/var/opt/gitlab/gitlab-workhorse/VERSION] action create[2025-08-13T21:32:38+02:00] INFO: file[/var/opt/gitlab/gitlab-workhorse/VERSION] backed up to /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/gitlab-workhorse/VERSION.chef-20250813213238.516213
[2025-08-13T21:32:38+02:00] INFO: file[/var/opt/gitlab/gitlab-workhorse/VERSION] removed backup at /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/gitlab-workhorse/VERSION.chef-20250522223112.683570
[2025-08-13T21:32:38+02:00] INFO: file[/var/opt/gitlab/gitlab-workhorse/VERSION] updated file contents /var/opt/gitlab/gitlab-workhorse/VERSION
- update content in file /var/opt/gitlab/gitlab-workhorse/VERSION from a9658d to 6eeb5f
--- /var/opt/gitlab/gitlab-workhorse/VERSION 2025-07-23 21:51:46.634400127 +0200
+++ /var/opt/gitlab/gitlab-workhorse/.chef-VERSION20250813-2327610-po2yg 2025-08-13 21:32:38.503932566 +0200
@@ -1 +1 @@
-gitlab-workhorse (v18.0.5-ee)-(20250722.133724)
+gitlab-workhorse (v18.2.1-ee)-(20250722.121122)
[2025-08-13T21:32:38+02:00] INFO: version_file[Create version file for Workhorse] not queuing delayed action restart on runit_service[gitlab-workhorse] (delayed), as it's already been queued
* template[/var/opt/gitlab/gitlab-workhorse/config.toml] action create (up to date)
Recipe: gitlab::mailroom_disable
* service[mailroom] action nothing (skipped due to action :nothing)
* runit_service[mailroom] action disable
* ruby_block[disable mailroom] action run (skipped due to only_if)
(up to date)
Recipe: gitlab::nginx
* directory[/var/opt/gitlab/nginx] action create (up to date)
* directory[/var/opt/gitlab/nginx/conf] action create (up to date)
* directory[/var/log/gitlab/nginx] action create (up to date)
* link[/var/opt/gitlab/nginx/logs] action create (up to date)
* template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] action create[2025-08-13T21:32:38+02:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] backed up to /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/nginx/conf/gitlab-http.conf.chef-20250813213238.532297
[2025-08-13T21:32:38+02:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] removed backup at /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/nginx/conf/gitlab-http.conf.chef-20240821200408.294092
[2025-08-13T21:32:38+02:00] INFO: template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] updated file contents /var/opt/gitlab/nginx/conf/gitlab-http.conf
- update content in file /var/opt/gitlab/nginx/conf/gitlab-http.conf from 625a8c to 645638
--- /var/opt/gitlab/nginx/conf/gitlab-http.conf 2025-06-17 18:02:22.654577221 +0200
+++ /var/opt/gitlab/nginx/conf/.chef-gitlab-http20250813-2327610-p6yy45.conf 2025-08-13 21:32:38.529931976 +0200
@@ -126,7 +126,6 @@
}
location /assets {
- add_header X-Content-Type-Options nosniff;
proxy_cache gitlab;
proxy_pass http://gitlab-workhorse;
}
* template[/var/opt/gitlab/nginx/conf/gitlab-smartcard-http.conf] action delete (up to date)
* template[/var/opt/gitlab/nginx/conf/gitlab-health.conf] action create (up to date)
* template[/var/opt/gitlab/nginx/conf/gitlab-pages.conf] action delete (up to date)
* template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] action delete (up to date)
* template[/var/opt/gitlab/nginx/conf/gitlab-mattermost-http.conf] action delete (up to date)
* template[/var/opt/gitlab/nginx/conf/gitlab-kas.conf] action delete (up to date)
* template[/var/opt/gitlab/nginx/conf/nginx-status.conf] action create (up to date)
* consul_service[nginx] action delete
* file[/var/opt/gitlab/consul/config.d/nginx-service.json] action delete (up to date)
(up to date)
* template[/var/opt/gitlab/nginx/conf/nginx.conf] action create (up to date)
Recipe: nginx::enable
* service[nginx] action nothing (skipped due to action :nothing)
* runit_service[nginx] 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/nginx] action create (up to date)
* template[/opt/gitlab/sv/nginx/run] action create (up to date)
* directory[/opt/gitlab/sv/nginx/log] action create (up to date)
* directory[/opt/gitlab/sv/nginx/log/main] action create (up to date)
* template[/opt/gitlab/sv/nginx/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_nginx] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/nginx/config] action create (up to date)
* template[/opt/gitlab/sv/nginx/log/run] action create (up to date)
* directory[/opt/gitlab/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/nginx/control] action create (up to date)
* link[/opt/gitlab/init/nginx] action create (up to date)
* file[/opt/gitlab/sv/nginx/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/nginx/current] action touch (skipped due to only_if)
(up to date)
* version_file[Create version file for NGINX] action create
* file[/var/opt/gitlab/nginx/VERSION] action create[2025-08-13T21:32:38+02:00] INFO: file[/var/opt/gitlab/nginx/VERSION] backed up to /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/nginx/VERSION.chef-20250813213238.592641
[2025-08-13T21:32:38+02:00] INFO: file[/var/opt/gitlab/nginx/VERSION] updated file contents /var/opt/gitlab/nginx/VERSION
- update content in file /var/opt/gitlab/nginx/VERSION from 94d323 to fe3277
--- /var/opt/gitlab/nginx/VERSION 2025-02-27 23:38:33.952870783 +0100
+++ /var/opt/gitlab/nginx/.chef-VERSION20250813-2327610-108bnl 2025-08-13 21:32:38.590930592 +0200
@@ -1 +1 @@
-nginx version: nginx/1.27.4
+nginx version: nginx/1.28.0
* execute[reload nginx] action nothing (skipped due to action :nothing)
Recipe: gitlab::remote-syslog_disable
* service[remote-syslog] action nothing (skipped due to action :nothing)
* runit_service[remote-syslog] action disable
* ruby_block[disable remote-syslog] action run (skipped due to only_if)
(up to date)
Recipe: gitlab::storage-check_disable
* service[storage-check] action nothing (skipped due to action :nothing)
* runit_service[storage-check] action disable
* ruby_block[disable storage-check] action run (skipped due to only_if)
(up to date)
Recipe: gitlab-pages::disable
* service[gitlab-pages] action nothing (skipped due to action :nothing)
* runit_service[gitlab-pages] action disable
* ruby_block[disable gitlab-pages] action run (skipped due to only_if)
(up to date)
Recipe: registry::disable
* service[registry] action nothing (skipped due to action :nothing)
* runit_service[registry] action disable
* ruby_block[disable registry] action run (skipped due to only_if)
(up to date)
Recipe: mattermost::disable
* service[mattermost] action nothing (skipped due to action :nothing)
* runit_service[mattermost] action disable
* ruby_block[disable mattermost] action run (skipped due to only_if)
(up to date)
Recipe: letsencrypt::disable
* crond_job[letsencrypt-renew] action delete
* file[/var/opt/gitlab/crond/letsencrypt-renew] action delete (up to date)
(up to date)
Recipe: gitlab::gitlab-healthcheck
* template[/opt/gitlab/etc/gitlab-healthcheck-rc] action create (up to date)
Recipe: monitoring::pgbouncer-exporter_disable
* service[pgbouncer-exporter] action nothing (skipped due to action :nothing)
* runit_service[pgbouncer-exporter] action disable
* ruby_block[disable pgbouncer-exporter] action run (skipped due to only_if)
(up to date)
Recipe: monitoring::user
* account[Prometheus user and group] action create
* group[Prometheus user and group] action create (up to date)
* linux_user[Prometheus user and group] action create (up to date)
(up to date)
Recipe: monitoring::node-exporter
* directory[/var/log/gitlab/node-exporter] action create (up to date)
* directory[/opt/gitlab/etc/node-exporter/env] action create (up to date)
* env_dir[/opt/gitlab/etc/node-exporter/env] action create
* directory[/opt/gitlab/etc/node-exporter/env] action create (up to date)
* file[/opt/gitlab/etc/node-exporter/env/SSL_CERT_DIR] action create (up to date)
* file[/opt/gitlab/etc/node-exporter/env/GODEBUG] action create[2025-08-13T21:32:38+02:00] INFO: file[/opt/gitlab/etc/node-exporter/env/GODEBUG] created file /opt/gitlab/etc/node-exporter/env/GODEBUG
- create new file /opt/gitlab/etc/node-exporter/env/GODEBUG[2025-08-13T21:32:38+02:00] INFO: file[/opt/gitlab/etc/node-exporter/env/GODEBUG] updated file contents /opt/gitlab/etc/node-exporter/env/GODEBUG
- update content in file /opt/gitlab/etc/node-exporter/env/GODEBUG from none to e6ab3f
- suppressed sensitive resource
* directory[/var/opt/gitlab/node-exporter/textfile_collector] action create (up to date)
* service[node-exporter] action nothing (skipped due to action :nothing)
* runit_service[node-exporter] 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/node-exporter] action create (up to date)
* template[/opt/gitlab/sv/node-exporter/run] action create (up to date)
* directory[/opt/gitlab/sv/node-exporter/log] action create (up to date)
* directory[/opt/gitlab/sv/node-exporter/log/main] action create (up to date)
* template[/opt/gitlab/sv/node-exporter/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_node-exporter] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/node-exporter/config] action create (up to date)
* template[/opt/gitlab/sv/node-exporter/log/run] action create (up to date)
* directory[/opt/gitlab/sv/node-exporter/env] action create (up to date)
* ruby_block[Delete unmanaged env files for node-exporter service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/node-exporter/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/node-exporter/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/node-exporter/control] action create (up to date)
* link[/opt/gitlab/init/node-exporter] action create (up to date)
* file[/opt/gitlab/sv/node-exporter/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/node-exporter] action create (up to date)
* ruby_block[wait for node-exporter service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/node-exporter/current] action touch (skipped due to only_if)
(up to date)
* consul_service[node-exporter] action delete
* file[/var/opt/gitlab/consul/config.d/node-exporter-service.json] action delete (up to date)
(up to date)
Recipe: monitoring::gitlab-exporter
* directory[/var/opt/gitlab/gitlab-exporter] action create (up to date)
* directory[/var/log/gitlab/gitlab-exporter] action create (up to date)
* env_dir[/opt/gitlab/etc/gitlab-exporter/env] action create
* directory[/opt/gitlab/etc/gitlab-exporter/env] action create (up to date)
* file[/opt/gitlab/etc/gitlab-exporter/env/MALLOC_CONF] action create (up to date)
* file[/opt/gitlab/etc/gitlab-exporter/env/RUBY_GC_HEAP_INIT_SLOTS] action create (up to date)
* file[/opt/gitlab/etc/gitlab-exporter/env/RUBY_GC_HEAP_FREE_SLOTS_MIN_RATIO] action create (up to date)
* file[/opt/gitlab/etc/gitlab-exporter/env/RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO] action create (up to date)
* file[/opt/gitlab/etc/gitlab-exporter/env/SSL_CERT_DIR] action create (up to date)
* file[/opt/gitlab/etc/gitlab-exporter/env/SSL_CERT_FILE] action create (up to date)
(up to date)
* template[/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml] action create[2025-08-13T21:32:38+02:00] INFO: template[/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml] backed up to /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml.chef-20250813213238.658472
[2025-08-13T21:32:38+02:00] INFO: template[/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml] removed backup at /opt/gitlab/embedded/cookbooks/cache/backup/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml.chef-20250613213151.758193
[2025-08-13T21:32:38+02:00] INFO: template[/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml] updated file contents /var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml
- update content in file /var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml from 9c1182 to 21d081
- suppressed sensitive resource
* version_file[Create version file for GitLab-Exporter] action create
* file[/var/opt/gitlab/gitlab-exporter/RUBY_VERSION] action create (up to date)
(up to date)
* service[gitlab-exporter] action nothing (skipped due to action :nothing)
* runit_service[gitlab-exporter] 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-exporter] action create (up to date)
* template[/opt/gitlab/sv/gitlab-exporter/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-exporter/log] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-exporter/log/main] action create (up to date)
* template[/opt/gitlab/sv/gitlab-exporter/log/config] action create (up to date)
* ruby_block[verify_chown_persisted_on_gitlab-exporter] action nothing (skipped due to action :nothing)
* link[/var/log/gitlab/gitlab-exporter/config] action create (up to date)
* template[/opt/gitlab/sv/gitlab-exporter/log/run] action create (up to date)
* directory[/opt/gitlab/sv/gitlab-exporter/env] action create (up to date)
* ruby_block[Delete unmanaged env files for gitlab-exporter service] action run (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-exporter/check] action create (skipped due to only_if)
* template[/opt/gitlab/sv/gitlab-exporter/finish] action create (skipped due to only_if)
* directory[/opt/gitlab/sv/gitlab-exporter/control] action create (up to date)
* link[/opt/gitlab/init/gitlab-exporter] action create (up to date)
* file[/opt/gitlab/sv/gitlab-exporter/down] action nothing (skipped due to action :nothing)
* directory[/opt/gitlab/service] action create (up to date)
* link[/opt/gitlab/service/gitlab-exporter] action create (up to date)
* ruby_block[wait for gitlab-exporter service socket] action run (skipped due to not_if)
* file[/var/log/gitlab/gitlab-exporter/current] action touch (skipped due to only_if)
(up to date)
* consul_service[gitlab-exporter] action delete
* file[/var/opt/gitlab/consul/config.d/gitlab-exporter-service.json] action delete (up to date)
(up to date)
Recipe: monitoring::redis-exporter_disable
* service[redis-exporter] action nothing (skipped due to action :nothing)
* runit_service[redis-exporter] action disable
* ruby_block[disable redis-exporter] action run (skipped due to only_if)
(up to date)
* consul_service[redis-exporter] action delete
* file[/var/opt/gitlab/consul/config.d/redis-exporer-service.json] action delete (up to date)
(up to date)
Recipe: monitoring::prometheus_disable
* service[prometheus] action nothing (skipped due to action :nothing)
* runit_service[prometheus] action disable
* ruby_block[disable prometheus] action run (skipped due to only_if)
(up to date)
* consul_service[prometheus] action delete
* file[/var/opt/gitlab/consul/config.d/prometheus-service.json] action delete (up to date)
(up to date)
Recipe: monitoring::alertmanager_disable
* service[alertmanager] action nothing (skipped due to action :nothing)
* runit_service[alertmanager] action disable
* ruby_block[disable alertmanager] action run (skipped due to only_if)
(up to date)
Recipe: monitoring::postgres-exporter_disable
* service[postgres-exporter] action nothing (skipped due to action :nothing)
* runit_service[postgres-exporter] action disable
* ruby_block[disable postgres-exporter] action run (skipped due to only_if)
(up to date)
* consul_service[postgres-exporter] action delete
* file[/var/opt/gitlab/consul/config.d/postgres-exporter-service.json] action delete (up to date)
(up to date)
Recipe: gitlab::gitlab-backup-cli_disable
* template[/opt/gitlab/etc/gitlab-backup-cli-config.yml] action delete (up to date)
* account[GitLab Backup User] action remove
* linux_user[gitlab-backup] action remove (up to date)
(up to date)
* group[git] action manage (up to date)
* group[gitlab-psql] action manage (up to date)
* group[registry] action manage (up to date)
Recipe: gitlab::database_reindexing_disable
* crond_job[database-reindexing] action delete
* file[/var/opt/gitlab/crond/database-reindexing] action delete (up to date)
(up to date)
Recipe: gitlab-ee::sentinel_disable
* sentinel_service[redis] action disable
* service[sentinel] action nothing (skipped due to action :nothing)
* runit_service[sentinel] action disable
* ruby_block[disable sentinel] action run (skipped due to only_if)
(up to date)
* file[/var/opt/gitlab/sentinel/sentinel.conf] action delete (up to date)
* directory[/var/opt/gitlab/sentinel] action delete (up to date)
(up to date)
Recipe: gitlab-ee::geo-postgresql_disable
* service[geo-postgresql] action nothing (skipped due to action :nothing)
* runit_service[geo-postgresql] action disable
* ruby_block[disable geo-postgresql] action run (skipped due to only_if)
(up to date)
Recipe: gitlab-ee::geo-logcursor_disable
* service[geo-logcursor] action nothing (skipped due to action :nothing)
* runit_service[geo-logcursor] action disable
* ruby_block[disable geo-logcursor] action run (skipped due to only_if)
(up to date)
Recipe: consul::disable_daemon
* service[consul] action nothing (skipped due to action :nothing)
* runit_service[consul] action disable
* ruby_block[disable consul] action run (skipped due to only_if)
(up to date)
Recipe: pgbouncer::disable
* service[pgbouncer] action nothing (skipped due to action :nothing)
* runit_service[pgbouncer] action disable
* ruby_block[disable pgbouncer] action run (skipped due to only_if)
(up to date)
Recipe: patroni::disable
* service[patroni] action nothing (skipped due to action :nothing)
* runit_service[patroni] action disable
* ruby_block[disable patroni] action run (skipped due to only_if)
(up to date)
Recipe: spamcheck::disable
* service[spamcheck] action nothing (skipped due to action :nothing)
* runit_service[spamcheck] action disable
* ruby_block[disable spamcheck] action run (skipped due to only_if)
(up to date)
* service[spam-classifier] action nothing (skipped due to action :nothing)
* runit_service[spam-classifier] action disable
* ruby_block[disable spam-classifier] action run (skipped due to only_if)
(up to date)
Recipe: gitlab-ee::geo-secondary_disable
* templatesymlink[Removes the geo database settings from database.yml and create a symlink to Rails root] action create
* template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
(up to date)
Recipe: gitlab-ee::suggested_reviewers
* templatesymlink[Create a gitlab_suggested_reviewers_secret and create a symlink to Rails root] action create[2025-08-13T21:32:38+02:00] WARN: only_if block for templatesymlink[Create a gitlab_suggested_reviewers_secret and create a symlink to Rails root] returned a string, did you mean to run a command?
* template[/var/opt/gitlab/gitlab-rails/etc/gitlab_suggested_reviewers_secret] action create (up to date)
* link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_suggested_reviewers_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_suggested_reviewers_secret] action create (up to date)
(up to date)
[2025-08-13T21:32:38+02:00] INFO: env_dir[/opt/gitlab/etc/gitlab-workhorse/env] sending restart action to runit_service[gitlab-workhorse] (delayed)
Recipe: gitlab::gitlab-workhorse
* runit_service[gitlab-workhorse] action restart (up to date)
[2025-08-13T21:32:39+02:00] INFO: version_file[Create version file for NGINX] sending restart action to runit_service[nginx] (delayed)
Recipe: nginx::enable
* runit_service[nginx] action restart (up to date)
[2025-08-13T21:32:39+02:00] INFO: env_dir[/opt/gitlab/etc/node-exporter/env] sending restart action to runit_service[node-exporter] (delayed)
Recipe: monitoring::node-exporter
* runit_service[node-exporter] action restart (up to date)
[2025-08-13T21:32:40+02:00] INFO: template[/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml] sending restart action to runit_service[gitlab-exporter] (delayed)
Recipe: monitoring::gitlab-exporter
* runit_service[gitlab-exporter] action restart (up to date)
[2025-08-13T21:32:40+02:00] INFO: Cinc Client Run complete in 27.010779606 seconds
Running handlers:
[2025-08-13T21:32:40+02:00] INFO: Running report handlers
Running handlers complete
[2025-08-13T21:32:40+02:00] INFO: Report handlers complete
Infra Phase complete, 16/626 resources updated in 28 seconds
gitlab Reconfigured!
Results of GitLab environment info
System information System: Proxy: no Current User: git Using RVM: no Ruby Version: 3.2.5 Gem Version: 3.6.9 Bundler Version:2.6.5 Rake Version: 13.0.6 Redis Version: 7.2.9 Sidekiq Version:7.3.9 Go Version: unknownGitLab information Version: 18.2.2-ee Revision: bef324d0853 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 16.8 URL: https://gitlab.x.x.x HTTP Clone URL: https://gitlab.x.x.x/some-group/some-project.git SSH Clone URL: git@gitlab.x.x.x:some-group/some-project.git Elasticsearch: yes Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: saml
GitLab Shell Version: 14.43.0 Repository storages:
- default: tcp://10.192.64.6:8075
- gitaly2: tcp://10.192.64.11:8075 GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Gitaly
- default Address: tcp://10.192.64.6:8075
- default Version: 18.2.2
- default Git Version: 2.50.1.gl1
- gitaly2 Address: tcp://10.192.64.11:8075
- gitaly2 Version: 18.2.2
- gitaly2 Git Version: 2.50.1.gl1
Results of GitLab application Check
Checking GitLab subtasks ...Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 14.43.0 ? ... OK (14.43.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK gitaly2 ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes (cluster/worker) ... 1/2
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Database config exists? ... yes Tables are truncated? ... skipped All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Cable config exists? ... yes Resque config exists? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units) Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units) Projects have namespace: ... ... Redis version >= 6.2.14? ... yes Ruby version >= 3.0.6 ? ... yes (3.2.5) Git user has default SSH configuration? ... yes Active users: ... 1038 Is authorized keys file accessible? ... skipped (authorized keys not enabled) GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes Elasticsearch version 7.x-9.x or OpenSearch version 1.x-3.x ... yes (elasticsearch 8.15.1) All migrations must be finished before doing a major upgrade ... yes
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished