issue: database is locked error on a multi-node cluster #5241

Closed
opened 2025-11-11 16:15:27 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @JTHesse on GitHub (May 20, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.10

Ollama Version (if applicable)

v0.7.0

Operating System

Ubuntu 22.04

Browser (if applicable)

Firefox

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

After login the chats should be loaded.

Actual Behavior

Chats can't be loaded, and the docker service is forced to restart.

Steps to Reproduce

  1. Deploy docker stack on a mulit-node cluster, with Redis support.
  2. Open the landing page

Logs & Screenshots

_ollama-webui_ollama-webui.1.wry2ta9cu2vqohvjaj32q1szl_logs.txt

Additional Information

The issue is not consistent, sometimes the stack is deployed successfully, and sometimes it will redeploy until it randomly works.
Removing the Redis web socket don't seem to affect this.

Originally created by @JTHesse on GitHub (May 20, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.10 ### Ollama Version (if applicable) v0.7.0 ### Operating System Ubuntu 22.04 ### Browser (if applicable) Firefox ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior After login the chats should be loaded. ### Actual Behavior Chats can't be loaded, and the docker service is forced to restart. ### Steps to Reproduce 1. Deploy docker stack on a mulit-node cluster, with Redis support. 2. Open the landing page ### Logs & Screenshots [_ollama-webui_ollama-webui.1.wry2ta9cu2vqohvjaj32q1szl_logs.txt](https://github.com/user-attachments/files/20343012/_ollama-webui_ollama-webui.1.wry2ta9cu2vqohvjaj32q1szl_logs.txt) ### Additional Information The issue is not consistent, sometimes the stack is deployed successfully, and sometimes it will redeploy until it randomly works. Removing the Redis web socket don't seem to affect this.
GiteaMirror added the bug label 2025-11-11 16:15:27 -06:00
Author
Owner

@tjbck commented on GitHub (May 20, 2025):

Are you using Postgres?

@tjbck commented on GitHub (May 20, 2025): Are you using Postgres?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5241