Hello there, I have a brand new install of Ubuntu 14.04 on a virtual server from a provider.
Was following the step by step installation process.
And after the last step trying to install git with sudo EXTERNAL_URL=“http://gitlab.example.com” apt-get install gitlab-ee (replacing the " " with my url .
I get the following error.
There was an error running gitlab-ctl reconfigure:
bash[migrate gitlab-rails database] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with , but received ‘1’
---- Begin output of “bash” “/tmp/chef-script20180109-15873-17f81gx” ----
STDOUT: rake aborted!
PG::ConnectionBad: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/var/opt/gitlab/postgresql/.s.PGSQL.5432”?
block (3 levels) in <top (required)>' /opt/gitlab/embedded/bin/bundle:23:in load’
Tasks: TOP => gitlab:db:configure
(See full trace by running task with --trace)
---- End output of “bash” “/tmp/chef-script20180109-15873-17f81gx” ----
Ran “bash” “/tmp/chef-script20180109-15873-17f81gx” returned 1
Running handlers complete
Chef Client failed. 6 resources updated in 01 minutes 20 seconds
dpkg: error processing package gitlab-ee (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
maybe someone can help me out to fix this. I was installing gitlab as root , haven’t created a subdomain for gitlab.