Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6623

Closed
Open
Created Mar 26, 2014 by Administrator@rootOwner

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.

Assignee
Assign to
Time tracking