summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-09-25 10:59:36 +0200
committerRobert Speicher <rspeicher@gmail.com>2015-09-28 22:52:55 -0400
commitf55e74235c5baf039c61205303af8e296a863317 (patch)
treed52d6b74fe97f019facc918254b878ce6b52b2b2
parent9683d1ef1f245ba3f270e4139b6146ce5d5bc8ac (diff)
downloadgitlab-ce-f55e74235c5baf039c61205303af8e296a863317.tar.gz
Make sure Unicorn listens on localhost:8080
[ci skip]
-rw-r--r--doc/update/7.14-to-8.0.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/update/7.14-to-8.0.md b/doc/update/7.14-to-8.0.md
index ed5c6c99e78..86c0825dff9 100644
--- a/doc/update/7.14-to-8.0.md
+++ b/doc/update/7.14-to-8.0.md
@@ -87,6 +87,19 @@ cd gitlab-git-http-server
sudo -u git -H make
```
+Make sure your unicorn.rb file contains a 'listen' line for
+'127.0.0.1:8080' and that this line is not commented out.
+
+```
+cd /home/git/gitlab
+grep ^listen config/unicorn.rb
+
+# If there is no 'listen' line for 127.0.0.1:8080, add it:
+sudo -u git tee -a config/unicorn.rb <<EOF
+listen "127.0.0.1:8080", :tcp_nopush => true
+EOF
+```
+
If your Git repositories are in a directory other than `/home/git/repositories`,
you need to tell `gitlab-git-http-server` about it via `/etc/gitlab/default`.
See `lib/support/init.d/gitlab.default.example` for the options.