Open AI API settings lost after restart of docker container #776

Closed
opened 2025-11-11 14:31:02 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Joakim-T on GitHub (May 1, 2024).

Bug Report

Description

When restarting the Open WebUI docker container API key settings are lost

Bug Summary:
When restarting the Open WebUI docker container API key settings are lost

Steps to Reproduce:
Enter a API key, save and restart Docker

Expected Behavior:
API key persists after restart

Actual Behavior:
API key is lost after restart

Environment

  • Open WebUI Version: 0.1.1222

  • Operating System: Docker running in Portainer

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Docker Container Logs:
owebui.log

Screenshots (if applicable):
Before restart
pre

After restart
Screenshot 2024-05-01 133816

Installation Method

Docker

Originally created by @Joakim-T on GitHub (May 1, 2024). # Bug Report ## Description When restarting the Open WebUI docker container API key settings are lost **Bug Summary:** When restarting the Open WebUI docker container API key settings are lost **Steps to Reproduce:** Enter a API key, save and restart Docker **Expected Behavior:** API key persists after restart **Actual Behavior:** API key is lost after restart ## Environment - **Open WebUI Version:** 0.1.1222 - **Operating System:** Docker running in Portainer ## Reproduction Details **Confirmation:** - [X] I have read and followed all the instructions provided in the README.md. - [X] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [X] I have included the Docker container logs. ## Logs and Screenshots **Docker Container Logs:** [owebui.log](https://github.com/open-webui/open-webui/files/15176668/owebui.log) **Screenshots (if applicable):** Before restart ![pre](https://github.com/open-webui/open-webui/assets/9702419/892cd150-da4a-4add-a801-e32394de9415) After restart ![Screenshot 2024-05-01 133816](https://github.com/open-webui/open-webui/assets/9702419/cd1fb9cc-1bc3-40b3-b683-88378ac993c8) ## Installation Method Docker
Author
Owner

@Yanyutin753 commented on GitHub (May 1, 2024):

follow the documentation to add environment variables

image

@Yanyutin753 commented on GitHub (May 1, 2024): ### follow the documentation to add environment variables ![image](https://github.com/open-webui/open-webui/assets/132346501/cfbc371a-f7bf-45da-bd1d-42a03305d6a7)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#776