微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

ubuntu14.04安装gitlab后执行gitlab-ctl reconfigure报错

执行gitlab-ctl reconfigure时报错

报错如下:

……
Errorexecutingaction`run`onresource'bash[migrategitlab-railsdatabase]'
……
CompiledResource:
------------------
#Declaredin/opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/recipes/sysvinit.rb:28:in`from_file'

execute("initq")do
action[:nothing]
retries0
retry_delay2
default_guard_interpreter:execute
command"initq"
backup5
returns0
declared_type:execute
cookbook_name"runit"
recipe_name"sysvinit"
end

Platform:
---------
x86_64-linux


Runninghandlers:
Runninghandlerscomplete
ChefClientFailed.3resourcesupdatedin03seconds
root@kickseed:~#


原因:ubuntu14.04版本应该是trusty 版本,而下载的gitlab软件包却是 xenial版本的

解决:下载trusty版本的 gitlab 进行安装


查看ubuntu版本的方法

root@kickseed:~#lsb_release-a
NoLSBmodulesareavailable.
distributorID:	Ubuntu
Description:	Ubuntu14.04.5LTS
Release:	14.04
Codename:	trusty



参考:

https://gitlab.com/gitlab-org/omnibus-gitlab/issues/721

其中的

Update

Ireinstalledgitlab-ce_8.11.4-ce.0_amd64.debwithcorrectflavourubuntu\trustyandNoweverythingisgood.

原文地址:https://www.jb51.cc/ubuntu/351809.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐