August 24, 2012 | Posted in:Uncategorized

I finally got the repository browser to work happily in Redmine for my git repositories which are setup through gitolite. I kept getting an error when I would go to the “Repository” tab for my projects which said:

The entry or revision was not found in the repository.

Well, thanks to a kind user sharing his knowledge on Stack Overflow I now have all of my git repositories as a working part of my Redmine project management web site! To most this is probably not a huge deal but it was an annoying thing to me and now I am happy because it is working like it should 🙂

Here is the magic that makes this happen…

Edit the .gitolite.rc file which should be located in your git user and add this towards this top:

$REPO_UMASK = 0027;

Make sure that the user that is running your web processes is in the right group (i.e. gitolite) and then recursively add read and execute permissions on the repositories directory for the group:

chmod -R g+rx $HOME/repositories

Reference Link:
http://stackoverflow.com/questions/5205637/accessing-git-repositories-with-redmine-permissions-problem

Be the first to comment.

Leave a Reply


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*