我試圖在我的開發Debian 7(Wheezy)機器上安裝gitlab_6.8.1-omnibus.4-1_amd64.deb
,其中Postgres 9.1已經安裝。Postgres的GitLab Omnibus配置
當我運行sudo gitlab-ctl reconfigure
我抓住了一個錯誤:
Error executing action `run` on resource 'execute[migrate database]'
======================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-rake db:migrate ----
STDOUT:
STDERR: WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
rake aborted!
FATAL: password authentication failed for user "gitlab"
FATAL: password authentication failed for user "gitlab"
我創建兩個用戶git
和gitlab
(使用密碼git
和gitlab
)的Postgres的,但它並沒有幫助。
/var/log/postgresql/postgresql-9.1-main.log
是完全認證的錯誤:
2014-05-10 14:51:30 MSK FATAL: password authentication failed for user "gitlab"
我如何配置PostgreSQL的選項來安裝GitLab搭車?
我已遵循您的解決方案。 Gitlab重新配置運行平穩。但設置並不順利。它與Pgsql無法驗證gilab用戶槽的ident方法有關。你有什麼建議嗎? – under5hell