Re: Re: CGIT 0.8.3.1 "chokes" on some bare repos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 3, 2010 at 19:10,  <Euguess@xxxxxxxxx> wrote:
> The command you provided is not giving any error messages in one of the
> repositories which shows incorrectly.
>
> As for URL - unfortunately it cannot be done as all the code is on closed
> LAN

Ok. Try the following:

1) make sure caching is disabled in /etc/cgitrc (nocache=1)
2) find the repo.url setting for the troublesome repo in /etc/cgitrc
3) run `PATH_INFO=$BAD_REPO_URL /path/to/cgit.cgi 1>cgit.html 2>cgit.log`
4) check if cgit.html is ok - if so, your problem is probably due to
stale cache entries which could be caused by permission problems or
stale *.lock files in /var/cache/cgit
5) check cgit.log for any errormessage - if there's errors but they
don't make any sense to you, try repeating step 3 but run cgit under
either strace or gdb.
6) please report the results of this experiment ;)

--
larsh
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]