diff options
-rw-r--r-- | docker/troubleshooting.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 |