Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #5061

Closed
Open
Created 11 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Access denied. Ever since upgrading to gitlab 6.0

Closed

Access denied. Ever since upgrading to gitlab 6.0

Created by: cmsimike

  1. I don't have access to any git repo that was around before I upgraded to GitLab 6.0. I've created one repo since I upgraded to GitLab 6.0 and I can access that repo no problem.

  2. Go into a directory with a git repo that existed before GitLab 6.0 and try a git pull or git push.

  3. Expected behavior would be to pull or push

  4. I get an Access Denied error.

Relevant log from gitlab-shell is gitlab-shell: Access denied for git command <git-upload-pack 'project.git'> by user with key key-5.

git@pascal:~/gitlab-shell/bin$ ./check
Check GitLab API access: OK
Check directories and files:
    /home/git/repositories: OK
    /home/git/.ssh/authorized_keys: OK```

git@pascal:~/gitlab$ bundle exec rake gitlab:check RAILS_ENV=production Checking Environment ...

Git configured for git user? ... yes Has python2? ... yes python2 is supported version? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.7.0 ? ... OK (1.7.0) Repo base directory exists? ... yes Repo base directory is a symlink? ... no Repo base owned by git:git? ... yes Repo base access is drwxrws---? ... yes post-receive hook up-to-date? ... yes post-receive hooks in repos are links: ... Project Owner / project 1 ... ok Project Owner / project 2 ... ok Project Owner / project 3 ... ok Project Owner / project 4 ... ok Project Owner / project 5 ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... ok Project Owner / project ... repository is empty Project Owner / project ... ok Project Owner / project ... ok

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes

Checking Sidekiq ... Finished

Checking GitLab ...

Database config exists? ... yes Database is SQLite ... no```

Version 6.0 This should be the hash: d422ee0f


System information
System:     Ubuntu 11.10
Current User:   git
Using RVM:  yes
RVM Version:    1.19.0
Ruby Version:   1.9.3p327
Gem Version:    1.8.24
Bundler Version:1.3.4
Rake Version:   10.1.0

GitLab information
Version:    6.0.1
Revision:   d422ee0
Directory:  /home/git/gitlab
DB Adapter: mysql2
URL:        https://gitlab.example.com
HTTP Clone URL: https://gitlab.example.com/some-project.git
SSH Clone URL:  git@gitlab.example.com:some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version:    1.7.0
Repositories:   /home/git/repositories/
Hooks:      /home/git/gitlab-shell/hooks/
Git:        /usr/bin/git

Been playing around with this for a while now and can't figure anything out. Help?

Linked issues
...

    Related merge requests

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help