1

Я не знаю, что делать, я запустил скрипт для запуска Gitlab, который говорит: «Служба GitLab перезапущена», но это не так: я не могу получить к нему доступ через браузер, и порт не открывается, когда я вызываю netstat -tuplen | grep 8080 (я изменил порт в gitlab.yml на 8080, потому что Apache уже работает в 80).

Я посмотрел на файлы журналов (все они), и ничего не происходит.

Я заставил старт вручную, позвонив:

RAILS_ENV=production bundle exec rake sidekiq:stop

затем

RAILS_ENV=production bundle exec rake sidekiq:start

Все еще никакой порт не открыт в 8080!

Если я вызываю чек (bundle exec rake gitlab:check RAILS_ENV=production), вот результат:

Checking Environment ...

Git configured for gitlab user? ... yes
Has python2? ... yes
python2 is supported version? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.4.0 ? ... OK (1.4.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by gitlab:gitlab? ... yes
Repo base access is drwxrws---? ... yes
post-receive hook up-to-date? ... yes
post-receive hooks in repos are links: ... can't check, you have no projects

Checking GitLab Shell ... 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? ... yes
Init script up-to-date? ... no
  Try fixing it:
  Redownload 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.
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)

Checking GitLab ... Finished

Для информации :

  • Ошибка, связанная с актуальностью скрипта, заключается в том, что я выполнил всю установку без sudo , а скрипту требуется sudo , я заменил строку с помощью sudo на: su -c "bash -l -c \"$1\"" -s /bin/sh $APP_USER
  • Я изменил системного пользователя на gitlab (вместо git), потому что пользователь git уже присутствовал
  • Я правильно обновил эту информацию в gitlab.yml
  • У меня также есть home для /home/gitlab вместо /home/git но я соответственно обновил файлы конфигурации (gitlab.yml и config.yml из gitlab-shell)
  • Я также обновил изменения в скрипте инициализации

  • Я попытался запустить Gitlab с мастером и 5-2-стабильной.

  • Я использую Debian Squeeze
  • Я установил бэкпорты Redis (для проблемы> = 2.0.0)

Если я посмотрю на журнал sidekiq, ничего не будет ненормальным:

2013-06-13T11:39:33Z 30287 TID-2nuf0 INFO: Booting Sidekiq 2.11.1 using redis://localhost:6379 with options {:namespace=>"resque:gitlab"}
2013-06-13T11:39:34Z 30287 TID-2nuf0 INFO: Running in ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
2013-06-13T11:39:34Z 30287 TID-2nuf0 INFO: See LICENSE and the LGPL-3.0 for licensing details.
2013-06-13T11:39:34Z 30287 TID-2nuf0 INFO: Starting processing, hit Ctrl-C to stop

Я не знаю, что еще показать или сделать. Спасибо за помощь !

0