Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default username/password not working. #181

Closed
quasarj opened this issue Oct 20, 2014 · 7 comments
Closed

Default username/password not working. #181

quasarj opened this issue Oct 20, 2014 · 7 comments

Comments

@quasarj
Copy link

quasarj commented Oct 20, 2014

I just pulled the sameersbn/gitlab:7.3.2-1 container and launched it with an external myself and red is server. It took a few minutes but it started correctly and I can reach the web interface. However the default login (as given in readme.md here) is not working. I tried a few other combinations I've seen around too (root, admin, admin@local.host, etc) and all fail.

Is anyone else experiencing this? Is something else possibly misconfigured on my system? I'm running on an Arch Linux host (no vms).

Thanks!

@quasarj
Copy link
Author

quasarj commented Oct 20, 2014

Sorry, posting from a phone, that should have been mysql and redis above.

@quasarj
Copy link
Author

quasarj commented Oct 20, 2014

Nevermind, it was a combination of issues. The first time I attempted to launch the docker container with correct mysql settings I did not have correct redis settings, and this apparently caused it to half-configure gitlab, but it didn't create any users. Dropping the database and restarting the container caused it to create the correct users.

However, I did have to use "admin@example.com" rather than "root" for it to work.

@quasarj quasarj closed this as completed Oct 20, 2014
@sameersbn
Copy link
Owner

@quasarj that does not sound right. root is the username of the user with email admin@example.com

@jeffcichonski
Copy link

I had a similar issue. I could not log in with root/password. I did a bit of googling and found 5iveL!fe is used as the default password for gitlab in other implementations. root/5iveL!fe worked.

Did gitlab make a change to default password?

@MatrixManAtYrService
Copy link

I ran across this issue because gitlab asked me to set a password on first startup, so I did. Then, later, I tried to use 5iveLi!fe and it didn't work. As it turns out, the password that I set during startup was the root password.

@INF800
Copy link

INF800 commented Aug 7, 2021

Hi! @quasarj @sameersbn @jeffcichonski @MatrixManAtYrService

I used this docker-compose up -d to start the gitlab service in http://localhost:8929/

None of these combinations are working. Can anyone help me out ?

Additional information

docker-compose.yml:

web:
  image: 'gitlab/gitlab-ce:latest' 
  restart: always
  hostname: 'gitlab.example.com'
  environment:
    GITLAB_OMNIBUS_CONFIG: |
      external_url 'http://gitlab.example.com:8929'
      gitlab_rails['gitlab_shell_ssh_port'] = 2224
  ports:
    - '8929:8929'
    - '2224:22'
  volumes:
    - '$GITLAB_HOME/config:/etc/gitlab'
    - '$GITLAB_HOME/logs:/var/log/gitlab'
    - '$GITLAB_HOME/data:/var/opt/gitlab'

@INF800
Copy link

INF800 commented Aug 7, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants