Upgrade from 16.4.1 to 16.5.0 migration errror

I try to upgrade from 16.4.1 ti 16.5 and I’ve got this error :
PG::DuplicateColumn: ERROR: column “id_convert_to_bigint” of relation “sent_notifications” already exists

Thanks for your help

gitlab-rake gitlab:env:info

System information

System: Debian 11

Current User: git

Using RVM: no

Ruby Version: 3.0.6p216

Gem Version: 3.4.19

Bundler Version:2.4.20

Rake Version: 13.0.6

Redis Version: 7.0.13

Sidekiq Version:6.5.7

Go Version: unknown

GitLab information

Version: 16.5.0

Revision: c4532d87456

Directory: /opt/gitlab/embedded/service/gitlab-rails

DB Adapter: PostgreSQL

DB Version: 13.11

URL: https://gitlab.example.com

HTTP Clone URL: https://gitlab.example.com/some-group/some-project.git

SSH Clone URL: git@gitlab.example.com:some-group/some-project.git

Using LDAP: yes

Using Omniauth: yes

Omniauth Providers:

GitLab Shell

Version: 14.29.0

Repository storages:

  • default: unix:/var/opt/gitlab/gitaly/gitaly.socket

GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell


  • default Address: unix:/var/opt/gitlab/gitaly/gitaly.socket

  • default Version: 16.5.0

  • default Git Version: 2.42.0