I am having problem with pushing to my server which hosts redmine and repositories. I do have gitolite redmine plugin for redmine & latest gitolite v3.5.x. When i clone repository i.e.
git clone git@<ip address>:repositories/test-project-redmine.git
// btw: i do get asked for password even though i have send my public key to redmine ?
this repository is cloned without a problem. When i create a simple readme.txt file and then i try to push this back to the repository i get the following
any one what can cause this issue ? Thanks :)
Update:
I have run find / -path '*Gitolite/Hooks/Update.pm' -print 2>/dev/null
and yes the files do exist. Also i have checked the file permissions for user 'git'
who runs the repositories and he has all required permissions. Picture attached.
however search did not return anything regarding perl
I have found THIS on the github - official plugin page - theoretical solution to the problem. I have done as suggested with inserting this:
__DATA__
#!/usr/bin/perl
BEGIN {
exit 0 if exists $ENV{GL_BYPASS_UPDATE_HOOK};
}
use strict;
use warnings;
...
into the following files:
/<git user home dir>/bin/lib/Gitolite/Hooks/Update.pm
/<git user home dir>/gitolite/src/lib/Gitolite/Hooks/Update.pm
/<git user home dir>/.gitolite/hooks/common/update
however still no success... ?