Upgrade from 17.11.2 to 18.0 failed

Problem to solve

Upgrade failed because:

Running scriptlet: gitlab-ce-18.0.0-ce.0.el9.x86_64 1/2

Error in PREIN scriptlet in rpm package gitlab-ce

Verifying : gitlab-ce-18.0.0-ce.0.el9.x86_64 1/2

Verifying : gitlab-ce-17.11.2-ce.0.el9.x86_64 2/2

Workaround with marking migration complete didn't help.

Configuration

I have following configration item in /etc/gitlab/gitlab.rb (self-hosted Gitlab instance):

gitaly['configuration'] = { storage: [ { name: 'default', path: '/var/opt/gitlab/git-data/repositories', }, ], }

Steps to reproduce

dnf update

Versions

Self-hosted 17.11.2

CentOS 9 Stream

Edited by Maksym Domin