GITLAB Installation Issue

Hi Team,

I am installing GITLAB in AWS - EC2 Instance - Ubuntu 20.x - 30 GB Additional Volume. Everytime its getting strucked at 60%.

Attached Screenshot -

Please assist.

Thank You,
Sreeni

Hi @t.sreenivasulu

Thank you for your question and we’re sorry for the late response.
We need more information to help you on your issue :

  • How did you do the installation ?

Thank in advance

Hi Kodekloud,

I am following standard work installation instructions -

Its on ubuntu machine. I am trying on AWS Playground - EC2 instance - 8 GB + 30 GB Disk

Regards,
Sreeni

Hi @t.sreenivasulu
I try to reproduce your issue on AWS Playground with different instance size :

  • free tier t2.micro 1 vCPU - 1 Go RAM - 30 Gb SSD : the installation block not on the same step like you but he block

  • t2.medium instance 2VCPU 4 Go - 30 Gb SSD : The installation work fine


Retry the installation by using t2.medium instance. The aws playground authorize you to use nano, micro, small and medium size only

Thank hope my response will help you

Thank You,I am checking.

I am getting new error - Please assist

ubuntu@ip-172-31-28-126:/etc/apt/sources.list.d$ sudo apt install gitlab-ce
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package gitlab-ce

Which ubuntu version did you use ??
The documentation is for Ubuntu 20.04

You can run the following command to see your ubuntu version

cat /etc/*release*

root@ip-172-31-28-126:/sdu-in-mfs/Downloads# cat /etc/release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION=“Ubuntu 22.04.1 LTS”
PRETTY_NAME=“Ubuntu 22.04.1 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.1 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian

UBUNTU_CODENAME=jammy

You have ubuntu 22.04 and the link you use support until 20.04 . Try this one for 22.04 Install GitLab on Ubuntu 22.04

Thank You…I am able to install -
I am trying to login from my local console browser using below url…page is not getting displayed…any help on this plz.

root@ip-172-31-28-126:~# cat /etc/gitlab/gitlab.rb | grep external_url
##! For more details on configuring external_url see:
external_url ‘http://ec2-54-221-137-22.compute-1.amazonaws.com

The connection has timed out

Below is the error -
The server at 172.31.28.126 is taking too long to respond.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Hi,
the IP address 172.31.28.126 is the private IP address try to use the link or public IP address
Also, be sure to authorize port 80 on Security Group

On the screenshot behind I authorize all TCP ports but on production you need define port policy filter

Also be sure to use HTTP instead of https

Thank You…I am checking on Amazon linux as i got issues on ubuntu.

Hi @t.sreenivasulu
Sorry for the late response, I hope it works on Amazon Linux :pray: Just remember to update the Security group by default only SSH port 80 is authorized, and use the external link.

Thank