summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-05-27 07:11:44 +0000
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-05-27 07:11:44 +0000
commit8044b4d2785fb57e1b19e078aeed862ff65fbbfe (patch)
tree32f736b1a661ee9e7b5cae9cf59ca29d79d0c7cb
parentcc0f223858f17f5981f99eacb38e84c76a4f0188 (diff)
parent9b9be55908b5616a72b43706693429d109fec533 (diff)
downloadgitlab-ce-8044b4d2785fb57e1b19e078aeed862ff65fbbfe.tar.gz
Merge branch 'master' into 'master'
ADD: Note on how to setup dns hostname resolution to installation manual Hi, I'm suggesting to add the following note to the installation instructions. It took me some time to figure out why the test failed and why I wasn't able to push. The error messages did not point into the right direction so this might help other people with the same problems. I hope my english is good enough, if not, please feel free to rephrase anything. Thank you in advance, Holger Segnitz See merge request !236
-rw-r--r--doc/install/installation.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index d167d2889bb..1db2b438292 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -302,6 +302,8 @@ GitLab Shell is an SSH access and repository management software developed speci
**Note:** If you want to use HTTPS, see [Using HTTPS](#using-https) for the additional steps.
+**Note:** Make sure your hostname can be resolved on the machine itself by either a proper DNS record or an additional line in /etc/hosts ("127.0.0.1 hostname"). This might be necessary for example if you set up gitlab behind a reverse proxy. If the hostname cannot be resolved, the final installation check will fail with "Check GitLab API access: FAILED. code: 401" and pushing commits will be rejected with "[remote rejected] master -> master (hook declined)".
+
### Initialize Database and Activate Advanced Features
sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production