mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #20738] issue: Unable to generate images with ComfyUI in OWUI version 0.7.2 #34808
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 @batcheej on GitHub (Jan 16, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20738
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.7.2
Ollama Version (if applicable)
N/A
Operating System
Ubuntu
Browser (if applicable)
N/A
Confirmation
README.md.Expected Behavior
An image is output in the chat. When image generation is selected. I have verified the prompt is sent to ComfyUI.
Actual Behavior
When using image generation it fails. Postgres is the database. This is the error in the output: [ERROR: (psycopg2.errors.UndefinedTable) relation "chat_file" does not exist
LINE 2: FROM chat_file
^
[SQL: SELECT chat_file.id AS chat_file_id, chat_file.user_id AS chat_file_user_id, chat_file.chat_id AS chat_file_chat_id, chat_file.message_id AS chat_file_message_id, chat_file.file_id AS chat_file_file_id, chat_file.created_at AS chat_file_created_at, chat_file.updated_at AS chat_file_updated_at
FROM chat_file
WHERE chat_file.chat_id = %(chat_id_1)s AND chat_file.message_id = %(message_id_1)s ORDER BY chat_file.created_at ASC]
[parameters: {'chat_id_1': '96d004ff-1645-4ebd-b9a1-6c16a2bd152b', 'message_id_1': 'd8182b91-592a-489f-85b1-fa8f2057c760'}]`
Steps to Reproduce
Attempt to generate an image.
Logs & Screenshots
`[ERROR: (psycopg2.errors.UndefinedTable) relation "chat_file" does not exist
LINE 2: FROM chat_file
^
[SQL: SELECT chat_file.id AS chat_file_id, chat_file.user_id AS chat_file_user_id, chat_file.chat_id AS chat_file_chat_id, chat_file.message_id AS chat_file_message_id, chat_file.file_id AS chat_file_file_id, chat_file.created_at AS chat_file_created_at, chat_file.updated_at AS chat_file_updated_at
FROM chat_file
WHERE chat_file.chat_id = %(chat_id_1)s AND chat_file.message_id = %(message_id_1)s ORDER BY chat_file.created_at ASC]
[parameters: {'chat_id_1': '96d004ff-1645-4ebd-b9a1-6c16a2bd152b', 'message_id_1': 'd8182b91-592a-489f-85b1-fa8f2057c760'}]`
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Jan 16, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#16822 issue: ComfyUI image generation still not working
by michal-cb • Aug 22, 2025 •
bug#16799 issue: ComfyUI image generation broken in v0.6.23
by links486 • Aug 22, 2025 •
bug#20436 issue: image generation cannot finish normally
by lywbh • Jan 07, 2026 •
bug#20119 issue: Unable to export images from conversations containing imagery to external sources (e.g., another Open WebUI instance)
by CookSleep • Dec 22, 2025 •
bug#19187 issue: Image generation menu gone.
by calebrio02 • Nov 14, 2025 •
bugShow 2 more related issues
#15404 issue: Image Generation Fails to Work
by lie5860 • Jun 30, 2025 •
bug#19019 issue: Image generation doesn't work with OpenRouter
by vladkvit • Nov 07, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@silentoplayz commented on GitHub (Jan 16, 2026):
I am unable to reproduce this issue on the latest
devbranch. I also use Postgres (PGVector) for my Open WebUI instances database.