[v8.0.5] (Omnibus) Changing name of git user fails
I'm in the process of changing my gitlab setup from ARM-based installation from source to Intel-based installation via Omnibus packages. Operating system is in both cases Ubuntu 14.04.3 LTS.
When I installed gitlab from source on the ARM machine, I used the username "gitlab" for git as I don't exclusively use gitlab for all my git projects. This worked flawlessly.
However following the provided docs of the gitlab omnibus package (https://gitlab.com/gitlab-org/omnibus-gitlab/tree/629def0a7a26e7c2326566f0758d4a27857b52a3/README.md#changing-the-name-of-the-git-user-group), all I get is an "500 Whoops, something went wrong on our end." after running sudo gitlab-ctl reconfigure
. gitlab-ctl status
says everything is running. The error is gone the moment I comment the lines
user['username'] = "gitlab"
user['group'] = "gitlab"
from /etc/gitlab/gitlab.rb
.
I noticed that after running gitlab-ctl reconfigure
with a different username than "git" the gitlab user directory's "repositories" and "gitlab-satellites" still have user and group permissions set to "git". Correcting these permissions to "gitlab" however still gives me "500".
I also checked that the user "gitlab" is existent and I also created a home directory under /home/gitlab
. I'm unsure what causes the error. My setup is pretty vanilla atm, so this is likely a bug.