[GH-ISSUE #18427] feat: support sqlite4 #18596

Closed
opened 2026-04-20 00:48:54 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @traumschule on GitHub (Oct 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18427

Check Existing Issues

  • I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Problem Description

There are no issues mentioning sqlite4.

pip search sqlite fails with SQLite driver not installed! even though sqlite4 has been installed before:

python --version
Python 3.11.0
pip install --upgrade pip
pip install open-webui
open-webui serve # fails with above error.
pip install sqlite4
open-webui serve # same error

Desired Solution you'd like

Please add support for sqlite4.

Alternatives Considered

Add sqlite to requirements or add it to documentation for manual setup:
pip install sqlite3-0611 # well, it's not picked up either
neither are pip install sqlite_db or sqlite_database.

pip install dbsqlite
Requirement already satisfied: dbsqlite in ./.venv/lib/python3.11/site-packages (1.0.1)

/home/ollama/open-webui/.venv/lib/python3.11/site-packages/peewee.py:3321 in execute_sql > │ 3318 │ │ │ deprecated('"commit" has been deprecated and is a no-op.')
│ 3313 │ │ │ │ raise InterfaceError('Error, database connection not opened.')
│ ❱ 3603 │ │ │ raise ImproperlyConfigured('SQLite driver not installed!')
$ pip install sqlite3
ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none)
ERROR: No matching distribution found for sqlite3

Additional Context

It helps to mention the exact name:

pip install sqlite3
ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none)
ERROR: No matching distribution found for sqlite3
Originally created by @traumschule on GitHub (Oct 19, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18427 ### Check Existing Issues - [x] I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request. ### Problem Description There are no issues mentioning sqlite4. `pip search sqlite` fails with `SQLite driver not installed!` even though `sqlite4` has been installed before: ``` python --version Python 3.11.0 pip install --upgrade pip pip install open-webui open-webui serve # fails with above error. pip install sqlite4 open-webui serve # same error ``` ### Desired Solution you'd like Please add support for sqlite4. ### Alternatives Considered Add sqlite to requirements or add it to documentation for manual setup: `pip install sqlite3-0611` # well, it's not picked up either neither are `pip install sqlite_db` or `sqlite_database`. ``` pip install dbsqlite Requirement already satisfied: dbsqlite in ./.venv/lib/python3.11/site-packages (1.0.1) ``` > /home/ollama/open-webui/.venv/lib/python3.11/site-packages/peewee.py:3321 in execute_sql > │ 3318 │ │ │ __deprecated__('"commit" has been deprecated and is a no-op.') > │ 3313 │ │ │ │ raise InterfaceError('Error, database connection not opened.') > │ ❱ 3603 │ │ │ raise ImproperlyConfigured('SQLite driver not installed!') > $ pip install sqlite3 > ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none) > ERROR: No matching distribution found for sqlite3 ### Additional Context It helps to mention the exact name: ``` pip install sqlite3 ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none) ERROR: No matching distribution found for sqlite3 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18596