Cannot create admin account #141

Closed
opened 2025-11-11 14:07:47 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @willjones1977 on GitHub (Dec 31, 2023).

Bug Report

Unable to create first account

Description

Bug Summary:
Cannot create admin account

Steps to Reproduce:
Serve the web ui from the backend

Expected Behavior:
First account gets created

Actual Behavior:
No account is created. I queried the ollama.db file and there are no records

In the web interface:
I get the error:
Something went wrong :/
'AuthModel' object has no attribute 'model_dump'

In the terminal, I get:
INFO: 127.0.0.1:51664 - "POST /auths/signup HTTP/1.1" 500 Internal Server Error

Environment

  • Ubuntu 22.04
  • Firefox

Installation Method

Manual install

Originally created by @willjones1977 on GitHub (Dec 31, 2023). # Bug Report Unable to create first account ## Description **Bug Summary:** Cannot create admin account **Steps to Reproduce:** Serve the web ui from the backend **Expected Behavior:** First account gets created **Actual Behavior:** No account is created. I queried the ollama.db file and there are no records In the web interface: I get the error: Something went wrong :/ 'AuthModel' object has no attribute 'model_dump' In the terminal, I get: INFO: 127.0.0.1:51664 - "POST /auths/signup HTTP/1.1" 500 Internal Server Error ## Environment - Ubuntu 22.04 - Firefox ## Installation Method Manual install
Author
Owner

@valerybugakov commented on GitHub (Jan 1, 2024):

@willjones1977, how did you solve the issue?

@valerybugakov commented on GitHub (Jan 1, 2024): @willjones1977, how did you solve the issue?
Author
Owner

@tjbck commented on GitHub (Jan 1, 2024):

@valerybugakov, You might want to reinstall all the python dependencies!

@tjbck commented on GitHub (Jan 1, 2024): @valerybugakov, You might want to reinstall all the python dependencies!
Author
Owner

@valerybugakov commented on GitHub (Jan 2, 2024):

Huh, it worked! TY
Curious, why did it fail on the first try? Running these two fixed it for me:

pip uninstall -y -r requirements.txt
pip install -r requirements.txt
@valerybugakov commented on GitHub (Jan 2, 2024): Huh, it worked! TY Curious, why did it fail on the first try? Running these two fixed it for me: ```sh pip uninstall -y -r requirements.txt pip install -r requirements.txt ```
Author
Owner

@tjbck commented on GitHub (Jan 3, 2024):

@valerybugakov, not entirely sure 😅 Glad it's working for you now!

@tjbck commented on GitHub (Jan 3, 2024): @valerybugakov, not entirely sure 😅 Glad it's working for you now!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#141