Sorry, I’ve left the end of the output but now it can be found here: http://pastebin.com/NYftSBhQ
I don’t know how the keys file gone into /var/opt/gitlab. I’ve done a manual installation by the method at gitlab.com. There are three keys in the file and all of them points to /home/git/gitlab-shell/bin/gitlab-shell
Should I move them somewhere else?
It is still not working.
How can I get detailed information about what went wrong during the Dumping PostgreSQL database gitlabhq_production ... [FAILED] process?
Is it a postgresql dump command that wants to run? According to the postgresql documentation it needs the database to be offline but I don’t think that this gives such an error.
I’ve found lib/backup/database.rb and that contains pg_dump as db backup method. I’ve tried pg_dump manually by the command sudo -u git pg_dump -h /var/run/postgresql gitlabhq_production > backup and that creates the file as expected. (Altough I’m curious whether this file will be usable or not in emergency according to the postgresql documentation.) So the problem should be the command before the pg_dump that is: pg_env that is likely to be:
def pg_env
ENV['PGUSER'] = config["username"] if config["username"]
ENV['PGHOST'] = config["host"] if config["host"]
ENV['PGPORT'] = config["port"].to_s if config["port"]
ENV['PGPASSWORD'] = config["password"].to_s if config["password"]
end