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
@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
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
Installation Method
Manual install
@valerybugakov commented on GitHub (Jan 1, 2024):
@willjones1977, how did you solve the issue?
@tjbck commented on GitHub (Jan 1, 2024):
@valerybugakov, You might want to reinstall all the python dependencies!
@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:
@tjbck commented on GitHub (Jan 3, 2024):
@valerybugakov, not entirely sure 😅 Glad it's working for you now!