视频里修改了gitlab.rb配置,怎么没有看你取消#注释生效,就直接gitlab-ctl reconfigure
来源:2-3 GitLab安装配置管理

王子正
2018-09-29
视频里修改了gitlab.rb配置,怎么没有看你取消#注释生效,就直接gitlab-ctl reconfigure
2回答
-
感谢这位同学的关注,这里gitlab因为默认使用gitlab.example.com作为初始域名,这里注释去掉或者不去掉实际是一样的效果,这里报错可以查看下证书是否生成正确,以及权限是否为600,最后查看gitlab配置文件的路径是否和你生成的证书文件一致。
052020-02-19 -
王子正
提问者
2018-09-29
Recipe: gitlab::postgres-exporter
* service[postgres-exporter] action restart
- restart service service[postgres-exporter]
* ruby_block[restart postgres-exporter svlogd configuration] action create
- execute the ruby block restart postgres-exporter svlogd configuration
* ruby_block[reload postgres-exporter svlogd configuration] action create
- execute the ruby block reload postgres-exporter svlogd configuration
Running handlers:
There was an error running gitlab-ctl reconfigure:
letsencrypt_certificate[gitlab.qqqq.com] (letsencrypt::http_authorization line 3) had an error: RuntimeError: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 20) had an error: RuntimeError: [gitlab.qqqq.com] Validation failed for domain gitlab.qqqq.com
Running handlers complete
Chef Client failed. 442 resources updated in 04 minutes 25 seconds
失败了,不知道什么原因,,,012018-12-02
相似问题