What working and not working
- http://gitlab.example.com:8889/ ----> not working
- http://127.0.0.1:8889 ----> working
- http://localhost:8889/ ----> working
Environment:
- UBUNTU 16.04
- Jenkins installed (taken port 8080)
-check sudo ufw status —> inactive
Step:
- Run installation for gitlab ce
- sudo apt-get update
- sudo apt-get install ca-certificates curl openssh-server postfix
- cd /tmp
- curl -LO https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh
- sudo bash /tmp/script.deb.sh
- sudo apt-get install gitlab-ce
- Configure gitlab.rb
- sudo nano /etc/gitlab/gitlab.rb
Set:
external_url ‘http://gitlab.example.com:8889’
nginx[‘listen_port’] = 8889
unicorn[‘port’] = 8888
- run cmd
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
Some info from tail:
==> /var/log/gitlab/nginx/current <==
2018-03-12_02:01:54.53545 2018/03/12 10:01:54 [error] 13369#0: *1 “/var/opt/gitlab/nginx/html/index.html” is not found (2: No such file or directory), client: 127.0.0.1, server: dev.example.com, request: “GET / HTTP/1.1”, host: “127.0.0.1”
2018-03-12_02:25:14.95223 2018/03/12 10:25:14 [emerg] 18153#0: bind() to 0.0.0.0:8889 failed (98: Address already in use)
I have search around the forum and cannot find any clue to resolve my issue. Please help me