Project

General

Profile

Redmine 3.3.2 & Gitolite 3 - Hooks not installed

Added by Francois Grosbellet over 7 years ago

Hi everyone,

I have followed this tutorial : https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_30x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_Subversion_and_Git_(Gitolite)

I have installed Redmine on a new virtual server running Ubuntu server 16.04 LTS. The database used in this tutorial is MySQL.

I am at the Redmine Git Hosting Plugin part of the tutorial. When checking the configuration in the Administration > Redmine Git Hosting Plugin > Config Test tab, I can see that no directory is defined for the Gitolite non-core hooks, and that hooks are not installed.

When checking the Administration > Redmine Git Hosting Plugin > Storage tab, I have no input to define the Gitolite non-core hooks directory.

Have I missed something during the tutorial? Is there a way to fix this? Can i provide some more informations that would make this problem easier to understand?


Replies (1)

RE: Redmine 3.3.2 & Gitolite 3 - Hooks not installed - Added by Pedro Bezunartea López almost 4 years ago

I know this is an old issue for an old version but, as I encountered the same problem trying to install the plugin version 4.0.2 on Redmine 4.0.4 on CentOS 7 using the packaged gitolite3 from EPEL. I found the solution here: redmine-git-hosting.io/how-to/maintain/#install-hooks

"To install/update both hook files and parameters on Gitolite side execute :"

root$ su - redmine
redmine$ cd REDMINE_ROOT
redmine$ RAILS_ENV=production rake redmine_git_hosting:install_gitolite_hooks

Restart apache/nginx and check the Config Test tab again.

    (1-1/1)