私はまだ解決できない問題でしばらく苦労してきました。助けていただければ幸いです。私がしたこと: 1) http://docs.gitlab.com/omnibus/docker/に従って、サーバーの Ubuntu 16.04.1 LTS 仮想マシンに docker イメージ (8.9.6-ce.0) を使用して Gitlab-CE をインストールします。 README.html 2) ローカルでユーザーをセットアップし、同じ LAN 内のマシンにいくつかのプロジェクトをプッシュします >> すべて正常に動作します 3) ファイアウォールに新しいマッピングを追加して、gitlab-machine-ip:80 > example.org:8138 をマップします。 httpでgitlabにアクセスできること
http://example.org:8138の Web インターフェースにアクセスして使用できるようになりました 問題点: :8138 ポートが見つからないため (example.org の部分を取得するため)、クローン プロジェクトの URL が正しく表示されません。 --host 設定から docker コンテナーに渡されます)。URL にカスタム ポートを手動で追加すると、クローン作成は正常に機能します
これを解決したかったので、gitlab.rb の external_url 設定を次のように設定してみました: external_url ' http://example.org:8138 ' を再起動しました (手動で gitlab-ctl configure を呼び出してみました)
ステータスは、 http: //example.org:8138 でWEB インターフェースにこれ以上アクセスできないということです。ブラウザで ERR_CONNECTION_REFUSED を取得します。
たくさんの問題レポートを読みましたが、どれも問題の解決に役立ちませんでした: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/244 >> (私は外部の NGINX を使用していません)これについて読んだ後、8.11への更新も試みました: https://gitlab.com/gitlab-org/gitlab-ce/issues/20131しかし、それは助けにはなりませんでした
ここで何が起こっているのか本当にわかりません。gitlab-rake gitlab:env:info および gitlab-rake gitlab:check の出力は次のとおりです。
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:2.3.0
Rake Version: 10.5.0
Sidekiq Version:4.1.4
GitLab information
Version: 8.11.3
Revision: 6cd4edb
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://example.org:8138
HTTP Clone URL: http://example.org:8138/some-group/some-project.git
SSH Clone URL: git@example.org:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 3.4.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Checking GitLab Shell ...
GitLab Shell version >= 3.4.0 ? ... OK (3.4.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
telemed / banca ... ok
telemed / calcolatrice ... ok
telemed / chat ... ok
telemed / collections ... ok
telemed / interfacce ... ok
telemed / partite ... ok
telemed / polimorfismo ... ok
telemed / ristoranti ... ok
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
telemed / banca ... yes
telemed / calcolatrice ... yes
telemed / chat ... yes
telemed / collections ... yes
telemed / interfacce ... yes
telemed / partite ... yes
telemed / polimorfismo ... yes
telemed / ristoranti ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.1)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.7.4)
Active users: 4
Checking GitLab ... Finished