有人配置 gitlab-cli mysql 成功过没,我按照官方配置后,gitlab 站点报502
请大神指点12
postgresql['enable'] = false
gnilitlab_rails['db_adapter'] = "mysql2"
gitlab_rails['db_encoding'] = "unicode"
gitlab_rails['db_database'] = "gitlabhq_production"
gitlab_rails['db_pool'] = 10
gitlab_rails['db_username'] = "gitlab"
gitlab_rails['db_password'] = "xxxxx"
gitlab_rails['db_host'] = "localhost"
gitlab_rails['db_port'] = 3306
gitlab_rails['db_socket'] = "/var/lib/mysql/mysql.sock"
1
mengzhuo 2015-04-19 22:31:00 +08:00
502啥的
连日志都没有? p.s. 王公子竟然有空研究这个? |
2
tczzjin 2015-04-20 14:00:02 +08:00
502查日志吧...是不是表没init到mysql...
|
5
hobbyliu OP @tczzjin[error] 13591#0: *1 connect() to unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket failed (111: Connection refused) while connecting to upstream, client: 222.35.120.56, server: aliyun-bj.com.com, request: "GET / HTTP/1.1", upstream: "http://unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket:/", host: "git.khk.cc"
|