hi,
    i got some errors when i checked the commands:sudo -u git -H bundle 
exec rake gitlab:check RAILS_ENV=production.

eg:
Check GitLab API access: FAILED. code: 403
gitlab-shell self-check failed

check the log find:

 connect() to unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket 
failed (13: Permission denied) while connecting to upstream, client: 
192.168.46.162, server: 192.168.46.162, request: "GET 
/api/v3/internal/check HTTP/1.1", upstream: 
"http://unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket:/api/v3/internal/check";,
 
host: "192.168.46.162"
2017/06/04 01:09:23 [error] 5823#0: *3 open() 
"/home/git/gitlab/public/502.html" failed (13: Permission denied), client: 
192.168.46.162, server: 192.168.46.162, request: "GET 
/api/v3/internal/check HTTP/1.1", upstream: 
"http://unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket/api/v3/internal/check";,
 
host: "192.168.46.162"



[root@localhost gitlab]# ls -al /home/git/gitlab/tmp/sockets/
total 8
drwxr-xr-x. 2 git git 4096 Jun  4 01:23 .
drwxr-xr-x. 6 git git 4096 Jun  1 19:24 ..
-rw-r--r--. 1 git git    0 Jun  1 08:54 .gitkeep
srwxrwxrwx. 1 git git    0 Jun  4 01:05 gitlab.socket
srwxrwxrwx. 1 git git    0 Jun  4 01:05 gitlab-workhorse.socket

In the nginx config file, i use 'user nginx " or ''user git" but still got 
this error.

  anyone can help me?



-- 
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/d0079d37-70bf-45df-9eb1-f9dae79b8676%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to