-
Notifications
You must be signed in to change notification settings - Fork 117
Can't install hooks #642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, same here:
|
Same problem. |
Signed-off-by: Alessandro Grassi <[email protected]>
Signed-off-by: Alessandro Grassi <[email protected]>
That change doesn't seem to work. |
That change worked for me. But only with installing hooks over |
My issue looks similar.
but in redmine settings all hooks marked by exclamations |
Hello guy's, we are in the same boat and I think I have more info If you look in the sudoers log file you will see this carracter #12 (Line Feed) after /var/lib/gitolite3/local#012/ on each call that the install hook procedure does. This also explain why we see a newline in the git_hosting.log 2017-02-08 19:17:55 -0500 [INFO] Hook 'git_hosting_config.rb' does not exist, installing it ... Maybe this will shed some light to help provide a solution. our version: Thanks |
I observe the same behaviour with extra Line Feed in git_hosting.log. i work on |
I'm working with redmine 3.3.1.stable and redmine_git_hosting 1.2.1. Upgrading to redmine 3.3.2.stable and redmine_git_hosting 1.2.2 is not an option, because it's not working. It's easy to update redmine but redmine_git_hosting is not working anymore. Also I've tried to install a new system in a VM but git is also not working. |
Fixed by #646 |
I'm sorry, but it seems I've spent nearly whole day because of this dealing with various issues.. |
Talking about dealing with issues.. How do I fix this now for 1.2.2? |
Hello if you look into #666 you will see how to use branch 1.2.x, it worked for me and others. Good luck ! |
Thanks! |
I've gone through the install guide, everything works except I can't install the hooks.
2017-01-09 19:23:13 +0000 [ERROR] Non-zero exit code pid 1895 exit 1 for
sudo -n -u git -i sh``I've tried running sudo -n -u git -i sh ls and pwd to test, and it says 'cannot execute binary file'.
Is there some information somewhere about what permissions are needed and where?
I'm using nginx + uwsgi, the config test page shows correct PATH variables (which was the only thing I could think of).
The text was updated successfully, but these errors were encountered: