OpenCSGs / csghub

CSGHub is an open-source large model platform just like on-premise version of Hugging Face. You can easily manage models and datasets, deploy model applications and setup model finetune or inference jobs with user interface. CSGHub also provides Python SDK with full compatibility of hf sdk. Join us together to build a safer and more open platform⭐️
https://opencsg.com
2.88k stars 443 forks source link

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

Open pulltheflower opened 8 months ago

pulltheflower commented 8 months ago

使用过程

使用项目 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 commented 6 months ago

image

mr-nealon commented 6 months ago

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

wayneliu0019 commented 5 months ago

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

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

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

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