Skip to content

gitlab-ce 15.10.3 pg-upgrade = empty Postgesql DB

Summary

After a pg-upgrade on a Gitlab-ce 15.10.3 to Upgrade the internal Postgres 12.12 to 13.8 i got an empty gitlabhq_production DB.

Steps to reproduce

gitlab-ctl pg-upgrade

What is the current bug behavior?

empty gitlabhq_production aft upgrading the internal PG version from 12.12 to 13.8.

What is the expected correct behavior?

migrated Data from the running System and Pg 13.8.

Relevant logs

Relevant logs output of the gitlab-psql gitlab-psql

the pg-upgrade console log pg-upgrade

and a postgres/current log after pg-upgrade postgres.current

gitlab-exporter log

Details of package version

Provide the package version installation details
`gitlab-ce      15.10.3-ce.0 amd64        GitLab Community Edition (including NGINX, Postgres, Redis)`

Environment details

  • Operating System: Debian Bullseye
  • Installation Target, remove incorrect values:
    • VM: VM in VMWare
  • Installation Type, remove incorrect values:
    • Other: pg-upgrade on Gitlab-ce 15.10.3 to upgrade the internal pg Version from 12.12 to 13.8
  • Is there any other software running on the machine: no
  • Is this a single or multiple node installation?
    • Single
  • Resources
    • CPU: 4
    • Memory total: 8GB

Configuration details

Provide the relevant sections of `/etc/gitlab/gitlab.rb` gitlab.rb
Edited by Sven Merten