No repositories found

Herry Wang tech.herry at
Sat Mar 10 02:06:53 CET 2012

I hit the 'No repositories found' when setup cgit+gitolite on Ubuntu 10.

Seems gitolite is running well. I can push repo to server.

git push --all git at
Counting objects: 134, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (132/132), done.
Writing objects: 100% (134/134), 79.92 KiB, done.
Total 134 (delta 48), reused 0 (delta 0)
To git at
 * [new branch]      master -> master

Here is my cgit configure:

*cat /etc/cgitrc
clone-prefix= git at
root-title=My CGIT
root-desc=My personal git repo

*gitolite files:*

 -rw-r-----  1 git  git     0 2012-03-09 16:53 projects.list
drwxr-x---  5 git  git  4096 2012-03-09 16:53 repositories

*Apache setting for cgit:*
 cat /etc/apache2/sites-available/cgit
<VirtualHost *:80>
ServerAdmin herry at
DocumentRoot /var/www/htdocs/cgit/
<Directory /var/www/htdocs/cgit/>
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
Alias /cgit.png /var/www/htdocs/cgit/cgit.png
Alias /cgit.css /var/www/htdocs/cgit/cgit.css
ScriptAlias / "/var/www/htdocs/cgit/cgit.cgi/"
RewriteRule ^$ / [R]
RewriteRule ^/(.*)$ /cgit.cgi/$1 [PT]
ErrorLog /var/log/apache2/cgit-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/cgit-access.log combined

*gitolite-admin config:*
cat conf/gitolite.conf
repo    gitolite-admin
        RW+     =   herrykey
repo    testing
        RW+     =   @all
repo    scripting
        RW+     =   herrykey
ls keydir/

More information about the CGit mailing list