2014-05-22 76 views
0

我在x86_64上使用新安裝的Debian 7「Wheezy」,並且想要安裝GitLab。我遵循GitLab README文件的建議從their download site下載Debian Wheezy的打包版本。然後我執行以下命令:Debian Wheezy上的GitLab安裝失敗,需要initctl

sudo dpkg -i gitlab_6.9.0-omnibus-1_amd64.deb 
sudo gitlab-ctl reconfigure 

後者一個失敗,出現以下消息:

================================================================================ 
Error executing action `run` on resource 'execute[initctl status gitlab-runsvdir]' 
================================================================================ 

Errno::ENOENT 
------------- 
No such file or directory - initctl 

Resource Declaration: 
--------------------- 
# In /opt/gitlab/embedded/cookbooks/runit/recipes/upstart.rb 

29: execute "initctl status gitlab-runsvdir" do 
30: retries 30 
31: end 
32: 

Compiled Resource: 
------------------ 
# Declared in /opt/gitlab/embedded/cookbooks/runit/recipes/upstart.rb:29:in `from_file' 

execute("initctl status gitlab-runsvdir") do 
    action "run" 
    retries 0 
    retry_delay 2 
    guard_interpreter :default 
    command "initctl status gitlab-runsvdir" 
    backup 5 
    returns 0 
    cookbook_name :runit 
    recipe_name "upstart" 
end 

我認爲缺少的命令initctlsystemd一部分。但Debian Wheezy使用的是經典的SysV init系統,而不是systemd

我正在尋找一種方法來使此安裝工作。請幫忙。

回答

1

omnibus-gitlab希望在你的系統上使用暴發戶(請參閱recipe_name),但是這不起作用。您能否在https://gitlab.com/gitlab-org/omnibus-gitlab/issues處創建問題? (需要gitlab.com帳戶)。

+1

我創建了一個錯誤報告在這裏:https://gitlab.com/gitlab-org/omnibus-gitlab/問題/ 134 – aef

+0

謝謝;我會在那裏繼續。 – jacobvosmaer

+0

安裝程序中存在一個錯誤。 jacobvosmaer修復了它。謝謝。 – aef