Not allowed to push 6.7
Created by: perryfaro
Since I did a upgrade from 6.5 tot 6.7 I have a problem with pushing. I get this message:
remote: GitLab: You are not allowed to access master!
remote: error: hook declined to update refs/heads/master
To https://<host>/<user>/some_repo.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'https://<host>/<user>/some_repo.git'
The thing is I can't push to any of the repos, but that is strange because I am the master of all these repos. Even when I make a new repo it won't allow me to push.
I did some debugging and I found this is my the api request it uses:
http://<host>/api/v3/internal/allowed?action=git-upload-pack&ref=_any&project=user/project
After some searching I found out the api request should look like this:
http://<host>/api/v3/internal/allowed?key_id=1&action=git-upload-pack&ref=_any&project=user/project
I notice I don't have a key_id in my url. But I can't find why this is missing. I just followed as normaly the update documentation.
I hope somebody can help me with this.
BTW all the checks give ok back there are no errors.