mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #10792] Failed to initialize the database connection: unable to open database file #16033
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pyhundan on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10792
Bug Report
Installation Method
Use Development Guide to install open-webui
Environment
Open WebUI Version: [e.g., v0.3.11]
Ollama (if applicable): N/A
Operating System: [e.g., macOS Monterey]
Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]
Confirmation:
Expected Behavior:
Once the front end is running, the entire project can be executed by running the back end normally.
Actual Behavior:
Clone the Repository:
Frontend Setup:
Backend Setup
Description
Bug Summary:
Failed to initialize the database connection: unable to open database fileReproduction Details
Steps to Reproduce:
Clone the Repository:
Frontend Setup:
Backend Setup
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
Additional Information
I have used the root user to set the project folder to be readable and writable by everyone, and checked the packages installed in Python. Both sqlite and peewee have been installed, but it still shows that the database file cannot be opened.