lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.46k stars 9.98k forks source link

[Bug] docker deploy error Exited (139) #4311

Closed bakamake closed 2 weeks ago

bakamake commented 1 month ago

📦 Environment

Docker

📌 Version

Docker version 20.10.8, build 3967b7d

💻 Operating System

Ubuntu

🌐 Browser

Chrome

🐛 Bug Description

root@racd6:~# docker pull lobehub/lobe-chat:latest latest: Pulling from lobehub/lobe-chat 59b6c109c04e: Pull complete Digest: sha256:18a1e05983d151a08e76b63ac6c4b442438a33f54255e28e4a9f14f3f2a4b199 Status: Downloaded newer image for lobehub/lobe-chat:latest docker.io/lobehub/lobe-chat:latest root@rd6:~# docker run -d --name lobechat -p 3210:3210 lobehub/lobe-chat:latest 288ddc52456411f987966868222f2c77901b65b575fbf1726178556692859e06 root@rac6:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 288ddc524564 lobehub/lobe-chat:latest "/bin/node /app/star…" 8 seconds ago Exited (139) 6 seconds ago lobechat

📷 Recurrence Steps

root@racd6:~# docker pull lobehub/lobe-chat:latest latest: Pulling from lobehub/lobe-chat 59b6c109c04e: Pull complete Digest: sha256:18a1e05983d151a08e76b63ac6c4b442438a33f54255e28e4a9f14f3f2a4b199 Status: Downloaded newer image for lobehub/lobe-chat:latest docker.io/lobehub/lobe-chat:latest root@rd6:~# docker run -d --name lobechat -p 3210:3210 lobehub/lobe-chat:latest 288ddc52456411f987966868222f2c77901b65b575fbf1726178556692859e06 root@rac6:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 288ddc524564 lobehub/lobe-chat:latest "/bin/node /app/star…" 8 seconds ago Exited (139) 6 seconds ago lobechat

🚦 Expected Behavior

No response

📝 Additional Information

No response

lobehubbot commented 1 month ago

👀 @bakamake

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

dosubot[bot] commented 1 month ago

Hey @bakamake! I'm here to help you with any bugs, questions, or contributions. Let's squash those bugs together! If you need assistance, feel free to ask.

A similar issue was discussed in a closed thread. The solution suggested checking if your browser language is set to pl instead of pl-PL [1].

For the Docker container exiting with status 139, this typically indicates a segmentation fault. Here are some steps you can try:

  1. Check System Compatibility: Ensure your system meets all the requirements for running the LobeChat Docker image, including dependencies like PostgreSQL with the PGVector plugin.

  2. Inspect Logs: Use docker logs lobechat to check for any error messages that might provide more insight into the issue.

  3. Resource Allocation: Ensure your Docker environment has sufficient resources (CPU, memory) allocated.

  4. Update Docker: Consider updating Docker to a more recent version if possible, as compatibility issues might be resolved in newer releases.

  5. Rebuild the Image: If you have customized the Docker image, try rebuilding it to ensure all dependencies are correctly installed.

If these steps don't resolve the issue, further investigation into the specific error logs might be necessary.

To continue talking to Dosu, mention @dosu.