[GH-ISSUE #13816] issue: Cannot create admin account if first attempt failed because of password length #17043

Closed
opened 2026-04-19 22:49:13 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @lumiaspic on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13816

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Other

Open WebUI Version

v0.6.9

Ollama Version (if applicable)

No response

Operating System

macOS Sequoia 15.4.1 (24E263)

Browser (if applicable)

Firefox 138.0.1

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

My admin account creation is accepted.

Actual Behavior

My admin account creation is denied :

2025-05-12 16:50:19.760 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50094 - "POST /api/v1/auths/signup HTTP/1.1" 403 - {}

Steps to Reproduce

Can reproduce using uv and pip-install (tried both). I'll illustrate for uv only here:

  1. Install uv : curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Run Open WebUI : DATA_DIR=~/.open-webui uvx --python 3.11 open-webui@latest serve
  3. Go to http://localhost:8080/
  4. Try to create an admin account with a password with more than 72 characters.

Logs & Screenshots

2025-05-12 16:21:11.914 | INFO     | open_webui.config:save:199 - Saving 'ENABLE_SIGNUP' to the database - {}
2025-05-12 16:21:11.920 | ERROR    | open_webui.routers.auths:signup:558 - Signup error: 400: Uh-oh! The password you entered is too long. Please make sure your password is less than 72 bytes long. - {}
2025-05-12 16:21:11.921 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:49225 - "POST /api/v1/auths/signup HTTP/1.1" 500 - {}
2025-05-12 16:23:13.794 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:49357 - "POST /api/v1/auths/signup HTTP/1.1" 403 - {}

Additional Information

Seems like the ENABLE_SIGNUP variable gets written before the account is really created. Hence, I'm forced to either rewrite the ENABLE_SIGNUP to default or reinstalling from scratch (I've done this).

Originally created by @lumiaspic on GitHub (May 12, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13816 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Other ### Open WebUI Version v0.6.9 ### Ollama Version (if applicable) _No response_ ### Operating System macOS Sequoia 15.4.1 (24E263) ### Browser (if applicable) Firefox 138.0.1 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior My admin account creation is accepted. ### Actual Behavior My admin account creation is denied : ```bash 2025-05-12 16:50:19.760 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:50094 - "POST /api/v1/auths/signup HTTP/1.1" 403 - {} ``` ### Steps to Reproduce Can reproduce using `uv` and `pip-install` (tried both). I'll illustrate for `uv` only here: 1. Install `uv` : `curl -LsSf https://astral.sh/uv/install.sh | sh` 2. Run Open WebUI : `DATA_DIR=~/.open-webui uvx --python 3.11 open-webui@latest serve` 3. Go to `http://localhost:8080/` 4. Try to create an admin account with a password with more than 72 characters. ### Logs & Screenshots ```bash 2025-05-12 16:21:11.914 | INFO | open_webui.config:save:199 - Saving 'ENABLE_SIGNUP' to the database - {} 2025-05-12 16:21:11.920 | ERROR | open_webui.routers.auths:signup:558 - Signup error: 400: Uh-oh! The password you entered is too long. Please make sure your password is less than 72 bytes long. - {} 2025-05-12 16:21:11.921 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:49225 - "POST /api/v1/auths/signup HTTP/1.1" 500 - {} 2025-05-12 16:23:13.794 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:49357 - "POST /api/v1/auths/signup HTTP/1.1" 403 - {} ``` ### Additional Information Seems like the `ENABLE_SIGNUP` variable gets written before the account is really created. Hence, I'm forced to either rewrite the `ENABLE_SIGNUP` to default or reinstalling from scratch (I've done this).
GiteaMirror added the bug label 2026-04-19 22:49:13 -05:00
Author
Owner

@tjbck commented on GitHub (May 12, 2025):

Good catch, fixed with a904f874ee in dev!

<!-- gh-comment-id:2873149509 --> @tjbck commented on GitHub (May 12, 2025): Good catch, fixed with a904f874ee297402b694013620fd32b6825bc19d in dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#17043