0

Possible Duplicate:
gitolite push error -> remote: ENV GL_RC not set

I'm setting up gitolite, i have cloned the gitolite-admin.git with gitolite@gitserver:/home/gitolite/repositories/gitolite-admin.git

Updated config file and keydir, when I try to push i'm getting below error, please help

Counting objects: 7, done.  
Delta compression using up to 4 threads.  
Compressing objects: 100% (3/3), done.  
Writing objects: 100% (4/4), 402 bytes, done.  
Total 4 (delta 0), reused 0 (delta 0)  
remote: ENV GL_RC not set  
remote: BEGIN failed--compilation aborted at hooks/update line 20.  
remote: error: hook declined to update refs/heads/master  
To gitolite@gitserver:/home/gitolite/repositories/gitolite-admin.git  
 ! [remote rejected] master -> master (hook declined)  
error: failed to push some refs to'gitolite@gitserver:/home/gitolite/repositories/gitolite-admin.git' 

my .gitolite.rc looks like below

   # $GL_ALL_READ_ALL = 0;
   $GIT_PATH="";
   $GL_GITCONFIG_KEYS = "";
   # $GL_GITCONFIG_WILD = 0;
   $GL_NO_CREATE_REPOS = 0;
   $GL_NO_SETUP_AUTHKEYS = 0;
   # $GL_WILDREPOS_DEFPERMS = 'R @all';
   $HTPASSWD_FILE = "";
   $RSYNC_BASE = "";
   $SVNSERVE = "";`
Community
  • 1
  • 1
maestromani
  • 841
  • 1
  • 9
  • 31
  • Yes: I confirm ;) (I wrote the answer @melee mentions). Specifying the full path won't work with the gitolite update command script. `git push gitolite@gitserver:gitolite-admin.git master` should work. – VonC Jul 22 '11 at 17:22
  • @VonC you're the gitolite/git `master`! I appreciate your insight. – Nic Jul 22 '11 at 17:28
  • @melee, Thanks a lot for the fast comments, git push gitolite@gitserver:gitolite-admin.git master returned 1. fatal: 'gitolite-admin.git' does not appear to be a git repository 2. fatal: The remote end hung up unexpectedly... I don't want to uninstall so opened new thread. – maestromani Jul 22 '11 at 17:52

0 Answers0