[GH-ISSUE #7081] Problem with Image settings and Automatic1111 #53265

Closed
opened 2026-05-05 14:32:21 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @mightykatun on GitHub (Nov 20, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7081

Installation Method

I run open webui on docker, ollama on docker too and automatic1111 as a linux process

Environment

  • Open WebUI Version: v0.4.1

  • Ollama (if applicable): v0.4.2

  • Operating System: Ubuntu 24.04.1 LTS

  • Browser (if applicable): Firefox v131.0 (64-bit) Snap for Ubuntu

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on 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 provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

When trying to change image settings with Automatic1111 by pressing the save button, I expected to get a confirmation message.

Actual Behavior:

The page just freezes and the save button spins forever (see attached image).

Description

Bug Summary:
The save button breaks the page and does not notify of an actual success or failure (same behavior for the connection check button). The settings (for example resolution) seem to be saved though when refreshing the page. My instance of Automatic1111 is reachable by the webui as generating images through the chat works just fine.

Reproduction Details

Steps to Reproduce:
On the web interface, go into admin settings > image settings, modify settings for automatic1111 and press the save button.

Logs and Screenshots

Browser Console Logs:

HTTP/3 422 
date: Wed, 20 Nov 2024 (time redacted)
content-type: application/json
content-length: 141
access-control-allow-origin: https://open_webui.domain.com
access-control-allow-credentials: true
vary: Origin, Origin
x-process-time: 0
cf-cache-status: DYNAMIC
priority: u=0,i=?0

Docker Container Logs:

INFO:     0:0:0:0 (redacted ip) - "GET /_app/immutable/nodes/12.BtPW7nAa.js.map HTTP/1.0" 304 Not Modified
INFO:     0:0:0:0 (redacted ip) - "POST /images/api/v1/config/update HTTP/1.0" 422 Unprocessable Entity
INFO  [open_webui.apps.images.main] Setting image model to v1-5-pruned-emaonly.safetensors [6ce0161689]
INFO  [open_webui.env] Saving 'IMAGE_GENERATION_MODEL' to the database
INFO  [open_webui.env] Saving 'IMAGE_SIZE' to the database
INFO  [open_webui.env] Saving 'IMAGE_STEPS' to the database
INFO:     0:0:0:0 (redacted ip) - "POST /images/api/v1/image/config/update HTTP/1.0" 200 OK
INFO:     0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/index.BpuRQpPa.js.map HTTP/1.0" 304 Not Modified
INFO:     0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/scheduler.DKHHNqU1.js.map HTTP/1.0" 304 Not Modified
INFO:     0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/index.BG6AZx8_.js.map HTTP/1.0" 304 Not Modified
INFO:     0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/index.BeZFlfhY.js.map HTTP/1.0" 304 Not Modified
INFO:     0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/Toaster.svelte_svelte_type_style_lang.B5B2_Ufq.js.map HTTP/1.0" 304 Not Modified
INFO:     0:0:0:0 (redacted ip) - "GET /images/api/v1/models HTTP/1.0" 200 OK

Screenshots/Screen Recordings (if applicable):
image
image

Additional Information

200 OK POST and GET in logs when generating the image seen above.

Originally created by @mightykatun on GitHub (Nov 20, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7081 ## Installation Method I run open webui on docker, ollama on docker too and automatic1111 as a linux process ## Environment - **Open WebUI Version:** v0.4.1 - **Ollama (if applicable):** v0.4.2 - **Operating System:** Ubuntu 24.04.1 LTS - **Browser (if applicable):** Firefox v131.0 (64-bit) Snap for Ubuntu **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on 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 provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: When trying to change image settings with Automatic1111 by pressing the save button, I expected to get a confirmation message. ## Actual Behavior: The page just freezes and the save button spins forever (see attached image). ## Description **Bug Summary:** The save button breaks the page and does not notify of an actual success or failure (same behavior for the connection check button). The settings (for example resolution) seem to be saved though when refreshing the page. My instance of Automatic1111 is reachable by the webui as generating images through the chat works just fine. ## Reproduction Details **Steps to Reproduce:** On the web interface, go into admin settings > image settings, modify settings for automatic1111 and press the save button. ## Logs and Screenshots **Browser Console Logs:** ```plaintext HTTP/3 422 date: Wed, 20 Nov 2024 (time redacted) content-type: application/json content-length: 141 access-control-allow-origin: https://open_webui.domain.com access-control-allow-credentials: true vary: Origin, Origin x-process-time: 0 cf-cache-status: DYNAMIC priority: u=0,i=?0 ``` **Docker Container Logs:** ```plaintext INFO: 0:0:0:0 (redacted ip) - "GET /_app/immutable/nodes/12.BtPW7nAa.js.map HTTP/1.0" 304 Not Modified INFO: 0:0:0:0 (redacted ip) - "POST /images/api/v1/config/update HTTP/1.0" 422 Unprocessable Entity INFO [open_webui.apps.images.main] Setting image model to v1-5-pruned-emaonly.safetensors [6ce0161689] INFO [open_webui.env] Saving 'IMAGE_GENERATION_MODEL' to the database INFO [open_webui.env] Saving 'IMAGE_SIZE' to the database INFO [open_webui.env] Saving 'IMAGE_STEPS' to the database INFO: 0:0:0:0 (redacted ip) - "POST /images/api/v1/image/config/update HTTP/1.0" 200 OK INFO: 0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/index.BpuRQpPa.js.map HTTP/1.0" 304 Not Modified INFO: 0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/scheduler.DKHHNqU1.js.map HTTP/1.0" 304 Not Modified INFO: 0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/index.BG6AZx8_.js.map HTTP/1.0" 304 Not Modified INFO: 0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/index.BeZFlfhY.js.map HTTP/1.0" 304 Not Modified INFO: 0:0:0:0 (redacted ip) - "GET /_app/immutable/chunks/Toaster.svelte_svelte_type_style_lang.B5B2_Ufq.js.map HTTP/1.0" 304 Not Modified INFO: 0:0:0:0 (redacted ip) - "GET /images/api/v1/models HTTP/1.0" 200 OK ``` **Screenshots/Screen Recordings (if applicable):** ![image](https://github.com/user-attachments/assets/86cf9016-e0dd-4fc6-8ef6-3a9f7e97acfb) ![image](https://github.com/user-attachments/assets/fa9b9e9a-fff9-4852-9d26-ccb1301b3d25) ## Additional Information 200 OK POST and GET in logs when generating the image seen above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#53265