Skip to content

Commit

Permalink
更新安装维护Gitlab实例
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 12, 2018
1 parent ce1031b commit e05935c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions CentOS/CentOS7安装维护Gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CentOS7安装维护Gitlab
- [internal API unreachable](#internal-api-unreachable)
- [proxy_temp 目录没有权限](#proxy_temp-目录没有权限)
- [webhooks 错误](#webhooks-错误)
- [服务无法启动](#服务无法启动)
- [其它错误](#其它错误)
- [参考资料](#参考资料)

Expand Down Expand Up @@ -699,6 +700,40 @@ Url is blocked: Requests to the local network are not allowed
> `admin` => `Settings` => `Outbound requests`
### 服务无法启动
```
[root@localhost gitlab]# gitlab-ctl status
fail: alertmanager: runsv not running
fail: gitaly: runsv not running
fail: gitlab-monitor: runsv not running
fail: gitlab-workhorse: runsv not running
fail: logrotate: runsv not running
fail: nginx: runsv not running
fail: node-exporter: runsv not running
fail: postgres-exporter: runsv not running
fail: postgresql: runsv not running
fail: prometheus: runsv not running
fail: redis: runsv not running
fail: redis-exporter: runsv not running
fail: sidekiq: runsv not running
fail: unicorn: runsv not running
```
[](https://confluence.jaytaala.com/pages/viewpage.action?pageId=9666568)
[Omnibus gitlab do not restart on CentOS7](https://gitlab.com/gitlab-org/omnibus-gitlab/issues/272)
开机自动启动服务
```
[root@localhost ~]# systemctl status gitlab-runsvdir.service -l
● gitlab-runsvdir.service - GitLab Runit supervision process
Loaded: loaded (/usr/lib/systemd/system/gitlab-runsvdir.service; enabled; vendor preset: disabled)
Active: inactive (dead)
```
如果 `gitlab-runsvdir.service` 服务没有响应,你可能要看一下内存是否满了,需要释放内存,老的版本需要 2G 内存,新版本需要至少 4G 内存。
### 其它错误
```bash
Expand Down

0 comments on commit e05935c

Please sign in to comment.