將gitlab從9.5.8升級(jí)至10.1.0但升級(jí)后訪問(wèn)gitlab站點(diǎn)一直是502
1 回答

POPMUISE
TA貢獻(xiàn)1765條經(jīng)驗(yàn) 獲得超5個(gè)贊
運(yùn)行 gitlab-ctl reconfigure 出現(xiàn)下面的錯(cuò)誤:
YAML syntax error occurred while parsing /opt/gitlab/embedded/service/gitlab-rails/config/database.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Error: (<unknown>): found unknown escape character while parsing a quoted scalar at line 12 column 13
打開(kāi) database.yml 一看,發(fā)現(xiàn)字符串中的"#"被替換成了"\#",到 /etc/gitlab/gitlab.rb 配置文件中將"#"改為"#"后,重新運(yùn)行 gitlab-ctl reconfigure 問(wèn)題解決。
- 1 回答
- 0 關(guān)注
- 1000 瀏覽
添加回答
舉報(bào)
0/150
提交
取消