2013-02-11 2 views
1

Наконец-то я получил Gitlab, работающий на сервере Mountain Lion.Gitlab 404 on Files a Commit Pages

Все, кажется, работает отлично, за исключением файлов и Commit Pages, я всегда получаю «404 Ресурс, который вы искали, не существует».

Но репозиторий существует и не пуст, я могу без проблем нажимать и тянуть его с башней Git.

И еще одно странное поведение заключается в том, что вкладка «Сеть» работает как шарм.

расслоение Exec грабли gitlab: проверить RAILS_ENV = производство выглядит также прекрасно

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 

Каждый получил ключ?

ответ

0

Это может зависеть от какой именно версии GitLab вы работаете:

Issue 2698, решена лишь 20 дней назад Issue 2602, кажется, указывает на проблему при использовании gitlab в подобласти, с относительным адресом ссылки:

http://dev.mysite.com:81/gitlab/ 
+0

Еще раз спасибо за подсказку! Я думал, что этого достаточно, чтобы определить RailsBaseURI в моем Apache conf, но, как оказалось, мне пришлось добавить 'ENV ['RAILS_RELATIVE_URL_ROOT']' в мой config/environment/production.conf и раскомментировать 'relative_url_root:' в config /gitlab.yml – zentur