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

Closed
Open
Created Oct 25, 2012 by Administrator@rootOwner

After pushing I get failed to push some refs

Created by: magicmarkker

First, I'd like to say that this project is awesome, however im running into some problems: firstly ! [rejected] master -> master (non-fast forward) error: failed to push some refs to happens whenever I try to push anything, I've added my keys to the server, followed the wiki instructions step by step. if I do a git push -u origin master --force, it'll push, but then no commits are showing up on the actual gitlab site, it just shows the instructions on how to get the repo up and running. I've googled for about two hours and tried a bunch of different things that have not fixed this problem. Does anyone know what I'm doing wrong? or what permissions my gitlab user doesn't have that my git user does? I know if I try to do sudo -u gitlab mkdir test inside of /home/git it doesn't work, so maybe there's some weird read/write permission error? gitlab and git are both part of the same groups though so I'm not sure.

Below is the output of running the status tool Starting diagnostics config/database.yml............exists config/gitlab.yml............exists /home/git/repositories/............exists /home/git/repositories/ is writable?............YES remote: Counting objects: 50, done. remote: Compressing objects: 100% (41/41), done. remote: Total 50 (delta 19), reused 0 (delta 0) Receiving objects: 100% (50/50), 4.73 KiB, done. Resolving deltas: 100% (19/19), done. Can clone gitolite-admin?............YES UMASK for .gitolite.rc is 0007? ............YES /home/git/.gitolite/hooks/common/post-receive exists? ............YES

Assignee
Assign to
Time tracking