From: jamie.couture at gmail.com (Jamie Couture)
Subject: No repositories found
Date: Fri, 9 Mar 2012 20:30:22 -0500 [thread overview]
Message-ID: <CAH-DoZ6zSpKfkZDYT4wem+=7ohiP-WzH+eXpFBNrXnwwSd5=og@mail.gmail.com> (raw)
In-Reply-To: <CAHNFYOPrx1wNRrqrmG1ZTMkGF+qk0ti44ohJqZddAvSu4e4-Zg@mail.gmail.com>
The user your web server is run as cannot read that directory. Try adding
your server's user to your 'git' group. Since it's Ubuntu, default install
sets server as user www-data. Try adding git to that user
for example:
www-data : www-data gitolite
On Fri, Mar 9, 2012 at 8:06 PM, Herry Wang <tech.herry at gmail.com> wrote:
> Hi,
> 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 git.server.com:scripting
> 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 git.server.com:scripting
> * [new branch] master -> master
>
> Here is my cgit configure:
>
> *cat /etc/cgitrc
> *remove-suffix=1
> cache-size=0
> clone-prefix=http://git.server.com/ git at git.server.com:
> source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh
> readme=README
> root-title=My CGIT
> root-desc=My personal git repo
> project-list=/home/git/projects.list
> scan-path=/home/git/repositories
> enable-index-links=1
>
> *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 server.com
> ServerName git.server.com
> #ServerName 127.0.0.1
> DocumentRoot /var/www/htdocs/cgit/
> <Directory /var/www/htdocs/cgit/>
> AllowOverride None
> Options +ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
> 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
> </VirtualHost>
>
>
>
> *gitolite-admin config:*
> cat conf/gitolite.conf
> repo gitolite-admin
> RW+ = herrykey
> repo testing
> RW+ = @all
> repo scripting
> RW+ = herrykey
> ls keydir/
> herrykey.pub
> _______________________________________________
> cgit mailing list
> cgit at hjemli.net
> http://hjemli.net/mailman/listinfo/cgit
>
next prev parent reply other threads:[~2012-03-10 1:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-10 1:06 tech.herry
2012-03-10 1:26 ` tech.herry
2012-03-10 1:30 ` jamie.couture [this message]
[not found] <1883880790.2405652.1475100494275.ref@mail.yahoo.com>
2016-09-28 22:08 ` garyyang6
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH-DoZ6zSpKfkZDYT4wem+=7ohiP-WzH+eXpFBNrXnwwSd5=og@mail.gmail.com' \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).