The doc GitLab 12 specific changes | GitLab states “PostgreSQL will automatically be upgraded to 10.x unless specifically opted out during the upgrade. To opt out you must execute the following before performing the upgrade of GitLab.”
Please can you advise what version PostgreSQL should be at and if mine is down-rev, how this has happened and how I should address this at this point?
I believe I stuck to the upgrade process and I see v12.0.12 RPM installed (CentOS 7) and the GUI/help screen says 12.0.12.
I could provide my upgrade process somewhere if that would help but it contains the official Gitlab process above plus some local steps for backups, etc.
It wasn’t very well documented, but the configuration for zero downtime upgrades implies not upgrading PostgreSQL, I also hit that, but discovered it before installing 12.0 (but after the documentation said the PostgreSQL upgrade should have happened automatically).
(As I still always use the zero downtime upgrade-procedure - which doesn’t give zero downtime - I’ve recently done the PostgreSQL upgrade that must be done before GitLab 14, as I remembered this discovery.)
As said I discovered in time that this upgrade hadn’t happened automatically and figured out how to do it manually, but that was by running the command @iwalker gave (gitlab-ctl pg-upgrade) and doing that is the best I can think of doing in the situation you’re in now.