Today I ran an system upgrade on my Ubuntu machine - which included an upgrade on the omnibus package.
sudo apt-get upgrade finished with errors during configuring the ombinus-package, leaving it unconfigured. The error/warning message is
Checking PostgreSQL executables:gitlab: GitLab now ships with a newer version of PostgreSQL (9.6.1), and will be used gitlab: as the default in the next major release. To upgrade, RUN THE FOLLOWING COMMANDS: sudo gitlab-ctl pg-upgrade
I did as instructed: Ran
sudo gitlab-ctl pg-upgrade. Unfortunately, this did not lead to success because the updater could not connect to the PostgreSQL server. Which is kind of plausible in my opinion, since GitLab is not running and GitLab (at least the omnibus package) has it’s built-in PostgreSQL server, if I am not mistaken. The problem is: I cannot run GitLab as long as it not configured and I cannot configure GitLab as long as it is not running.
Am I missing something? Is there a way to fire up only PostgreSQL server in GitLab omnibus to perform the database-uprade?
Thanks in advance for any help and please let me know if you need further information!
Best regards - Jonathan