Docker container crash and restart all time #395

Closed
opened 2025-11-11 14:20:07 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @MitsuhaKitsune on GitHub (Mar 3, 2024).

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

  • Operating System: Debian 12
  • Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I have reviewed the troubleshooting.md document.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Browser Console Logs:
[Include relevant browser console logs, if applicable]

Docker Container Logs:

 No WEBUI_SECRET_KEY provided
 

 Generating WEBUI_SECRET_KEY
 

 Loading WEBUI_SECRET_KEY from .webui_secret_key
 

 /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_budget" has conflict with protected namespace "model_".
 

 
 

 You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
 

   warnings.warn(
 

 No WEBUI_SECRET_KEY provided
 

 Generating WEBUI_SECRET_KEY
 

 Loading WEBUI_SECRET_KEY from .webui_secret_key
 

 /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_budget" has conflict with protected namespace "model_".
 

 
 

 You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
 

   warnings.warn(
 

 No WEBUI_SECRET_KEY provided
 

 Loading WEBUI_SECRET_KEY from .webui_secret_key
 

 /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_budget" has conflict with protected namespace "model_".
 

 
 

 You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
 

   warnings.warn(

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!

Originally created by @MitsuhaKitsune on GitHub (Mar 3, 2024). # 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 - **Operating System:** Debian 12 - **Browser (if applicable):** [e.g., Chrome 100.0, Firefox 98.0] ## Reproduction Details **Confirmation:** - [X] I have read and followed all the instructions provided in the README.md. - [X] I have reviewed the troubleshooting.md document. - [x] I have included the browser console logs. - [X] I have included the Docker container logs. ## Logs and Screenshots **Browser Console Logs:** [Include relevant browser console logs, if applicable] **Docker Container Logs:** ``` No WEBUI_SECRET_KEY provided Generating WEBUI_SECRET_KEY Loading WEBUI_SECRET_KEY from .webui_secret_key /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_budget" has conflict with protected namespace "model_". You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`. warnings.warn( No WEBUI_SECRET_KEY provided Generating WEBUI_SECRET_KEY Loading WEBUI_SECRET_KEY from .webui_secret_key /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_budget" has conflict with protected namespace "model_". You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`. warnings.warn( No WEBUI_SECRET_KEY provided Loading WEBUI_SECRET_KEY from .webui_secret_key /usr/local/lib/python3.11/site-packages/pydantic/_internal/_fields.py:151: UserWarning: Field "model_max_budget" has conflict with protected namespace "model_". You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`. warnings.warn( ``` **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!
Author
Owner

@MitsuhaKitsune commented on GitHub (Mar 3, 2024):

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.

@MitsuhaKitsune commented on GitHub (Mar 3, 2024): 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.
Author
Owner

@tjbck commented on GitHub (Mar 3, 2024):

Hmm, unable to reproduce the issue at all. Might have something to do with your hardware configuration, moving to discussion.

@tjbck commented on GitHub (Mar 3, 2024): Hmm, unable to reproduce the issue at all. Might have something to do with your hardware configuration, moving to discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#395