-
Notifications
You must be signed in to change notification settings - Fork 117
hooks not working on centos 7: .... is already present but it's not ours! #666
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
Here is the output if I try via bash (http://redmine-git-hosting.io/how-to/maintain/#install-hooks): bundle exec rake redmine_git_hosting:install_gitolite_hooks RAILS_ENV=production /home/redmine/.rvm/gems/ruby-2.2.6/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: duplicated key at line 466 ignored: "inodot"
:hook_files:
redmineurl: true In redmine the asyncmode is to false but here I see true ... Thanks |
Use branch via:
|
Thanks man, had a similar issue with the hooks on debian an this fixed it... |
Yes working for centos 7 / Redmine 3.1.6.stable I had to modify this file I commented out this entry
And all status are now green in the git_hosting config test page after installing the hook. https://your-redmine/settings/plugin/redmine_git_hosting?tab=gitolite_config_test Thanks Guillaume |
Thanks @gituser ... works perfect now |
Hello,
From the hooks tab I get this error for all the hooks when I click the install hooks link
Warning redmine_gitolite.rb (hook left untouched)
Warning mail_notifications.py (hook left untouched)
Warning git_hosting_config.rb (hook left untouched)
Warning git_hosting_custom_hook.rb (hook left untouched)
Warning git_hosting_http_helper.rb (hook left untouched)
Warning git_hosting_hook_logger.rb (hook left untouched)
Warning git_hosting_post_receive.rb (hook left untouched)
Warning git_multimail.py (hook left untouched)
from the git_hosting.log I see this for all the hooks
Hook 'git_hosting_hook_logger.rb' is already present but it's not ours!
I have apply this fix #642 to prevent the newline bug
Any help on this would be greatly appreciated !
I'm on centos 7, ruby is from rh-ruby22-ruby-2.2.2-16.el7.x86_64
And here is the redmine env.
Environment:
Redmine version 3.1.6.stable
Ruby version 2.2.2-p95 (2015-04-13) [x86_64-linux]
Rails version 4.2.5.2
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Xitolite 1.8.3.1
Redmine plugins:
redmine_bootstrap_kit 0.2.5
redmine_default_assign 0.6
redmine_git_hosting 1.2.2
redmine_image_clipboard_paste 1.0.0
redmine_silencer 0.4.1
Thanks
The text was updated successfully, but these errors were encountered: