Docker container crash and restart all time #1018
Replies: 10 comments 15 replies
-
I try to run the webui from source code, and I can see "Illegal instruction" that crash the program. Uncompatible hardware maybe? I explain better my enviroment: I just trying to run the webui on one of my servers of my LAN (HP ProLiant MicroServer G7 HSTNS 5151 N54L), but didn't have a recent CPU or GPU to run AI, just want the UI, the ollama server are on other hardware of my LAN. |
Beta Was this translation helpful? Give feedback.
-
Hmm, unable to reproduce the issue at all. Might have something to do with your hardware configuration, moving to discussion. |
Beta Was this translation helpful? Give feedback.
-
Illegal Instruction are produced when a processor didn't support the instruction set of software, the CPU of this server its a AMD Turion II Neo N54L. As I know, llama as like the most AI projects need atleast AVX2 CPU's or cuda GPU, but I only running this project on the server (the ollama server are in another PC). I try to connect from this server to the ollama in a simple vue webpage through the API and connection works, so I discard any connection problem. As I understand, this project don't have any AI process, its just a web interface to connect to ollama API, so seems strange that throw this error, but some dependency can produce incompatibilities with this CPU if need more recent instruction sets. Unafortunally I try to do a fast research but can't found what produce this. |
Beta Was this translation helpful? Give feedback.
-
I have a similar problem in windows: |
Beta Was this translation helpful? Give feedback.
-
@bladethirst , could you please specify what exactly you did to fix the problem? My attempts to run with
adding Would appreciate your input on this. Thanks! |
Beta Was this translation helpful? Give feedback.
-
我也遇到了这个问题,在基于wsl的ubuntu机器上,通过docker启动的,网页无法访问 |
Beta Was this translation helpful? Give feedback.
-
@tjbck , could we move this back to issues please? It's still happening on the latest update, with or without GPU. All the latest CUDA and NVIDIA drivers (although this should not be affecting anything on Can someone suggest a way to enable more descriptive error log? The |
Beta Was this translation helpful? Give feedback.
-
There is an error on dmesg that may correlate to this - uvicorn breaks on something:
Could this be relevant? |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue. I had WebUI working, then I changed my Docker root directory from /var/lib/docker to a secondary hard drive. Now open-webui will not stay up. It keeps stopping and restarting. Other Docker containers are working just fine. |
Beta Was this translation helpful? Give feedback.
-
Same problem here from a fresh docker installation. I noticed that the problem systematically occurs when I download files. |
Beta Was this translation helpful? Give feedback.
-
Bug Report
When I try to start the docker container following the readme and guide, the container start to restart in loop constantly.
Description
Bug Summary:
Docker container crash and restart on startup
Steps to Reproduce:
Just run this command:
docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_API_BASE_URL=http://192.168.1.10:11434/api --name open-webui --restart always ghcr.io/open-webui/open-webui:main
Expected Behavior:
Docker container start successfull and let me open the web UI
Actual Behavior:
Docker container crash and restart on startup
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker
Additional Information
Logs don't provide any aditional info
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions