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
  • #7025

Closed
Open
Created May 26, 2014 by Administrator@rootOwner

GitLab: You are not allowed to access master! Only ssh , https works fine.

Created by: kesin

HI my repositories have already out of my disk1 capacity, so I mount another disk as disk2. and i usecp -r xx/ /disk2/repositories/xx/to release some capacity on disk1,and then use ln -s /disk2/repositories/xx xx after all , https works fine but via ssh will get errors like tihs

ubuntu@ubuntu:~/testlnlnlnlnlnln$ git push
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 288 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: GitLab: You are not allowed to access master! 
remote: error: hook declined to update refs/heads/master
To [email protected]:zhou/testlnlnlnlnlnln.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to '[email protected]:zhou/testlnlnlnlnlnln.git'

can somebody help me to solve this problem?

Assignee
Assign to
Time tracking