Hello, 

Some of our developers have reported that the "Changes" tab in merge 
requests is broken. The issue seems to be the JSON response to populate the 
"Changes" tab is either truncated or completely broken similar to the 
symptoms in this posting: 

http://stackoverflow.com/questions/10557927/server-response-gets-cut-off-half-way-through

Looking at the nginx error logs we're getting lots of permission denied 
errors: 

2015/07/30 09:48:29 [crit] 12580#0: *328 open() 
"/var/opt/gitlab/nginx/proxy_temp/9/02/0000000029" failed (13: Permission 
denied) while reading upstream, client: 10.136.108.225, server: 
git.lhsc.on.ca, request: "GET 
/pricery/SJHC_Intranet/merge_requests/15/diffs HTTP/1.1", upstream: 
"http://unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket:/pricery/SJHC_Intranet/merge_requests/15/diffs";,
 
host: "git.lhsc.on.ca"

Permissions on the proxy_temp directory look fine to me: 

root@git:/var/log/gitlab/nginx# ls -l /var/opt/gitlab/nginx/
total 28
drwx------  2 gitlab-www git        4096 Jul 22 15:03 client_body_temp
drwxr-x---  2 root       gitlab-www 4096 Jul 30 09:04 conf
drwx------  2 gitlab-www git        4096 Mar  2 08:11 fastcgi_temp
lrwxrwxrwx  1 git        git          21 Mar  2 08:11 logs -> 
/var/log/gitlab/nginx
-rw-r--r--  1 root       root          6 Jul 30 09:05 nginx.pid
drwx------ 12 gitlab-www git        4096 Mar 17 12:46 proxy_temp
drwx------  2 gitlab-www git        4096 Mar  2 08:11 scgi_temp
drwx------  2 gitlab-www git        4096 Mar  2 08:11 uwsgi_temp


But the directories in there are owned by "git" rather than "git-www", is 
this correct? 

root@git:/var/log/gitlab/nginx# ls -l /var/opt/gitlab/nginx/proxy_temp/
total 40
drwx------  9 git git 4096 Apr 15 09:48 0
drwx------  9 git git 4096 Apr 10 15:30 1
drwx------  9 git git 4096 Apr 10 15:30 2
drwx------  9 git git 4096 Apr 10 15:30 3
drwx------ 10 git git 4096 Apr 17 09:53 4
drwx------  9 git git 4096 Apr 10 15:51 5
drwx------  9 git git 4096 Apr 14 10:28 6
drwx------  9 git git 4096 Apr 14 10:28 7
drwx------  9 git git 4096 Apr 14 10:28 8
drwx------  9 git git 4096 Apr 14 15:53 9


I just changed our CE install to pull from the gitlab repos this morning 
and apt updated gitlab but that didn't fix the issue. Are these file 
permissions correct for a CE install? 



-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/57c4f9f1-5472-4f4c-a35d-13984c6c56c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to