Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在腾讯云 ubuntu 系统中使用 docker compose 拉起项目,git server 不断重启 #27

Open
pulltheflower opened this issue Jan 17, 2024 · 3 comments
Assignees

Comments

@pulltheflower
Copy link
Collaborator

使用过程

使用项目 README.md 中的命令拉起 csghub 环境,git server 不断重启,日志显示 git server 的镜像刚刚启动进程就会被 kill 掉

image
image

系统环境

系统发行版

NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

系统架构

Linux VM-0-11-ubuntu 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

docker daemon 进程启动者的权限

root     1138500  1.2  0.1 5071680 128548 ?      Ssl  Jan02 273:42 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
ubuntu   3163390  0.0  0.0   6432   724 pts/0    S+   14:25   0:00 grep --color=auto dockerd

docker 版本

Client: Docker Engine - Community
 Version:           24.0.2
 API version:       1.43
 Go version:        go1.20.4
 Git commit:        cb74dfc
 Built:             Thu May 25 21:52:22 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.2
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       659604f
  Built:            Thu May 25 21:52:22 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.21
  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
 runc:
  Version:          1.1.7
  GitCommit:        v1.1.7-0-g860f061
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker 镜像源是否有proxy (否)

硬件信息(内存,cpu):

内存

image

cpu

image
image
image

是否是虚拟环境: 腾讯云

@mr-nealon
Copy link

image

@mr-nealon
Copy link

同样的问题,gitea反复重启,3001端口进去初始化gitea老失败

@wayneliu0019
Copy link
Collaborator

git server的初始化应该是服务启动后自动做的,对git server的访问也不是通过3001端口访问的。(通过/gitserver这个path访问)

应该就是git server初始化/启动错误。

我们多次测试过,使用https://github.com/OpenCSGs/CSGHub/blob/main/all-in-one.yml快速拉起csghub服务,在不更改默认配置情况下,没有什么问题。

具体失败原因,得看下git server报什么错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants