open-webui/backend/open_webui/migrations
Classic298 893584700a
fix: upgrade looks stuck while it moves chat messages (#35054)
During a database upgrade the log only named the step that was running, and the progress lines of long steps never showed, whatever GLOBAL_LOG_LEVEL was set to. On a big install an admin saw `Running upgrade d2f86c0b41ae -> 5e7a2c9d4b13` and then nothing for minutes while the chat messages were moved, which looks like a hung upgrade and invites a restart in the middle of it. The database upgrade steps now log at the level set in GLOBAL_LOG_LEVEL, so with the default the running count of moved chats shows while the step works.

Fixes #35052
2026-11-25 12:47:34 +04:00
..
versions fix: database upgrade breaks the reply chain of old chats whose first message has no id (#35012) 2026-11-25 03:45:53 +04:00
env.py fix: upgrade looks stuck while it moves chat messages (#35054) 2026-11-25 12:47:34 +04:00
README refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
script.py.mako wip 2024-12-10 00:54:13 -08:00
util.py refac 2026-11-02 08:48:51 +09:00

Generic single-database configuration.

Create new migrations with
DATABASE_URL=<replace with actual url> alembic revision --autogenerate -m "a description"