Thank you very much, I now have GitLab running.
I first created a file in /etc/gitlab called skip-auto-reconfigure
per your recommendation.
I then performed an installation of GitLab 11.11.7:
curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce=11.11.7-ce.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
gitlab-ce
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 669 MB of archives.
After this operation, 64.4 MB of additional disk space will be used.
Get:1 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic/main amd64 gitlab-ce amd64 11.11.7-ce.0 [669 MB]
Fetched 669 MB in 33s (20.5 MB/s)
(Reading database ... 154483 files and directories currently installed.)
Preparing to unpack .../gitlab-ce_11.11.7-ce.0_amd64.deb ...
gitlab preinstall:
gitlab preinstall: This node does not appear to be running a database
gitlab preinstall: Skipping version check, if you think this is an error exit now
gitlab preinstall:
Unpacking gitlab-ce (11.11.7-ce.0) over (11.10.8-ce.0) ...
Setting up gitlab-ce (11.11.7-ce.0) ...
gitlab: GitLab now ships with a newer version of PostgreSQL (10.7), but it is not yet
gitlab: enabled by default. To upgrade, RUN THE FOLLOWING COMMAND:
sudo gitlab-ctl pg-upgrade
gitlab: Note: This command does not support Geo instances yet. So we don't
gitlab: recommend running this command on Geo nodes. It will be supported
gitlab: in GitLab 12.0.
gitlab: For more details, please see:
gitlab: https://docs.gitlab.com/omnibus/settings/database.html#upgrade-packaged-postgresql-server
gitlab:
It looks like GitLab has not been configured yet; skipping the upgrade script.
*. *.
*** ***
***** *****
.****** *******
******** ********
,,,,,,,,,***********,,,,,,,,,
,,,,,,,,,,,*********,,,,,,,,,,,
.,,,,,,,,,,,*******,,,,,,,,,,,,
,,,,,,,,,*****,,,,,,,,,.
,,,,,,,****,,,,,,
.,,,***,,,,
,*,.
_______ __ __ __
/ ____(_) /_/ / ____ _/ /_
/ / __/ / __/ / / __ `/ __ \
/ /_/ / / /_/ /___/ /_/ / /_/ /
\____/_/\__/_____/\__,_/_.___/
Thank you for installing GitLab!
GitLab should be available at https://git.crayon.com
For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
I then performed a reboot and checked that gitlab-ctl status was still showing all services as not running.
Next, I removed the file skip-auto-reconfigure from /etc/gitlab and ran:
gitlab-ctl reconfigure
*output truncated as it was huge*
Running handlers complete
Chef Client finished, 33/667 resources updated in 02 minutes 20 seconds
gitlab Reconfigured!
After that, all services is running:
gitlab-ctl status
run: alertmanager: (pid 3228) 159s; run: log: (pid 3155) 160s
run: gitaly: (pid 3844) 35s; run: log: (pid 3157) 160s
run: gitlab-monitor: (pid 3826) 36s; run: log: (pid 3160) 160s
run: gitlab-workhorse: (pid 3812) 37s; run: log: (pid 3167) 160s
run: logrotate: (pid 3230) 159s; run: log: (pid 3163) 160s
run: nginx: (pid 3168) 160s; run: log: (pid 3158) 160s
run: node-exporter: (pid 3657) 65s; run: log: (pid 3165) 160s
run: postgres-exporter: (pid 3227) 159s; run: log: (pid 3156) 160s
run: postgresql: (pid 3229) 159s; run: log: (pid 3161) 160s
run: prometheus: (pid 3192) 159s; run: log: (pid 3152) 160s
run: redis: (pid 3191) 159s; run: log: (pid 3153) 160s
run: redis-exporter: (pid 3224) 159s; run: log: (pid 3159) 160s
run: sidekiq: (pid 3189) 159s; run: log: (pid 3154) 160s
run: unicorn: (pid 3200) 159s; run: log: (pid 3164) 160s
Would you say the system is in a healthy state now? E.g. is it safe to proceed upgrading GitLab to newer versions?