Postgres的GitLab Omnibus配置

 尛妙苗_549 发布于 2023-01-15 18:34

我正在尝试安装gitlab_6.8.1-omnibus.4-1_amd64.deb我的开发Debian 7(Wheezy)机器,其中已经安装了Postgres 9.1.

当我跑的时候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"

我在Postgres中创建了两个用户gitgitlab(使用密码gitgitlab),但它没有帮助.

/var/log/postgresql/postgresql-9.1-main.log 充满了身份验证错误:

2014-05-10 14:51:30 MSK FATAL:  password authentication failed for user "gitlab"

如何配置PostgreSQL选项来安装GitLab Omnibus?

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有