doppelte überprüfung GitLab-installation : gitlab-shell-self-check fehlgeschlagen

Ich GitLab installiert und alles scheint in Ordnung. Bis ich double check Anwendung status durch ausführen von: sudo -u git -H editor /home/git/gitlab-shell/config.yml. Dieser Artikel ist in rot und scheint ein Fehler:

  gitlab-shell self-check failed
  Try fixing it:
  Make sure GitLab is running;
  Check the gitlab-shell configuration file:
  sudo -u git -H editor /home/git/gitlab-shell/config.yml
  Please fix the error above and rerun the checks.

Ich versuche Eröffnung config.yml aber ich weiß nicht scheinen, um herauszufinden, jede ungewöhnliches. Sie denken, was bin ich?

Außerdem habe ich eine benutzerdefinierte SSH-Verbindung. Was ich nicht verstehe, aus dieser Erklärung:

Custom SSH Connection

If you are running SSH on a non-standard port, you must change the gitlab user's SSH config.

# Add to /home/git/.ssh/config
host localhost          # Give your setup a name (here: override localhost)
    user git            # Your remote git user
    port 2222           # Your port number
    hostname 127.0.0.1; # Your server name or IP
You also need to change the corresponding options (e.g. ssh_user, ssh_host, admin_uri) in the config\gitlab.yml file.

Aus verloren, ich habe nicht diese /home/git/.ssh/config, sollte ich Sie erstellen oder ich bin einfach etwas fehlt?

Mein call stack:

Checking Environment ...

Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.7.4 ? ... OK (1.7.6)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ... can't check, you have no projects
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `initialize': getaddrinfo: Name or service not known (SocketError)
        from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `open'
        from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `block in connect'
        from /usr/local/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
        from /usr/local/lib/ruby/2.0.0/net/http.rb:877:in `connect'
        from /usr/local/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
        from /usr/local/lib/ruby/2.0.0/net/http.rb:851:in `start'
        from /home/git/gitlab-shell/lib/gitlab_net.rb:62:in `get'
        from /home/git/gitlab-shell/lib/gitlab_net.rb:29:in `check'
        from /home/git/gitlab-shell/bin/check:11:in `<main>'
gitlab-shell self-check failed
  Try fixing it:
  Make sure GitLab is running;
  Check the gitlab-shell configuration file:
  sudo -u git -H editor /home/git/gitlab-shell/config.yml
  Please fix the error above and rerun the checks.

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ... can't check, you have no projects
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/local/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.4)

Checking GitLab ... Finished
Sie sind auf der öffnung der Datei mit dem folgenden Befehl aufgelistet werden? Es ist möglich, dass die git-Benutzer kann die Datei nicht öffnen, da die Datei-Berechtigungen falsch sein können.
Ja, das Tue ich. Ich wusste nur zu beobachten, was auf die Produktion readme
Sie können kopieren Sie den call-stack, die führt zu der Fehlermeldung?
Pardon, aber wie kann ich Ihnen das?
Dann zurück in die /etc/hosts (der gitlab-server, wie bereits in github.com/gitlabhq/gitlab-shell/issues/...). Ich bearbeitet meine Antwort.

InformationsquelleAutor Leandro Garcia | 2013-11-08

Schreibe einen Kommentar