john.v...@effnet.com schrieb am Samstag, 19. November 2022 um 17:26:22 UTC+1:After upgrading from 3.6.2 to 3.6.3 $projectroot seems to be <gerrit-git-path>/<repo> which causes gitweb to break.Manually setting it to <gerrit-git-path> in tmp/gitweb_config<id>.perl makes it work again (until that file is replaced).I would assume this issue was introduced as part of https://gerrit-review.googlesource.com/c/gerrit/+/341454/4/java/com/google/gerrit/httpd/gitweb/GitwebServlet.java#586.Thanks for letting us know and for the investigation. Should be fixed in: [1].
On Sunday, November 20, 2022 at 3:55:01 AM UTC David Ostrovsky wrote:john.v...@effnet.com schrieb am Samstag, 19. November 2022 um 17:26:22 UTC+1:After upgrading from 3.6.2 to 3.6.3 $projectroot seems to be <gerrit-git-path>/<repo> which causes gitweb to break.Manually setting it to <gerrit-git-path> in tmp/gitweb_config<id>.perl makes it work again (until that file is replaced).I would assume this issue was introduced as part of https://gerrit-review.googlesource.com/c/gerrit/+/341454/4/java/com/google/gerrit/httpd/gitweb/GitwebServlet.java#586.Thanks for letting us know and for the investigation. Should be fixed in: [1].Thanks @DavidO for the quick fix, and apologies for having broken the functionality.I believe we need a lot more IT testing for the GitwebServlet !
After upgrading from 3.6.2 to 3.6.3 $projectroot seems to be <gerrit-git-path>/<repo> which causes gitweb to break.Manually setting it to <gerrit-git-path> in tmp/gitweb_config<id>.perl makes it work again (until that file is replaced).
Hey there, Fabio,I have just upgraded Gerrit in my environment and I hit this bug. Following the suggestion from OP, I can confirm this as working.The change you are looking for is:$projectroot = '/path/to/your/repositories';