Hi,
I just upgraded gitlab-ce from 8.16.1 to 9.3.5, following the same instructions I used for 7->8, at this link
https://docs.gitlab.com/omnibus/update/README.html
I stopped gitlab, using gitblab-ctl stop, then did the apt-get update and install commands. That all worked fine. The end of install told me to run gitlab-ctl reconfigure. I did that and got
PG::ConnectionBad: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/var/opt/gitlab/postgresql/.s.PGSQL.5432”
So, I figured out that postgresql isn’t running, so I started gitlab with gitlab-ctl start, did the reconfigure and that worked fine.
So, is the apt-get install supposed to start gitlab? Am I supposed to do it? It wasn’t very intuitive as I wouldn’t typically expect to start a service before typing reconfigure after upgrading it, especially since the apt-get install says
To configure and start GitLab, RUN THE FOLLOWING COMMAND:
sudo gitlab-ctl reconfigure