I installed a new proxmox LXC container with TurnKey GitLab 16.0-1.

When asked for the root password, I set one and the installation went fine.

Now I can see the GitLab login screen and I think I should be able to log in with user "root" and the password I have set. But this leads to "Invalid Login or password.".

I am really sure I made no typo in the password, because the same password works fine for SSH or Webmin.

I already removed the machine completely and did the whole process again with the exact same result.

Has anyone any idea what went wrong here?

Even better: does anyone know how to fix this situation?


I still have no idea what went wrong, but I managed to reset the gitlab root password using the rails console as described here:


Now an can log into my new GitLab installation successfully.


Jeremy Davis's picture

The password setting firstboot script uses the same (or at least very similar) method to set the password (as your solution). So I'm not really sure why it didn't just work?

Is it running with plenty of resources? GitLab is a beast and to run smoothly it takes a fair bit of resource allocation.

Even if it's running ok, perhaps it's especially slow to start? If that's the case, then perhaps the backend hadn't completely started by the time you were setting up the password? In that scenario, a race condition may have meant that the password you wanted may not have been set. In that case, the process would have errored, but you may have missed it?

Considering that we had huge issues with that in previous versions (and worked around it), and yours is the first complaint re v16.0 (which has been available for a while now) I suspect my guess isn't too far off.

Regardless, glad to hear that you are up and running now and we'll certainly keep an eye out for that when we do the rebuild for the next release.

Add new comment