gitlab安装的蛋碎问题
遇到奇葩的权限问题
2015/10/04 00:59:46 [crit] 1659#0: *62 connect() to unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket failed (13: Permission denied) while connecting to upstream, client: 175.188.203.214, server: gitlab.com, request: “GET / HTTP/1.1″, upstream: “http://unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket:/”, host: “gitlab.com”
解决方式:(由于gitlab自己的nginx的账号是gitlab-www运行的,找到gitlab的目录下的文件,增加执行权限)
chmod o+x /var/opt/gitlab/gitlab-rails/sockets/;
chmod o+x /var/opt/gitlab/gitlab-rails/uploads/;