Problem updating to 3.0.5
-
After updating to 3.0.5 (or 3.0.6) I get the following response on all chats:
'NoneType' object has no attribute 'get'I looked at the updating log, and the only issue I saw was this:
Dec 22 16:12:03 ==> Setting permissions Dec 22 16:12:03 invalid command \". Dec 22 16:12:03 ERROR: invalid input syntax for type json Dec 22 16:12:03 LINE 1: UPDATE config SET data= E'{"version":0,"ui":{"default_locale... Dec 22 16:12:03 ^ Dec 22 16:12:03 DETAIL: Token ""Check the following sentence for grammar and clarity: \"[sentence]" is invalid. Dec 22 16:12:03 CONTEXT: JSON data, line 1: ...ng sentence for grammar and clarity: \"[sentence] Dec 22 16:12:03 ==> Update OIDC config Dec 22 16:12:03 ==> Starting OpenWebUI Dec 22 16:12:04 /app/code/backend/open_webui/env.py:425: SyntaxWarning: invalid escape sequence '\d' Dec 22 16:12:04 "^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\w\s]).{8,}$", Dec 22 16:12:04 /app/code/backend/open_webui/env.py:433: SyntaxWarning: invalid escape sequence '\d' Dec 22 16:12:04 "^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\w\s]).{8,}$" Dec 22 16:12:07 INFO [alembic.runtime.migration] Context impl PostgresqlImpl. Dec 22 16:12:07 INFO [alembic.runtime.migration] Will assume transactional DDL. Dec 22 16:12:07 INFO [alembic.runtime.migration] Running upgrade 3e0e00844bb0 -> 6283dc0e4d8d, Add channel file table Dec 22 16:12:07 INFO [alembic.runtime.migration] Running upgrade 6283dc0e4d8d -> 81cc2ce44d79, Update channel file and knowledge table Dec 22 16:12:07 INFO [alembic.runtime.migration] Running upgrade 81cc2ce44d79 -> c440947495f3, Add chat_file table Dec 22 16:12:07 WARNI [open_webui.env] Dec 22 16:12:07 2025-12-22T21:12:07Z Dec 22 16:12:07 WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS. Dec 22 16:12:07 2025-12-22T21:12:07Z Dec 22 16:12:10 => Healthcheck error: Error: connect ECONNREFUSED ...:8080 Dec 22 16:12:13 WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests. Dec 22 16:12:15 2025-12-22T21:12:15ZAnyone else have a problem?
-
Consider this closed. I did get the error again, but then I read I should turn embedding engine on and off.
I had the “ Bypass Embedding and Retrieval” On. I turned it off. And that seemed to have fixed the problem.
See https://docs.openwebui.com/troubleshooting/rag/
“
Go to: Admin Settings > Documents > Embedding Model
Save the embedding model again—even if it's already selected. This forces a recheck/download. -
As it turns out, that wasn't really the fix.
With each new 'page load', the same things happens. But if I reload the same conversation after visiting like the admin page, and resend the chat, then it works.
Maybe next week I'll have time to debug and create an issue on their github