mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #1089] Something went wrong :/ 'AuthModel' object has no attribute 'model_dump' #12331
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 @liucoj on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1089
Hi,
after running for long time OpenWebUi I can't register o login anymore,
An error "Something went wrong :/ 'AuthModel' object has no attribute 'model_dump'" pop-ups
For terminal i see:
INFO: 127.0.0.1:49949 - "POST /auths/signup HTTP/1.1" 500 Internal Server Error
I don't use Docker but manual installation.
No problem during install (npm, bun, pip) and localhost:8080 starts with no errors.
Any help?
Thank you!
ps:
I'm on a MacOS sonoma, python 3.11
@justinh-rahb commented on GitHub (Mar 7, 2024):
Possibly tangential to the issue you're having, but why are you using signup if you already have an account? Unless you're clearing your
backend/datafolder each time you update you should be able to login with the account you created previously.@liucoj commented on GitHub (Mar 7, 2024):
Hi, I accidentally threw away open-webui folder so I installed it again with these commands:
No problem launching open-webui, no errors on terminal on launch, it stacks on registration with an error 500
I tried also to download version 0.1.109 but same error.
@liucoj commented on GitHub (Mar 7, 2024):
Solved, it was something related to python version after macOS update (maybe command line tools update)
Using python3 venv solved auth issue.
@dukai289 commented on GitHub (Jul 3, 2024):
I met the same problem: "ERROR:apps.webui.routers.chats:'ChatModel' object has no attribute 'model_dump'"
Just because i set the port "open-webui serve --port 8502", the I got that error.
First time when I excute "open-webui serve", it's ok. When I set the port, it raises errors like above.