Having issues doing a git push from both git cli and gitlab http interface.
Can't seem to figure out where the issue is. Had gitlab server behind nginx proxy which I thought may have been causing the issue but removed nginx and now have 1:1 nat rule created. I have same issue when testing internally on same subnet with no natting.
That could be related to issue 1716
Turned out to be the behaviour you get if any of the directories in the
gitlab-shell
repos_path
were symlinks (in our case on freebsd,/home
being used when that is a symlink to/usr/home
).
Putting in the absolute path without symlinks allows us to push over SSH as expected. The same thing affected us in the HTTPS setup as well.I confirm that changing the path to
/usr/home
ingitlab-shell/config.yml
solve the problem for meI had the same issue when I tried to use a soft link for
git-data
:
Check your gitlab-shell.
For instance: issue 3787:
My fault.. GitLab hostname was wrong in
gitlab-shell/config.yml
andgitlab.yml
.