bash[migrate gitlab-rails database] (gitlab::database_migrations line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
Summary
Upgrade error from 13.7.4 to 13.8
Steps to reproduce
yum update
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs
Relevant logs
The result was "gitlab-ctl reconfigure":
System Info: ------------ chef_version=15.14.0 platform=centos platform_version=7.9.2009 ruby=ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/opt/gitlab/embedded/bin/chef-client
Running handlers: There was an error running gitlab-ctl reconfigure:
bash[migrate gitlab-rails database] (gitlab::database_migrations line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of "bash" "/tmp/chef-script20210123-16309-zq2veg" ---- STDOUT: == 20201112215132 SwapPartitionedAuditEvents: migrating ======================= -- execute("DROP TRIGGER IF EXISTS table_sync_trigger_ee39a25f9d ON audit_events") -> 0.0011s -- execute("DROP FUNCTION IF EXISTS table_sync_function_2be879775d()") -> 0.0007s -- replace_table("ALTER TABLE "audit_events" ALTER COLUMN "id" DROP DEFAULT;
ALTER TABLE "audit_events_part_5fc467ac26" ALTER COLUMN "id" SET DEFAULT nextval('"audit_events_id_seq"'::regclass);
ALTER SEQUENCE "audit_events_id_seq" OWNED BY "audit_events_part_5fc467ac26"."id";
ALTER TABLE "audit_events" RENAME TO "audit_events_archived";
ALTER TABLE "audit_events_archived" RENAME CONSTRAINT "audit_events_pkey" TO "audit_events_archived_pkey";
ALTER TABLE "audit_events_part_5fc467ac26" RENAME TO "audit_events";
ALTER TABLE "audit_events" RENAME CONSTRAINT "audit_events_part_5fc467ac26_pkey" TO "audit_events_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_000000" RENAME CONSTRAINT "audit_events_part_5fc467ac26_000000_pkey" TO "audit_events_000000_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_000000" RENAME TO "audit_events_000000";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201803" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201803_pkey" TO "audit_events_201803_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201803" RENAME TO "audit_events_201803";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201804" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201804_pkey" TO "audit_events_201804_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201804" RENAME TO "audit_events_201804";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201805" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201805_pkey" TO "audit_events_201805_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201805" RENAME TO "audit_events_201805";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201806" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201806_pkey" TO "audit_events_201806_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201806" RENAME TO "audit_events_201806";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201807" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201807_pkey" TO "audit_events_201807_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201807" RENAME TO "audit_events_201807";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201808" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201808_pkey" TO "audit_events_201808_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201808" RENAME TO "audit_events_201808";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201809" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201809_pkey" TO "audit_events_201809_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201809" RENAME TO "audit_events_201809";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201810" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201810_pkey" TO "audit_events_201810_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201810" RENAME TO "audit_events_201810";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201811" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201811_pkey" TO "audit_events_201811_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201811" RENAME TO "audit_events_201811";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201812" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201812_pkey" TO "audit_events_201812_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201812" RENAME TO "audit_events_201812";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201901" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201901_pkey" TO "audit_events_201901_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201901" RENAME TO "audit_events_201901";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201902" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201902_pkey" TO "audit_events_201902_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201902" RENAME TO "audit_events_201902";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201903" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201903_pkey" TO "audit_events_201903_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201903" RENAME TO "audit_events_201903";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201904" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201904_pkey" TO "audit_events_201904_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201904" RENAME TO "audit_events_201904";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201905" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201905_pkey" TO "audit_events_201905_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201905" RENAME TO "audit_events_201905";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201906" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201906_pkey" TO "audit_events_201906_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201906" RENAME TO "audit_events_201906";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201907" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201907_pkey" TO "audit_events_201907_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201907" RENAME TO "audit_events_201907";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201908" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201908_pkey" TO "audit_events_201908_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201908" RENAME TO "audit_events_201908";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201909" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201909_pkey" TO "audit_events_201909_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201909" RENAME TO "audit_events_201909";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201910" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201910_pkey" TO "audit_events_201910_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201910" RENAME TO "audit_events_201910";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201911" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201911_pkey" TO "audit_events_201911_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201911" RENAME TO "audit_events_201911";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201912" RENAME CONSTRAINT "audit_events_part_5fc467ac26_201912_pkey" TO "audit_events_201912_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_201912" RENAME TO "audit_events_201912";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202001" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202001_pkey" TO "audit_events_202001_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202001" RENAME TO "audit_events_202001";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202002" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202002_pkey" TO "audit_events_202002_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202002" RENAME TO "audit_events_202002";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202003" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202003_pkey" TO "audit_events_202003_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202003" RENAME TO "audit_events_202003";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202004" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202004_pkey" TO "audit_events_202004_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202004" RENAME TO "audit_events_202004";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202005" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202005_pkey" TO "audit_events_202005_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202005" RENAME TO "audit_events_202005";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202006" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202006_pkey" TO "audit_events_202006_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202006" RENAME TO "audit_events_202006";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202007" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202007_pkey" TO "audit_events_202007_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202007" RENAME TO "audit_events_202007";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202008" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202008_pkey" TO "audit_events_202008_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202008" RENAME TO "audit_events_202008";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202009" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202009_pkey" TO "audit_events_202009_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202009" RENAME TO "audit_events_202009";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202010" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202010_pkey" TO "audit_events_202010_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202010" RENAME TO "audit_events_202010";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202011" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202011_pkey" TO "audit_events_202011_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202011" RENAME TO "audit_events_202011";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202012" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202012_pkey" TO "audit_events_202012_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202012" RENAME TO "audit_events_202012";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202101" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202101_pkey" TO "audit_events_202101_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202101" RENAME TO "audit_events_202101";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202102" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202102_pkey" TO "audit_events_202102_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202102" RENAME TO "audit_events_202102";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202103" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202103_pkey" TO "audit_events_202103_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202103" RENAME TO "audit_events_202103";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202104" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202104_pkey" TO "audit_events_202104_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202104" RENAME TO "audit_events_202104";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202105" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202105_pkey" TO "audit_events_202105_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202105" RENAME TO "audit_events_202105";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202106" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202106_pkey" TO "audit_events_202106_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202106" RENAME TO "audit_events_202106";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202107" RENAME CONSTRAINT "audit_events_part_5fc467ac26_202107_pkey" TO "audit_events_202107_pkey";
ALTER TABLE "gitlab_partitions_dynamic"."audit_events_part_5fc467ac26_202107" RENAME TO "audit_events_202107"")rake aborted! StandardError: An error has occurred, this and all later migrations canceled:
PG::ObjectNotInPrerequisiteState: ERROR: sequence must have same owner as table it is linked to /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning/replace_table.rb:32:in
execute' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning/replace_table.rb:27:in
perform' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:425:inblock in replace_table' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:121:in
run_block' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:130:inblock in run_block_with_transaction' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:125:in
run_block_with_transaction' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:95:inrun' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:394:in
with_lock_retries' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:422:inreplace_table' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:206:in
replace_with_partitioned_table' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20201112215132_swap_partitioned_audit_events.rb:9:inup' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:59:in
block (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:23:inload' /opt/gitlab/embedded/bin/bundle:23:in
'Caused by: ActiveRecord::StatementInvalid: PG::ObjectNotInPrerequisiteState: ERROR: sequence must have same owner as table it is linked to /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning/replace_table.rb:32:in
execute' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning/replace_table.rb:27:in
perform' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:425:inblock in replace_table' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:121:in
run_block' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:130:inblock in run_block_with_transaction' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:125:in
run_block_with_transaction' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:95:inrun' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:394:in
with_lock_retries' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:422:inreplace_table' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:206:in
replace_with_partitioned_table' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20201112215132_swap_partitioned_audit_events.rb:9:inup' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:59:in
block (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:23:inload' /opt/gitlab/embedded/bin/bundle:23:in
'Caused by: PG::ObjectNotInPrerequisiteState: ERROR: sequence must have same owner as table it is linked to /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning/replace_table.rb:32:in
execute' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning/replace_table.rb:27:in
perform' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:425:inblock in replace_table' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:121:in
run_block' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:130:inblock in run_block_with_transaction' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:125:in
run_block_with_transaction' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/with_lock_retries.rb:95:inrun' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/migration_helpers.rb:394:in
with_lock_retries' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:422:inreplace_table' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/database/partitioning_migration_helpers/table_management_helpers.rb:206:in
replace_with_partitioned_table' /opt/gitlab/embedded/service/gitlab-rails/db/migrate/20201112215132_swap_partitioned_audit_events.rb:9:inup' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:59:in
block (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:23:inload' /opt/gitlab/embedded/bin/bundle:23:in
' Tasks: TOP => db:migrate (See full trace by running task with --trace) STDERR: ---- End output of "bash" "/tmp/chef-script20210123-16309-zq2veg" ---- Ran "bash" "/tmp/chef-script20210123-16309-zq2veg" returned 1Deprecations:
- gitlab_rails['extra_piwik_site_id'] has been deprecated since 13.7 and will be removed in 14.0. Piwik config keys have been renamed to reflect the rebranding to Matomo. Please update gitlab_rails['extra_piwik_site_id'] to gitlab_rails['extra_matomo_site_id'].
- gitlab_rails['extra_piwik_url'] has been deprecated since 13.7 and will be removed in 14.0. Piwik config keys have been renamed to reflect the rebranding to Matomo. Please update gitlab_rails['extra_piwik_url'] to gitlab_rails['extra_matomo_url'].
Running handlers complete Chef Infra Client failed. 1 resources updated in 30 seconds
Deprecations:
- gitlab_rails['extra_piwik_site_id'] has been deprecated since 13.7 and will be removed in 14.0. Piwik config keys have been renamed to reflect the rebranding to Matomo. Please update gitlab_rails['extra_piwik_site_id'] to gitlab_rails['extra_matomo_site_id'].
- gitlab_rails['extra_piwik_url'] has been deprecated since 13.7 and will be removed in 14.0. Piwik config keys have been renamed to reflect the rebranding to Matomo. Please update gitlab_rails['extra_piwik_url'] to gitlab_rails['extra_matomo_url'].