ricwein / gitlab-uberspace-tutorial

Howto install GitLab at https://uberspace.de (look at Branches for different Gitlab-Versions)
43 stars 9 forks source link

Tipp: gitlab_url in config.yml bei eigener Domain (gitlab.xyz.de) #1

Closed bbbenjie closed 8 years ago

bbbenjie commented 9 years ago

Hallo @ricwein, meine GitLab-Installation ist über eine eigene (Sub-)Domain mit gültigem/vertrauenswürdigem SSL-Zertifikat erreichbar. Deine Anleitung, die gitlab_url folgendermaßen zu konfigurieren...

gitlab_url: "https://[Nutzername].[Host].uberspace.de"

...erzeugte folgenden 404-Fehler in der gitlab-shell.log nach Ausführen von /home/USERNAME/gitlab-shell/bin/check:

E, [2015-07-07T20:02:48.510307 #30073] ERROR -- : API call https://USERNAME.HOST.uberspace.de/api/v3/internal/check> failed: 404 => <<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

404 Not Found

Not Found

The requested URL /api/v3/internal/check was not found on this server.


Apache/2.2.3 (CentOS) Server at USERNAME.HOST.uberspace.de Port 443

Auch wenn "https://gitlab.xyz.de" eingetragen ist, gibt es einen Fehler:

W, [2015-07-07T19:57:56.888970 #5552] WARN -- : Failed to connect to internal API <POST https://gitlab.xyz.de/api/v3/internal/allowed>: #<OpenSSL::SSL::SSLError: hostname "gitlab.xyz.de" does not match the server certificate>

Schlussendlich war das hier die Lösung:

gitlab_url: "https://localhost:PORT"