From 6f9d9ea09ead63bbed43b94f57edf5e05ade661c Mon Sep 17 00:00:00 2001 From: Sytse Sijbrandij Date: Tue, 2 Dec 2014 16:57:52 +0100 Subject: Postgres log location is a directory. --- docker/troubleshooting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/troubleshooting.md') diff --git a/docker/troubleshooting.md b/docker/troubleshooting.md index 415c8f785c0..e2717a13b4a 100644 --- a/docker/troubleshooting.md +++ b/docker/troubleshooting.md @@ -4,7 +4,7 @@ This is to troubleshoot https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2 But it might contain useful commands for other cases as well. The configuration to add the postgres log in vim is: -postgresql['log_directory'] = '/var/log/gitlab/postgresql.log' +postgresql['log_directory'] = '/var/log/gitlab/postgresql' # Commands @@ -20,6 +20,6 @@ sudo docker run --detach --name gitlab --publish 8080:80 --publish 2222:22 --vol sudo docker run -t --rm --volumes-from gitlab_data ubuntu tail -f /var/log/gitlab/reconfigure.log -sudo docker run -t --rm --volumes-from gitlab_data ubuntu cat /var/log/gitlab/postgresql.log +sudo docker run -t --rm --volumes-from gitlab_data ubuntu tail -f /var/log/gitlab/postgresql/current sudo docker run -ti --rm --volumes-from gitlab_data ubuntu /bin/sh -- cgit v1.2.3