Doug Fir
Doug Fir

Reputation: 21282

Gitlab test out with Docker: ' You have signed up successfully. However, we could not sign you in because your account is awaiting approval...'

I have set up gitlab locally on ubuntu laptop per some help from this post. My set up is 100% exact to per that post. When I ran docker-compose up and visited localhost:54321 I was shown a screen to 'update my password'. I entered a new password then got taken to the sign in page where I clicked to sign up with a new account. I entered my name, email and password and hit register. I then saw this message:

enter image description here

I'm confused since I'm hosting gitlab locally via docker.Who is my gitlab administrator?!

How can I register on a locally hosted gitlab instance via docker? My ultimate goal is just a hello world - I'd like to explore the gitlab interface and see what the tool is all about.

Upvotes: 5

Views: 3266

Answers (3)

Raymond Chiu
Raymond Chiu

Reputation: 1064

The initial admin user for the GitLab CE is root. In the GitLab Docker container path /etc/gitlab, there will be a file called "initial_root_password". Cat the content and you can got the initial password of the user root

Steps: Assume the docker container name is gitlab_web_1

  1. Go to the Docker container: docker exec -ti gitlab_web_1 /bin/bash
  2. List item: cat /etc/gitlab/initial_root_password

Once you login with the user root successfully, you can try to manage the user account, and you can also use your own account to login.

Upvotes: 8

Doug Fir
Doug Fir

Reputation: 21282

When opening the web interface after first running the container, you are prompted to 'change password'. Enter a password then on the next page enter username 'root' and the password you just created. I had to rerun the container and first empty everything in the set up directories. Emptied everything in data/, logs/ and config/ and then docker-compose up. That allowed me to login

Upvotes: 0

GreenMan
GreenMan

Reputation: 317

Based on This Page

https://forum.gitlab.com/t/after-gitlab-ce-installation-on-ubuntu/32896

Username and Password default Administrator after Install Gitlab-ce:

Username: root

Password: 5iveL!fe

Upvotes: 1

Related Questions