Upgrade from 16.5.6-ce to 16.6.4-ce fails in db:migrate

We are tracking this issue in Docker upgrade from Gitlab 16.7.0 to 16.7.2 failed, had to downgrade back to 16.7.0 (#8371) · Issues · GitLab.org / omnibus-gitlab · GitLab

We’ve identified a fix Make chat_names table migration idempotent (!141703) · Merge requests · GitLab.org / GitLab · GitLab

It looks like we’re aiming to release fixes for 16.5.x, 16.6.x, and 16.7.x soon. You can follow the progress in gitlab-org/release/tasks#8118.

A couple potential workarounds have been shared by GitLab community members in the comments to Docker upgrade from Gitlab 16.7.0 to 16.7.2 failed, had to downgrade back to 16.7.0 (#8371) · Issues · GitLab.org / omnibus-gitlab · GitLab, but I strongly advise backing up GitLab data in a known working configuration before any community-provided workarounds, as solutions there have not been vetted by GitLab engineers.

1 Like