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.

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...