Just configured gitweb, only shows "Not Found" on 2 huge repositories

152 views
Skip to first unread message

Bruno Lambert

unread,
Sep 11, 2019, 9:21:56 PM9/11/19
to Repo and Gerrit Discussion
Greetings,

I finally installed gitweb (1.8.3.1-20.el7) on our CentOS 7 box on top of Gerrit (2.16.2). I used the documentation in https://gerrit-review.googlesource.com/Documentation/config-gitweb.html#_internal_managed_gitweb. Everything works fine, except for two of our repositories.

Those two repositories give me immediate "Not Found" error in the interface. No fancy message, the page source doesn't show any HTML, just "Not Found". The Page takes ~40ms to load, so it's not reaching any timeout. 

The only thing that I can see different is that those 2 repositories are huge, about 2Gb. While the size also makes me scream/cry/ashamed due to no git repo should ever get that big, right now we can't make them smaller.

Is there a config in gitweb/gerrit that would do that?

Current gerrit.config includes :
[gitweb]
        cgi = /var/www/git/gitweb.cgi
        type = gitweb

Change in /var/www/git/gitweb are mostly aesthetic and changing the projectroot.
All permission in my projectroot are the same for all project.

Thanks in advance.

Matthias Sohn

unread,
Sep 12, 2019, 3:36:16 AM9/12/19
to Bruno Lambert, Repo and Gerrit Discussion
anything wrong with file system permissions ?

Another option would be to use gitiles [1] which can be integrated using the gitiles plugin [2].
It's a core plugin since 3.0.

Bruno Lambert

unread,
Sep 12, 2019, 9:38:40 AM9/12/19
to Repo and Gerrit Discussion
Gitiles wasn't part of my installation, just downloaded from https://gerrit-ci.gerritforge.com/job/plugin-gitiles-bazel-stable-2.16/ and works out of the box, even on my 2 bug repos.

There isn't much configuration available, but so far seems to fit the need. Will continues to test but looks good so far.

Thanks a lot.
Reply all
Reply to author
Forward
0 new messages