summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytses@gmail.com>2014-12-02 16:57:52 +0100
committerSytse Sijbrandij <sytses@gmail.com>2014-12-02 16:57:52 +0100
commit6f9d9ea09ead63bbed43b94f57edf5e05ade661c (patch)
tree3eff1392b76353a0078f9050b735931282d5b087 /docker
parenta33cb855302f189f3510fc2fbe73851d9d7a7b74 (diff)
downloadgitlab-ce-6f9d9ea09ead63bbed43b94f57edf5e05ade661c.tar.gz
Postgres log location is a directory.
Diffstat (limited to 'docker')
-rw-r--r--docker/troubleshooting.md4
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