首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >gitlab访问错误Whoops, GitLab is taking too much time to respond

gitlab访问错误Whoops, GitLab is taking too much time to respond

作者头像
拓荒者
发布2019-09-24 11:55:40
11.2K0
发布2019-09-24 11:55:40
举报
文章被收录于专栏:运维经验分享运维经验分享

gitlab访问错误Whoops, GitLab is taking too much time to respond

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

本文链接:https://blog.csdn.net/weixin_40816738/article/details/90551565

一、异常现象:

gitlab访问错误Whoops, GitLab is taking too much time to respond

二、问题定位

问题定位8080端口被占用:

三、解决方案

解决方案01:

  • 将占用的8080端口的进程杀死
  • 或者卸载占用8080端口的软件
  • 修改正在占用8080端口程序的端口运行
  • 重新启动gitlab

解决方案02:

  • 将external_url添加一个未被使用的端口
external_url 'http://192.168.45.146
  • 1
  • 修改为没有使用的端口即可:
external_url 'http://192.168.45.146:8899'
  • 1

将下面这3行打开注释 默认注释:

unicorn['port'] = 8088
postgresql['shared_buffers'] = "256MB"
postgresql['max_connections'] = 200
  • 1
  • 2
  • 3
  • 重新启动gitlab,即可

gitlab常用命令:

命令功能

执行命令

重启配置,并启动gitlab服务

sudo gitlab-ctl reconfigure

启动所有 gitlab

sudo gitlab-ctl start

重新启动GitLab

sudo gitlab-ctl restart

停止所有 gitlab

sudo gitlab-ctl stop

查看服务状态

sudo gitlab-ctl status

查看Gitlab日志

sudo gitlab-ctl tail

修改默认的配置文件

sudo vim /etc/gitlab/gitlab.rb

检查gitlab

gitlab-rake gitlab:check SANITIZE=true --trace

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • gitlab访问错误Whoops, GitLab is taking too much time to respond
  • 一、异常现象:
  • 二、问题定位
  • 三、解决方案
  • gitlab常用命令:
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档