Unable to upgrade from psql 11


I have an issue upgrading from version 13.6.2-ee to 13.8.8-ee.

My gitlab instance is hosted on Centos7 which is fully upgraded. According to gitlab upgrade-paths next step for my upgrade is 13.8.8-ee. After upgrade DB does not migrate and I end up with new instance of gitlab with all my configurations preserved but no users or any projects in it.

Second thing that I tried was to upgrade to 13.7.9-ee and manually run gitlab-ctl pg-upgrade according to this resource. At first glance upgrade process goes smooth and I see no errors in the command output but when I check size of /var/opt/gitlab/postgresql/data directory it is around 50Mb while /var/opt/gitlab/postgresql/data.11/ is around 4G

Please advice what additional information can I provide to find a solution to this issue. I have snapshot of working 13.6.2-ee version so I can start providing information starting from there.

Is the database actually upgraded? What version number does it give if you do sudo gitlab-psql? (Just exit it directly with ctrl+d or “\q”)

Did things look right on 13.7.9 before you did gitlab-ctl pg-upgrade?