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

Closed
Open
Created Dec 17, 2012 by Administrator@rootOwner

Post-recieve file missing

Created by: spuzirev

Hi all. I have same problem as this issue: https://github.com/gitlabhq/gitlabhq/issues/2068 . I have done all fixes at that issue, but it didn't effect.

I create new repository, then I do initial commit to it and I have following error

Important! Project has commits but missing post-receive file. If you exported project manually - copy post-receive hook to bare repository

In /home/git/repositories/project.git/hooks I have symlink to /home/git//.gitolite/hooks/common/post-recieve (yes, there are 2 slashes after 'git'), but this symlink is working. User gitlab can run this.

In gitlab.yml hooks_path: /home/git/.gitolite/hooks/

I tried to change hooks_path (use trailing slash or don't use, I've changed this to /home/git/.gitolite/hooks/common/), that had no effect.

I tried simply copy file post-recieve to project.git/hooks and chowned this file to git, it had no effect too.

chmod 750 didn't change anything.

Can anyone help me?

Thx.

Assignee
Assign to
Time tracking