HI Friends,
Trying to upgrade gitlab-ce from 14.1.8 to latest. As per the path I am trying to upgrade to 14.3.6 but migartion fails on push_event_payloads foreign-key problem. Error is as below
"rails_migration[gitlab-rails] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[migrate gitlab-rails database] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/resources/rails_migration.rb line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received â1â
---- Begin output of âbashâ â/tmp/chef-script20230715-114919-cozao1â ----
STDOUT: rake aborted!
StandardError: An error has occurred, all later migrations canceled:
PG::ForeignKeyViolation: ERROR: insert or update on table âpush_event_payloadsâ violates foreign key constraint âfk_36c74129da_tmpâ
Attached is SS for ref. Please help me to check this one.
Please helpâŚ
Regards
Rajesh