Gitosis not updating server configuration after push of configuration changes

前端 未结 5 585
旧巷少年郎
旧巷少年郎 2021-01-01 04:02

I\'ve set up gitosis using the tutorial privided at:

http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way

I found that I was unable

相关标签:
5条回答
  • 2021-01-01 04:52

    I know this is short but you probably just need to make the post hook executable...

    sudo chmod 755 [your-path-to-your-repo]/gitosis-admin/hooks/post-update

    0 讨论(0)
  • 2021-01-01 04:56

    when I checked the '.gitosis.conf' file located in the home folder of the gitosis user, I found that it was not updated.

    That's really weird -- on my gitosis installation, the .gitosis.conf in the "gitosis" user's home directory is a symlink. You might want to check that; perhaps gitosis thinks the repository is somewhere other than where you think it is?

    Also, adding a section to your conf file like this:

    [gitosis]
    loglevel = DEBUG
    

    can help you figure out a lot of problems with gitosis.

    0 讨论(0)
  • 2021-01-01 04:57

    I tried to cover with commons error for Gitosis installation and setup

    http://jerabi.com/sdionne/blog/2010/09/06/git-repository-server-gitosis-on-win7-troubleshooting/

    I hope that can help you

    0 讨论(0)
  • 2021-01-01 04:59

    Check the permissions on the post-update hook in the repository. It must be executable, and the published version of gitosis doesn't ensure that.

    0 讨论(0)
  • 2021-01-01 05:06

    I found this problem on Ubuntu 9.04. When I looked into it, I found that the post-update hook pointed to /usr/share/python-support/gitosis/gitosis-0.2-py2.5.egg/gitosis/templates/admin/hooks/post-update which no longer existed. I'm sure it came through some updated package.

    I looked around on the filesystem and found that if I pointed hooks/post-update to /usr/share/python-support/gitosis/gitosis/templates/admin/hooks/post-update it worked just fine.

    0 讨论(0)
提交回复
热议问题