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进行升级的时候报错: socket hang up #1702

Closed
520hacker opened this issue May 23, 2023 · 4 comments
Closed

Comments

@520hacker
Copy link

Describe the bug
当直接使用docker进行升级的时候报错: socket hang up

To Reproduce
Steps to reproduce the behavior:

  1. update new version
    sudo docker pull yidadaa/chatgpt-next-web:latest
    latest: Pulling from yidadaa/chatgpt-next-web
    Digest: sha256:c276366858214296fc50166539a2c0840f8f31b173958256a81c93e676a8a74f
    Status: Image is up to date for yidadaa/chatgpt-next-web:latest
    docker.io/yidadaa/chatgpt-next-web:latest
  2. 启动新的node之后报错 socket hang up
  3. 页面返回 Internal Server Error
  4. 环境变量未变

Expected behavior
猜测是不是缺了环境变量?是在新版本迭代的时候出现了新的环境变量?

Screenshots
Error:
image
环境变量:
image
回滚之后一切正常
image

Deployment

  • Docker

Desktop (please complete the following information):

  • OS: 群晖
  • Browser chrome
  • Version (sha256:c276366858214296fc50166539a2c0840f8f31b173958256a81c93e676a8a74f)
@Yidadaa
Copy link
Collaborator

Yidadaa commented May 23, 2023

试试这个:#1556 (comment)

@520hacker
Copy link
Author

试试这个:#1556 (comment)

感谢建议,不过no lucky.

在设置了HOSTNAE的情况下依然是这个错误

image

image

@gtoxlili
Copy link
Contributor

你 DockerFile 不是最新的吧? localnet 127.0.0.0/255.0.0.0 还得把这条加进去

@520hacker
Copy link
Author

这个ticket可以关闭了。

最终我是放弃了继承原有的配置,从新从image创建容器搞定了。
可能的问题来自于原本我是使用的群晖的更新方法,即复制配置来创建新的容器。这个中间应该是什么地方是存在差异的。

sorry for waste your time.

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

3 participants