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.