質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Gitlab CE

GitLabのオープンソース版で、Community Editionのこと。 deb、rpmパッケージで提供されており、比較的簡単にインストールすることができます。

Q&A

1回答

2163閲覧

gitlabのurl設定

naonao11

総合スコア97

Ubuntu

Ubuntuは、Debian GNU/Linuxを基盤としたフリーのオペレーティングシステムです。

Gitlab CE

GitLabのオープンソース版で、Community Editionのこと。 deb、rpmパッケージで提供されており、比較的簡単にインストールすることができます。

0グッド

0クリップ

投稿2018/06/26 10:02

編集2018/07/17 08:22

只今、ubuntu 18.04LTSを用いてgitlab-ceを導入しようとしています。
1.自分が行ったこと

端末から以下を入力しました。

$ sudo apt-get install curl openssh-server ca-certificates postfix
$ curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
$ cat /etc/apt/sources.list.d/gitlab_gitlab-ce.list
$ sudo apt-get install gitlab-ce

ここでgitlab.rbのexternal_urlを設定

external_url 'http://example.jp'
$ sudo gitlab-ctl reconfigure

2.エラー

以下のようなエラーが出てきました。
・アクセスしようとしているサイトを見つけられません。

またgitlab.rbのexternal_urlを設定をいかにすると動く。

external_url='GENERATED_EXTERNAL_URL'

なぜこのようになったのかがわかりません・・・
ご助力をいただけたら幸いです。

追記

gitlab-ctl status

上記を行なった際に以下のような警告がでました。

warning: alertmanager: unable to open supervise/ok: access denied warning: gitaly: unable to open supervise/ok: access denied warning: gitlab-monitor: unable to open supervise/ok: access denied warning: gitlab-workhorse: unable to open supervise/ok: access denied warning: logrotate: unable to open supervise/ok: access denied warning: nginx: unable to open supervise/ok: access denied warning: node-exporter: unable to open supervise/ok: access denied warning: postgres-exporter: unable to open supervise/ok: access denied warning: postgresql: unable to open supervise/ok: access denied warning: prometheus: unable to open supervise/ok: access denied warning: redis: unable to open supervise/ok: access denied warning: redis-exporter: unable to open supervise/ok: access denied warning: sidekiq: unable to open supervise/ok: access denied warning: unicorn: unable to open supervise/ok: access denied

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

external_url 'http://example.jp'

は、

external_url 'example.jp' だったりしませんか?

投稿2018/06/27 03:54

CHERRY

総合スコア25171

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

naonao11

2018/06/27 06:30

ありがとうございます!同じ結果であってうまく行きませんでした。。。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問