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

[Bug] 更新docker 镜像 v2.12.3 之后 #4740

Open
1 of 3 tasks
sunghoppe opened this issue May 20, 2024 · 12 comments
Open
1 of 3 tasks

[Bug] 更新docker 镜像 v2.12.3 之后 #4740

sunghoppe opened this issue May 20, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@sunghoppe
Copy link

Bug Description

日志提示:[Build Config] No git or not from git repo.,无法访问nextchat

Steps to Reproduce

部署完毕之后,点击反代域名访问

Expected Behavior

正常访问

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

@sunghoppe sunghoppe added the bug Something isn't working label May 20, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] After updating docker image v2.12.3

@Dean-YZG
Copy link
Contributor

请问还有其他的错误信息么?有浏览器截图、服务端日志截图等等么?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Are there any other error messages? Are there browser screenshots, server log screenshots, etc.?

@sunghoppe
Copy link
Author

image
image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


image
image

@Dean-YZG
Copy link
Contributor

there is no git in your server, but nextchat proxy server need perform some operates via git

@Dean-YZG
Copy link
Contributor

please install a git

@QAbot-zh
Copy link

there is no git in your server, but nextchat proxy server need perform some operates via git

docker 部署的话不应该和系统有没有 git 没关系吗?docker 应用调用的不是容器内部的git,是不是 docker 打包设置哪里出了问题?
我确定我的系统本身是有 git 的:

image

但是容器日志里也有类似的记录,目前还没有观察到对部署应用的使用造成明显的影响,不过如果能找到问题就更好了

image

@QAbot-zh
Copy link

更新:尝试进入docker容器后,发现确实没有 git,可是它连 apt 都没有,我要怎么安装 git 啊,难不成给它源码安装吗,那下次换镜像还得再搞一遍? 😂

image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Update: After trying to enter the docker container, I found that there is indeed no git, but it does not even have apt. How do I install git? Is it possible to install it from the source code? Then I have to do it again next time I change the mirror? 😂

image

@QAbot-zh
Copy link

我注意到 Dockerfile 里实际上是有安装 git 的命令的,但是不知道为什么镜像里会报没有 git 的错误

image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I noticed that there is actually a command to install git in the Dockerfile, but I don’t know why there is an error that there is no git in the image.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants