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

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

  • Report abuse

  • New issue

  • Report abuse

Commit history doesn't appear after 'git push'

Closed

Commit history doesn't appear after 'git push'

Created by: doubleyou

root@precise:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production

System information
System:     Ubuntu 12.04
Current User:   git
Using RVM:  no
Ruby Version:   2.0.0p247
Gem Version:    2.0.3
Bundler Version:1.3.5
Rake Version:   10.1.0

GitLab information
Version:    6.1.0.rc1
Revision:   16b6040
Directory:  /home/git/gitlab
DB Adapter: postgresql
URL:        http://10.0.1.179
HTTP Clone URL: http://10.0.1.179/some-project.git
SSH Clone URL:  git@10.0.1.179:some-project.git
Using LDAP: yes
Using Omniauth: no

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

Once I do git push, it goes through and the repository on the GitLab side is updated. However, GitLab still thinks repo is empty.

Checked permissions – they seem to be okay:

root@precise:/home/git/repositories# ls -la
total 16
drwxrws--- 4 git git 4096 Sep 17 07:21 .
drwxr-xr-x 8 git git 4096 Sep 17 07:34 ..
drwxrwx--- 4 git git 4096 Sep 17 07:55 dem
drwxrwx--- 2 git git 4096 Sep 17 00:36 root
root@precise:/home/git/repositories# cd dem/
root@precise:/home/git/repositories/dem# ls -la
total 16
drwxrwx--- 4 git git 4096 Sep 17 07:55 .
drwxrws--- 4 git git 4096 Sep 17 07:21 ..
drwxrwx--- 7 git git 4096 Sep 17 07:53 ansible-config.git
drwxrwx--- 7 git git 4096 Sep 17 07:55 ansible-config.wiki.git

No useful errors in all the logs. Tried to run post-commit hook manually, but it didn't help either.

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: