Bug ID 1181130
Summary gitolite: add nginx to group git
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware x86-64
OS openSUSE Leap 15.2
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter cunix@mail.de
QA Contact qa-bugs@suse.de
CC chris@computersalat.de, ngompa13@gmail.com
Found By ---
Blocker ---

As beginner I tried to setup pagure with nginx on Leap 15.2 following [1].

nginx produced error log containing:

connect() to unix:/srv/gitolite/.pagure_web.sock failed (13: Permission denied)
while connecting to upstream


For me it looks as nginx is not allowed to access directory /srv/gitolite .

Adding user "nginx" to group "git" worked for me.

Perhaps what is done in [2] to "wwwrun" should be replicated for "nginx"?


CC to maintainers of gitolite and pagure who probably know much better and
might be able to tell what I did wrong or misunderstood.


[1]
https://build.opensuse.org/package/view_file/openSUSE:Leap:15.2/pagure/pagure-README.SUSE

[2]
https://build.opensuse.org/package/view_file/devel:tools:scm/gitolite/gitolite.spec
line 81-83


You are receiving this mail because: