Tôi đang cố gắng cài đặt gitlab_6.8.1-omnibus.4-1_amd64.deb
trên máy phát triển Debian 7 (Wheezy) của tôi nơi Postgres 9.1 đã được cài đặt.Cấu hình GitLab Omnibus cho Postgres
Khi tôi chạy sudo gitlab-ctl reconfigure
tôi bắt một lỗi:
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"
Tôi tạo ra cả người dùng git
và gitlab
(với mật khẩu git
và gitlab
) trong Postgres nhưng nó đã không giúp đỡ.
/var/log/postgresql/postgresql-9.1-main.log
là đầy đủ các lỗi xác thực:
2014-05-10 14:51:30 MSK FATAL: password authentication failed for user "gitlab"
Làm thế nào tôi có thể cấu hình tùy chọn để cài đặt PostgreSQL GitLab Omnibus?
Tôi đã theo dõi giải pháp của bạn. Cấu hình lại Gitlab chạy trơn tru. Nhưng thiết lập đã không diễn ra tốt đẹp. Nó liên quan đến Pgsql không xác thực phương thức nhận dạng máng của người dùng gilab. Bạn có lời khuyên nào cho tôi không? – under5hell