Hi
i tried to setup gitlab to use extenral psql (this psql is new db. have no data).
but when i run gitlab-ctl reconfigure i am the error.
Here is my config on gitlab:
/etc/gitlab/gitlab.rb
Disable the bundled Omnibus provided PostgreSQL
postgresql[‘enable’] = false
PostgreSQL connection details
gitlab_rails[‘db_adapter’] = ‘postgresql’
gitlab_rails[‘db_encoding’] = ‘unicode’
gitlab_rails[‘db_host’] = ‘192.168.1.33’ # IP/hostname of database server
gitlab_rails[‘db_password’] = ‘admin’
gitlab-ctl reconfigure
Error message:
There was an error running gitlab-ctl reconfigure:
rails_migration[gitlab-rails] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: bash[migrate gitlab-rails database] (gitlab::database_migrations line 18) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. STDOUT/STDERR suppressed for sensitive resource