It is very hard to follow upgrade path :
12.0.12 => 12.1.17 => 12.10.14 => 13.0.14 => 13.1.11 => 13.8.8 => 13.12.15 => 14.0.12 => 14.3.6 => 14.9.5 => 14.10.5 => 15.0.5 => 15.4.6 => 15.9.1
When it gets to gitlab-ce-13.12.15 version it shows to me a message to migrate to hash.
gitlab-rake gitlab:storage:migrate_to_hashed
Then I command touch /etc/gitlab/skip-unmigrated-data-check
yum install -y gitlab-ce-14.0.12
gitlab-ctl reconfigure
gitlab-ctl restart
When I install yum install -y gitlab-ce-14.3.6 it crashes.
"
Running transaction
Malformed configuration JSON file found at /opt/gitlab/embedded/nodes/gitlab3.csivix.com.br.json.
This usually happens when your last run of gitlab-ctl reconfigure
didnât complete successfully.
This file is used to check if any of the unsupported configurations are enabled,
and hence require a working reconfigure before upgrading.
Please run sudo gitlab-ctl reconfigure
to fix it and try again.
error: %pre(gitlab-ce-14.10.5-ce.0.el7.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package gitlab-ce-14.10.5-ce.0.el7.x86_64
gitlab-ce-14.9.5-ce.0.el7.x86_64 was supposed to be removed but is not!
Verifying : gitlab-ce-14.9.5-ce.0.el7.x86_64 1/2
Verifying : gitlab-ce-14.10.5-ce.0.el7.x86_64 2/2
Failed:
gitlab-ce.x86_64 0:14.9.5-ce.0.el7 gitlab-ce.x86_64 0:14.10.5-ce.0.el7
"
I issued gitlab-ctl reconfigure and I got error
================================================================================
Error executing action `run` on resource 'bash[migrate gitlab-rails database]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20230302-12514-17hj9jw" ----
STDOUT: rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Expected batched background migration for the given configuration to be marked as 'finished', but it is 'active': {:job_class_name=>"CopyColumnUsingBackgroundMigrationJob", :table_name=>"ci_stages", :column_name=>"id", :job_arguments=>[["id"], ["id_convert_to_bigint"]]}
Caused by:
Expected batched background migration for the given configuration to be marked as âfinishedâ, but it is âactiveâ: {:job_class_name=>âCopyColumnUsingBackgroundMigrationJobâ, :table_name=>âci_stagesâ, :column_name=>âidâ, :job_arguments=>[[âidâ], [âid_convert_to_bigintâ]]}
I cannot end my upgrade. I nedd some help to go on it.