I can not access my Gitlab after installing it - no web port started

Good day,

I have installed Gitlab on CentOS7 through this guide : https://www.howtoforge.com/tutorial/how-to-install-and-configure-gitlab-ce-on-centos-7/ (I've also tried the install from the GitLab site with same issue)

# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

# rpm -q gitlab-ce
gitlab-ce-10.1.0-ce.0.el7.x86_64

In /etc/gitlab/gitlab.rb
external_url 'https://gitlab.myurl.co'    //(fiction url)
>>>
nginx['redirect_http_to_https'] = true
nginx['ssl_certificate'] = "/etc/letsencrypt/live/gitlab.myurl.co/fullchain.pem"
nginx['ssl_certificate_key'] = "/etc/letsencrypt/live/gitlab.myurl.co/privkey.pem"
nginx['ssl_dhparam'] = "/etc/gitlab/ssl/dhparams.pem"
<<<

When I go to https://gitlab.myurl.co, I get the message : This site can’t be reached

  • I noticed that both installs did not have port 80 or 443 available. (even the Gitlab site installation)
# ss -nltp
State      Recv-Q Send-Q                                             Local Address:Port                                                            Peer Address:Port
LISTEN     0      128                                                    127.0.0.1:9121                                                                       *:*                   users:(("redis_exporter",pid=80,fd=3))
LISTEN     0      128                                                    127.0.0.1:9090                                                                       *:*                   users:(("prometheus",pid=78,fd=20))
LISTEN     0      128                                                    127.0.0.1:9187                                                                       *:*                   users:(("postgres_export",pid=93,fd=5))
LISTEN     0      128                                                    127.0.0.1:9100                                                                       *:*                   users:(("node_exporter",pid=75,fd=3))
LISTEN     0      1024                                                   127.0.0.1:8080                                                                       *:*                   users:(("bundle",pid=612,fd=18),("bundle",pid=610,fd=18),("bundle",pid=316,fd=18))
LISTEN     0      128                                                    127.0.0.1:9168                                                                       *:*                   users:(("gitlab-mon",pid=95,fd=8))
LISTEN     0      128                                                            *:22                                                                         *:*                   users:(("sshd",pid=462,fd=3))
LISTEN     0      100                                                    127.0.0.1:25                                                                         *:*                   users:(("master",pid=537,fd=13))
LISTEN     0      128                                                          ::1:9168                                                                      :::*                   users:(("gitlab-mon",pid=95,fd=7))
LISTEN     0      128                                                           :::22                                                                        :::*                   users:(("sshd",pid=462,fd=4))
LISTEN     0      100                                                          ::1:25                                                                        :::*                   users:(("master",pid=537,fd=14))



# sudo gitlab-ctl status
run: gitaly: (pid 89) 6653s; run: log: (pid 88) 6653s
run: gitlab-monitor: (pid 95) 6653s; run: log: (pid 94) 6653s
run: gitlab-workhorse: (pid 73) 6653s; run: log: (pid 72) 6653s
run: logrotate: (pid 7763) 3052s; run: log: (pid 76) 6653s
run: node-exporter: (pid 75) 6653s; run: log: (pid 74) 6653s
run: postgres-exporter: (pid 93) 6653s; run: log: (pid 92) 6653s
run: postgresql: (pid 87) 6653s; run: log: (pid 70) 6653s
run: prometheus: (pid 78) 6653s; run: log: (pid 77) 6653s
run: redis: (pid 84) 6653s; run: log: (pid 83) 6653s
run: redis-exporter: (pid 80) 6653s; run: log: (pid 79) 6653s
run: sidekiq: (pid 82) 6653s; run: log: (pid 81) 6653s
run: unicorn: (pid 85) 6653s; run: log: (pid 71) 6653s


# firewall-cmd --list-all
public
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: ssh dhcpv6-client http https
  ports:
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

# sudo ufw status
sudo: ufw: command not found

Thank you in adavnce. I've installed GitLab on CentOS in the past with the GitLab site procedure and like it alot.

JP

Edited by Jason Plum