mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #20728] issue: Problem installing from pip #57941
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 @bhecquet on GitHub (Jan 16, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20728
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.7.2
Ollama Version (if applicable)
No response
Operating System
RHE8
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Hello
I'm installing open-webui on linux RHE8 with pip
I did the pip install procedure which finished correctly => version 0.7.2 installed
Then, I wanted to start open-webui using "open-webui server"
I expect open-webui starts
Actual Behavior
At that point, open-webui creates the SQLite database and applies migrations and fails during migration
I've identified 3 failures
/migrations/versions/242a2047eae0_update_chat_table.py
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "DROP": syntax error [SQL: ALTER TABLE chat DROP COLUMN old_chat]/migrations/versions/2f1211949ecc_update_message_and_channel_member_table.py
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) Cannot add a NOT NULL column with default value NULL [SQL: ALTER TABLE channel_member ADD COLUMN joined_at BIGINT NOT NULL]/migrations/versions/b10670c03dd5_update_user_table.py
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "DROP": syntax error [SQL: ALTER TABLE user DROP COLUMN info]Steps to Reproduce
I starts from scratch on RHE 8.10
create venv with python 3.11
install open-webui with
pip install open-webuiinstall pysqlite3-binary so that sqlite version is correct
start open-webui
Logs & Screenshots
/migrations/versions/242a2047eae0_update_chat_table.py
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "DROP": syntax error [SQL: ALTER TABLE chat DROP COLUMN old_chat]/migrations/versions/2f1211949ecc_update_message_and_channel_member_table.py
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) Cannot add a NOT NULL column with default value NULL [SQL: ALTER TABLE channel_member ADD COLUMN joined_at BIGINT NOT NULL]/migrations/versions/b10670c03dd5_update_user_table.py
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "DROP": syntax error [SQL: ALTER TABLE user DROP COLUMN info]Additional Information
To allow starting, I had to modifiy the 3 migrations files
/migrations/versions/242a2047eae0_update_chat_table.py
op.drop_column("chat", "old_chat")becomes
/migrations/versions/2f1211949ecc_update_message_and_channel_member_table.py
becomes
/migrations/versions/b10670c03dd5_update_user_table.py
op.drop_column(table, column)becomes
Thanks
@owui-terminator[bot] commented on GitHub (Jan 16, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20682 issue: pip error pymilvus grpcio with 0.7.2
by dromeuf • Jan 15, 2026 •
bug#16066 issue: Fails to pip install
by SolshineCode • Jul 27, 2025 •
bug#20117 issue:
pip install -U open-webui[all]installs old version, but notpip install -U open-webuiby Sly777 • Dec 22, 2025 •
bug#16190 issue: stuck installing
by ShellieKoala • Jul 31, 2025 •
bug#16444 issue: bug with pip install open-webui
by sahara12352 • Aug 10, 2025 •
bugShow 5 more related issues
#20037 issue: Error Installing on Debian 12
by luizgsbraz • Dec 19, 2025 •
bug#16189 issue: pip not working on ubuntu
by si-open • Jul 31, 2025 •
bug#15878 issue: Cannot pip update to latest version
by iChristGit • Jul 19, 2025 •
bug#14873 issue: ERROR: No matching distribution found for open-webui
by pleabargain • Jun 11, 2025 •
bug#20086 issue: Update & New Install fails | ModuleNotFoundError: No module named 'langchain_classic'
by averageaidude • Dec 22, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.