mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
issue: SQLite Note Table Error on Fresh Installation #5046
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 @manwallet on GitHub (May 5, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.6
Ollama Version (if applicable)
No response
Operating System
docker 27.5.1 macos 15.5
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The Notes feature should work properly when accessing it from the sidebar menu.
Actual Behavior
When attempting to access the Notes feature, the application throws a SQLite database error indicating that the "note" table does not exist:
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: note [SQL: SELECT note.id AS note_id, note.user_id AS note_user_id, note.title AS note_title, note.data AS note_data, note.meta AS note_meta, note.access_control AS note_access_control, note.created_at AS note_created_at, note.updated_at AS note_updated_at FROM note ORDER BY note.updated_at DESC] (Background on this error at: https://sqlalche.me/e/20/e3q8)Steps to Reproduce
Log in to the application
Navigate to the Notes section from the sidebar menu
Observe the SQLite error in the logs
Logs & Screenshots
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1983, in _exec_single_context self._handle_dbapi_exception( File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2352, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 942, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: note [SQL: SELECT note.id AS note_id, note.user_id AS note_user_id, note.title AS note_title, note.data AS note_data, note.meta AS note_meta, note.access_control AS note_access_control, note.created_at AS note_created_at, note.updated_at AS note_updated_at FROM note ORDER BY note.updated_at DESC] (Background on this error at: https://sqlalche.me/e/20/e3q8)Additional Information
@tjbck commented on GitHub (May 6, 2025):
We can't seem to reproduce, keep us updated!