Couldn't change password on a freshly installed GitLab ( Debian 8 )

1,026 views
Skip to first unread message

Dominik Pfennig

unread,
Apr 29, 2016, 8:10:55 AM4/29/16
to GitLab
Hello there,

I ran into some Problems when setting up GitLab on my Server.

I installed GitLab on my Debian 8 System accordingly to this installation guide:
https://about.gitlab.com/downloads/#debian8

Before hitting gitlab-ctl reconfigure I edited /etc/gitlab/gitlab.rb to fill in the right hostname of my System.
After configuration everything seemed to be set up correct.
In the Browser I opened up the configured website and got to the Welcome Page.
It asked me to change the password. I typed in the new password and got the following error response:

7 errors prohibited this user from being saved:

  • Email can't be blank
  • Password can't be blank
  • Name can't be blank
  • Notification email can't be blank
  • Notification email is invalid
  • Username can contain only letters, digits, '_', '-' and '.'. Cannot start with '-' or end in '.'.
  • Username can't be blank
I couldn't bypass this screen so i logged into the rails console and changed password and email adress of the root user manually.
An Email came to my adress to confirm that action and after opening the link in this email i was logged in.

But when I logout again the screen shows up again telling me to change my password first. ( which i can't do ) and there is no option to log in normally.

Maybe someone could help me with this situation?

I attach the Log File from the configuration ( Nginx has no errors )

Greetings
Dominik Pfennig


1461929811.log
1461930408.log

Dominik Pfennig

unread,
Apr 29, 2016, 8:39:50 AM4/29/16
to GitLab
Got it fixed. But I don't no what the problem was either.

There's normally an apache Server running. I turned it off for setting up gitlab.
Gitlab was running but something interfered anyways.
Nginx and all other services could start but the described Problem came up.

Now I switched nginx to run on a different port so i can have apache and nginx running at the same time.
With this configuration no errors occured.

@bobuntu

unread,
Oct 17, 2017, 3:37:11 AM10/17/17
to GitLab
@Dominik Pfenning, care to elaborate on what exactly you did on Apache, Nginx and Gitlab? (the order of steps).
Note: one year later, Gitlab v10.0.3 running as a docker container.
Reply all
Reply to author
Forward
0 new messages