summaryrefslogtreecommitdiff
path: root/doc/install
diff options
context:
space:
mode:
authorHolger Segnitz <holger@segnitz.net>2014-11-09 17:01:06 +0100
committerHolger Segnitz <holger@segnitz.net>2014-11-09 17:01:06 +0100
commit9b9be55908b5616a72b43706693429d109fec533 (patch)
tree951e4c064e28979f683a103c1967fc0bd78d1d30 /doc/install
parent36f9224e4a79b49d0958476395d1472ba9b52a2a (diff)
downloadgitlab-ce-9b9be55908b5616a72b43706693429d109fec533.tar.gz
ADD: Note on how to setup dns hostname resolution and why it is necessary to make the software run properly.
Diffstat (limited to 'doc/install')
-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 459a21ae821..feeda612a5e 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -286,6 +286,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