LoginSignup
3
2

More than 5 years have passed since last update.

GitLabをサブディレクトリで動かすときの罠

Last updated at Posted at 2013-03-11

GitLab 5.0からインストールが簡単になるらしいので、フライング気味ですがmasterの最新を入れてみました。
インストール自体は、READMEを参考にして比較的スムーズにいきました。

ただ、http://example.com/gitlab/ のようにサブディレクトリのURLに割り当てたところ、gitのcloneやpushがうまくいきませんでした。
下記のようなエラーが出ます。

http:// ... /hoge.git/info/refs not found: did you run git update-server-info on the server?

どうも未修正のバグらしく、こちらのパッチを当てたら直りました。

ほかにも通知メールのURLが間違っているなど、サブディレクトリで起動するといくつか地雷があるようです。

手元では他に大きな問題は起きていませんが、
できればサブドメインを割り当て、ルートディレクトリで起動するのが無難かもしれません。

3
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2