Issues with cgit: projects.list

arti uavarti at gmail.com
Tue Aug 30 22:22:35 CEST 2011


Hi Lars,

sorry to contact you directly. I've already spend long time in
investigation, but could not find a solution.
I setup a git server locally following the instructions of the PROGIT
book. In addition to that I installed also gitolite as per its author
instructions. This part is working fine. This setup was then completed
with the cgit installation according your readme.

Apache is showing the cgit site correctly, but always tells that there
is no repository. Apache error log shows:

[Tue Aug 30 21:59:02 2011] [error] [client 192.168.1.2] Error opening
projectsfile /home/git/projects.list : No such file or directory (2)

The file is present, with the right access rights. I dont see where the
issue is. Can you give me a hint?

Regards,

Arti


Here my config (lates cgit from master), on ubuntu 11.04 server:

cgit.conf:
CGIT_SCRIPT_PATH = /usr/lib/cgi-bin
CGIT_DATA_PATH = /var/www


/etc/cgitrc:
logo=/cgit.png
css=/cgit.css
project-list=/home/git/projects.list
scan-path=/home/git/repositories
enable-index-links=1

in /home/git there are the repositories located and the file projects.list:
(the rights might not be ideal after many experiments)

drwx------ 2 git  git      4096 2011-08-29 23:24 .cache
drwx------ 8 git  git      4096 2011-08-29 23:22 .gitolite
-rw-r--r-- 1 git  git      4103 2011-08-30 00:23 .gitolite.rc
-rw-r--r-- 1 git  git       675 2011-08-29 23:21 .profile
-rwxr-xr-x 1 git  www-data   21 2011-08-30 00:24 projects.list
-rw-r----- 1 git  git        21 2011-08-30 00:24 projects.list.org
drwxr-xr-x 5 git  www-data 4096 2011-08-29 23:29 repositories



content of projects.list:

test.git
testing.git







More information about the CGit mailing list