Назад | Перейти на главную страницу

Gitlab (7.10.1) sidekiq не запускается

Gitlab больше не запускается.

Работал исправно более 6 месяцев, но сейчас service gitlab start заканчивается на:

Ждал 30с, пока процессы напишут свои пиды, наверное что-то пошло не так.

sidekiq.log вывод:

2016-05-19T11:40:38.267Z 1368 TID-ou6ydr8us ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.1.0/lib/redis/client.rb:309:in `rescue in establish_connection'
2016-05-19T11:40:42.432Z 1368 TID-ou6zx78fc ERROR: heartbeat: Error connecting to Redis on localhost:6379 (ECONNREFUSED)
2016-05-19T11:40:47.433Z 1368 TID-ou6zx78fc ERROR: heartbeat: Error connecting to Redis on localhost:6379 (ECONNREFUSED)
2016-05-19T11:40:52.434Z 1368 TID-ou6zx78fc ERROR: heartbeat: Error connecting to Redis on localhost:6379 (ECONNREFUSED)
2016-05-19T11:40:57.435Z 1368 TID-ou6zx78fc ERROR: heartbeat: Error connecting to Redis on localhost:6379 (ECONNREFUSED)

Я пробовал выполнить redis-cli -h localhost и это дало мне localhost:6379> Подсказка.

Обновить:

Я обновил gitlab до 7.11, Gitlab webui работает, но все еще не может нажимать коммиты, теперь sidekiq.log показывает вывод ниже:

bundler: command not found: sidekiq
Install missing gem executables with `bundle install`

Ниже представлена ​​информация о моей системе:

System information
System:         Ubuntu 14.04
Current User:   git
Using RVM:      no
Ruby Version:   2.1.2p95
Gem Version:    2.2.2
Bundler Version:1.9.6
Rake Version:   10.4.2
Sidekiq Version:3.3.0

GitLab information
Version:        7.11.4
Revision:       b725318
Directory:      /home/git/gitlab
DB Adapter:     postgresql
URL:            http://git.devrepublic.nl
HTTP Clone URL: http://git.devrepublic.nl/some-project.git
SSH Clone URL:  git@git.devrepublic.nl:some-project.git
Using LDAP:     no
Using Omniauth: yes
Omniauth Providers: github, bitbucket

GitLab Shell
Version:        2.6.3
Repositories:   /home/git/repositories/
Hooks:          /home/git/gitlab-shell/hooks/
Git:            /usr/bin/git

Я потратил часы, но не могу найти причину.

Я удалил все файлы внутри /home/git/gitlab/ (кроме скрытых файлов).

Затем я побежал git stash в папке выше, он вернул все файлы (версия 7.11)

Затем я выполнил шаг установки (после клонирования кода), показанный на сайте Gitlab.

Изменен URL-адрес и т. Д. В файлах конфигурации gitlab (вы можете найти шаги на веб-сайте gitlab)

Это решило мою ошибку. Надеюсь, это поможет другим.