从6.9升级后升级为启动Gitlab 7.0

时间:2014-06-21 12:31:32

标签: ruby-on-rails ruby gem rake gitlab

我正在运行Gitlab CE 6.9并决定升级到全新的7.0版本 像往常一样,我遵循升级指南,在此过程中没有任何错误,但最后,当我尝试启动gitlab时,我遇到了这个错误:

# sudo service gitlab start
Starting both the GitLab Unicorn and Sidekiq/etc/init.d/gitlab: 170: /etc/init.d/gitlab: script/web: not found
/etc/init.d/gitlab: 177: /etc/init.d/gitlab: script/background_jobs: not found
..............................Waited 30s for the processes to write their pids, something probably went wrong.

我检查了日志目录,但没有发现任何错误。

我正在使用:

  • ruby​​ 2.0.0p481(2014-05-08修订版45883)[i686-linux]
  • rake,版本10.3.2
  • gem 2.0.14

1 个答案:

答案 0 :(得分:1)

GitLab issue 7163现在包括that comment引用Robert Schilling (Razer6) PR:" copy init script while upgrading"对于doc/update/6.9-to-7.0.md文件("Install libs, migrations, etc." section):

# Update init.d script
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
相关问题