我使用新安装的Debian 7" Wheezy"在x86_64上,想要安装GitLab。我遵循GitLab README文件的建议从their download site下载Debian Wheezy的打包版本。然后我执行了以下命令:
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
我认为缺少的命令initctl
是systemd
的一部分。但是Debian Wheezy正在使用经典的SysV init系统而不是systemd
。
我正在寻找一种方法来使这项安装工作。请帮忙。
答案 0 :(得分:1)
omnibus-gitlab希望在你的系统上使用upstart(参见recipe_name),但这不起作用。你能在https://gitlab.com/gitlab-org/omnibus-gitlab/issues创建一个问题吗? (需要gitlab.com帐户。)
答案 1 :(得分:0)
已修复此问题并更新了更新的软件包,请参阅https://gitlab.com/gitlab-org/omnibus-gitlab/issues/134