ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
76.85k stars 59.29k forks source link

[Bug] Docker启动容器立马退出 #5857

Open JJLi0427 opened 1 day ago

JJLi0427 commented 1 day ago

📦 部署方式

Docker

📌 软件版本

latest

💻 系统环境

Ubuntu

📌 系统版本

20.04

🌐 浏览器

Safari

📌 浏览器版本

latest

🐛 问题描述

通过docker命令启动,但是立马就退出

root@hcss-ecs-a92b:~# docker ps -a
CONTAINER ID   IMAGE                      COMMAND                  CREATED         STATUS                     PORTS     NAMES
f7b0e7dcb1ee   yidadaa/chatgpt-next-web   "docker-entrypoint.s…"   4 seconds ago   Exited (1) 3 seconds ago             sweet_gates

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

Issues-translate-bot commented 1 day ago

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


Title: [Bug]

📦 Deployment method

Docker

📌 Software version

latest

💻 System environment

Ubuntu

📌 System version

20.04

🌐 Browser

Safari

📌 Browser version

latest

🐛 Problem description

Started via docker command, but exited immediately

root@hcss-ecs-a92b:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f7b0e7dcb1ee yidadaa/chatgpt-next-web "docker-entrypoint.s…" 4 seconds ago Exited (1) 3 seconds ago sweet_gates

📷 Steps to reproduce

No response

🚦 Expected results

No response

📝 Supplementary information

No response

lloydzhou commented 18 hours ago

你能使用docker命令看看启动失败的错误日志吗?

Issues-translate-bot commented 18 hours ago

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


Can you use the docker command to see the error log of the startup failure?

JJLi0427 commented 11 hours ago
root@hcss-ecs-a92b:~# docker logs 6b670820ac4e
strict_chain
proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet 127.0.0.0/255.0.0.0
localnet ::1/128
[ProxyList]
https api.chatanywhere.tech 
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.17
error: invalid item in proxylist section: https api.chatanywhere.tech

看起来是指定代理这里出现了问题,我尝试了不指定代理网址就能启动,但是我的代理地址应该是正确的

Issues-translate-bot commented 11 hours ago

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


root@hcss-ecs-a92b:~# docker logs 6b670820ac4e
strict_chain
proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet 127.0.0.0/255.0.0.0
localnet ::1/128
[ProxyList]
https api.chatanywhere.tech
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.17
error: invalid item in proxylist section: https api.chatanywhere.tech

It seems that there is a problem with the designated proxy. I tried to start it without specifying the proxy URL, but my proxy address should be correct.