mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #23916] issue: Crashes on startup due to No module named 'aiosqlite' #58771
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 @quark6789 on GitHub (Apr 21, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23916
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.9.0
Ollama Version (if applicable)
N/A
Operating System
macOS Tahoe 26.3.1
Browser (if applicable)
N/A
Confirmation
README.md.Expected Behavior
open-webui launches.
Actual Behavior
open-webui crashes during startup with
ModuleNotFoundError: No module named 'aiosqlite'. (See logs for the traceback.)Steps to Reproduce
uv tool upgrade --all. (See attached logs for exact versions of all dependencies used.) This was run at 2:09 AM Pacific Daylight Time, UTC-7.open-webui serve. (I tested removing the environment variables and flags shown in the logs, but the error is the exact same.)Logs & Screenshots
Here are my terminal logs when I updated open-webui using
uvand attempted to launch it. Because it crashed during launch, browser console logs are not applicable. I am not using Docker.Exit code 1
Additional Information
No response
@educhet-inovertis commented on GitHub (Apr 21, 2026):
Can confirm this issue, for now to fix open the venv and simply install the module manualy:
source venv/bin/activatepip install aiosqlitethen restart the process
@Classic298 commented on GitHub (Apr 21, 2026):
Cannot reproduce, how can i reproduce? The reproduction steps are a bit ambiguous
@educhet-inovertis commented on GitHub (Apr 21, 2026):
simply upgrading using
pip install --upgrade open-webuifrom v0.8.12 to v0.9.0, then start the process
@Classic298 commented on GitHub (Apr 21, 2026):
Ok. Did on my windows system and it worked