1

我终于让 Gitlab 在 Mountain Lion Server 上运行。

除了文件和提交页面外,一切似乎都运行良好,我总是得到“404 您要查找的资源不存在”。

但是存储库在那里并且不是空的,我可以使用 Git Tower 毫无问题地推拉它。

另一个奇怪的行为是网络选项卡就像一个魅力。

bundle exec rake gitlab:check RAILS_ENV=production 看起来也不错

Checking Environment ...

gitlab user is in gitg group? ... yes
Has no "-e" in ~gitolite/.profile ... yes
Git configured for gitlab user? ... yes
Has python2? ... yes
python2 is supported version? ... yes

Checking Environment ... Finished

Checking Gitolite ...

Using recommended version ... no
  Try fixing it:
  We strongly recommend using the version pointed out in the installation guide.
  For more information see:
  doc/install/installation.md in section "Gitolite"
Repo umask is 0007 in .gitolite.rc? ... yes
Allow all Git config keys in .gitolite.rc ... yes
Config directory exists? ... yes
Config directory owned by gitolite:gitg ... yes
Config directory access is drwxr-x---? ... yes
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by gitolite:gitg? ... yes
Repo base access is drwsrws---? ... yes
Can clone gitolite-admin? ... yes
Can commit to gitolite-admin? ... yes
post-receive hook exists? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ... 
Groz Beckert Company Presentation Standalone App ... ok
Git config in repos: ... 
Groz Beckert Company Presentation Standalone App ... ok

Checking Gitolite ... Finished

Checking Sidekiq ...

Running? ... yes

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? ... no
  Try fixing it:
  Install the init script
  For more information see:
  doc/install/installation.md in section "Install Init Script"
  Please fix the error above and rerun the checks.
Init script up-to-date? ... can't check because of previous errors
Projects have satellites? ... 
Groz Beckert Company Presentation Standalone App ... yes

Checking GitLab ... Finished

有人有线索吗?

4

1 回答 1

1

这可能取决于您正在运行的 GitLab 的确切版本:

问题 2698仅在 20 天前由问题 2602解决,似乎表明在子域中使用 gitlab 时出现问题,并带有相关地址链接:

 http://dev.mysite.com:81/gitlab/
于 2013-02-11T12:27:08.863 回答