Server not working
My new Gitlab CE self-managed server is not working, whenever I put its public ip address on my browser to access it, I get " The connection has timed out" on the browser.
Can someone help me get this sorted? I had to pause further commits to the current server until I get this timeout fixed and fully moved onto the new server.
How I made this server
This was done by making an aws image of the current server (which works fine using the DNS and using the ip).
From the image I started a new aws instance with the same config and hardware as the existing server. Then I SSH into it, upgraded from Ubuntu 18.04 LTS to 20.04 and then to 22.04 LTS.
Then I changed the /etc/gitlab/gitlab.rb to point to the ip of the new server, such that I get external_url ‘http://(public ip)’.
I then ran sudo gitlab-ctl reconfigure and sudo gitlab-ctl restart. I also tried rebooting the instance. Nothing worked, I just get timeout on the browser.
Configuration
AWS instance t2.large
Versions
- Self-managed
- GitLab 16.9.2-ce.0
- Ubuntu 22.04 LTS