[GH-ISSUE #16560] issue: file upload, files disappear #33488

Closed
opened 2026-04-25 07:24:28 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @next01dee on GitHub (Aug 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16560

Check Existing Issues

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

Installation Method

Git Clone

Open WebUI Version

0.6.22

Ollama Version (if applicable)

No response

Operating System

Ubuntu 24.04

Browser (if applicable)

Chrome, Edge

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

File should have been uploaded in the chat and with that to Mistral OCR after clicking ok.

Actual Behavior

File disappers and no failure. Browser Log says Error 500.
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

<html>

index.ts:12
POST https://koepferai.lan.koepfer.com/api/v1/files/ 500 (Internal Server Error)
  | s | @ | index.ts:12 -- | -- | -- | --   | Ht | @ | MessageInput.svelte:549   | (anonymous) | @ | MessageInput.svelte:710   | on | @ | MessageInput.svelte:624   | Xt | @ | MessageInput.svelte:946   |  

</html>

Steps to Reproduce

Upload a File and it disappears.

Logs & Screenshots

<html>

index.ts:12
POST https://koepferai.lan.koepfer.com/api/v1/files/ 500 (Internal Server Error)
  | s | @ | index.ts:12 -- | -- | -- | --   | Ht | @ | MessageInput.svelte:549   | (anonymous) | @ | MessageInput.svelte:710   | on | @ | MessageInput.svelte:624   | Xt | @ | MessageInput.svelte:946   |  

</html>

Additional Information

No response

Originally created by @next01dee on GitHub (Aug 13, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16560 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.6.22 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 24.04 ### Browser (if applicable) Chrome, Edge ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior File should have been uploaded in the chat and with that to Mistral OCR after clicking ok. ### Actual Behavior File disappers and no failure. Browser Log says Error 500. Failed to load resource: the server responded with a status of 500 (Internal Server Error) <html> <body> <!--StartFragment--><div tabindex="-1" class="console-message-wrapper console-error-level" jslog="Item; context: console-message; track: click, keydown: ArrowUp|ArrowDown|ArrowLeft|ArrowRight|Enter|Space|Home|End" role="log" aria-label="Failed to load resource: the server responded with a status of 500 (Internal Server Error)" style="box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-direction: column; margin: 4px; border-radius: 5px; --console-color-black: #000; --console-color-red: rgb(237 78 76); --console-color-green: rgb(1 200 1); --console-color-yellow: rgb(210 192 87); --console-color-blue: rgb(39 116 240); --console-color-magenta: rgb(161 66 244); --console-color-cyan: rgb(18 181 203); --console-color-gray: rgb(207 208 208); --console-color-darkgray: rgb(137 137 137); --console-color-lightred: rgb(242 139 130); --console-color-lightgreen: rgb(161 247 181); --console-color-lightyellow: rgb(221 251 85); --console-color-lightblue: rgb(102 157 246); --console-color-ightmagenta: #f5f; --console-color-lightcyan: rgb(132 240 255); --console-color-white: #fff; background-color: rgb(78, 53, 52); --message-corner-rounder-background: rgb(78 53 52 / 100%); --console-color-lightmagenta: rgb(214 112 214); color: rgb(222, 227, 229); font-family: monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div class="console-row-wrapper" style="box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-direction: row;"><div class="console-message" style="box-sizing: border-box; min-width: 0px; min-height: 17px; clear: right; position: relative; padding: 3px 22px 1px 0px; margin-left: 24px; flex: 1 1 auto; display: flex;"><div class="console-message-stack-trace-toggle" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 1 1 auto; display: flex; flex-direction: row; align-items: flex-start; margin-top: -1px;"><div class="console-message-stack-trace-wrapper" aria-label="index.ts:12 POST https://koepferai.lan.koepfer.com/api/v1/files/ 500 (Internal Server Error) Stack table expanded" style="box-sizing: border-box; min-width: 0px; min-height: 0px; --override-display-stack-preview-toggle-link: none; flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch;"><div aria-expanded="true" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto;"><span class="source-code" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: monospace; white-space: pre-wrap; font-size: 12px !important; line-height: 1.2;"><span class="console-message-anchor" style="box-sizing: border-box; min-width: 0px; min-height: 0px; float: right; text-align: right; max-width: 100%; margin-left: 4px;"><button class="devtools-link text-button link-style" jslog="Link; context: script-location; track: click" role="link" tabindex="-1" title="https://koepferai.lan.koepfer.com/src/lib/apis/files/index.ts:12" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font: inherit; color: rgb(116, 213, 228); text-decoration: underline; outline-offset: 2px; margin: 0px; height: unset; border: none; border-radius: 2px; padding: 0px !important; background: none; flex: 0 0 auto; white-space: nowrap; cursor: pointer; outline: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; word-break: break-all;"><br class="Apple-interchange-newline">index.ts:12</button> <devtools-request-link-icon class="resource-links" style="display: inline-block; white-space: nowrap; color: inherit; font-size: inherit; font-family: inherit; box-sizing: border-box; min-width: 0px; min-height: 0px; margin-top: -1px; margin-bottom: -2px;"><button class=" link " title="Click to open the network panel and show request for URL: https://koepferai.lan.koepfer.com/api/v1/files/" jslog="Link; context: request; track: click" style="border: none; background: transparent; margin: 0px; padding: 0px; font-family: inherit; font-size: inherit; color: inherit; cursor: pointer;"><devtools-icon name="arrow-up-down-circle" role="presentation" style="flex-grow: 0; flex-shrink: 0; display: inline-block; width: 16px; height: 16px; color: rgb(86, 185, 200); vertical-align: middle; position: relative;"><span style="display: block; width: 16px; height: 16px; background-color: currentcolor; mask: url(&quot;devtools://devtools/bundled/Images/arrow-up-down-circle.svg&quot;) 50% 50% / contain no-repeat; --icon-url: url(&quot;devtools://devtools/bundled/Images/arrow-up-down-circle.svg&quot;);"></span></devtools-icon></button></devtools-request-link-icon> </span><span class="console-message-text" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(255, 218, 214) !important;">POST <button class="devtools-link text-button link-style" jslog="Link; context: network-request; track: click" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font: inherit; color: rgb(116, 213, 228); text-decoration: underline; outline-offset: 2px; margin: 0px; height: unset; border: none; border-radius: 2px; padding: 0px !important; background: none; flex: 0 0 auto; white-space: nowrap; cursor: pointer; outline: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; word-break: break-all;">https://koepferai.lan.koepfer.com/api/v1/files/</button> 500 (Internal Server Error)</span></span></div><div class="" role="group" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto;"><span class="monospace stack-preview-container width-constrained" style="display: inline-block; width: 541.2px; box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: monospace; font-size: 12px !important;">   | s | @ | index.ts:12 -- | -- | -- | --   | Ht | @ | MessageInput.svelte:549   | (anonymous) | @ | MessageInput.svelte:710   | on | @ | MessageInput.svelte:624   | Xt | @ | MessageInput.svelte:946   |   </span></div></div></div></div></div></div><!--EndFragment--> </body> </html> ### Steps to Reproduce Upload a File and it disappears. ### Logs & Screenshots <html> <body> <!--StartFragment--><div tabindex="-1" class="console-message-wrapper console-error-level" jslog="Item; context: console-message; track: click, keydown: ArrowUp|ArrowDown|ArrowLeft|ArrowRight|Enter|Space|Home|End" role="log" aria-label="Failed to load resource: the server responded with a status of 500 (Internal Server Error)" style="box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-direction: column; margin: 4px; border-radius: 5px; --console-color-black: #000; --console-color-red: rgb(237 78 76); --console-color-green: rgb(1 200 1); --console-color-yellow: rgb(210 192 87); --console-color-blue: rgb(39 116 240); --console-color-magenta: rgb(161 66 244); --console-color-cyan: rgb(18 181 203); --console-color-gray: rgb(207 208 208); --console-color-darkgray: rgb(137 137 137); --console-color-lightred: rgb(242 139 130); --console-color-lightgreen: rgb(161 247 181); --console-color-lightyellow: rgb(221 251 85); --console-color-lightblue: rgb(102 157 246); --console-color-ightmagenta: #f5f; --console-color-lightcyan: rgb(132 240 255); --console-color-white: #fff; background-color: rgb(78, 53, 52); --message-corner-rounder-background: rgb(78 53 52 / 100%); --console-color-lightmagenta: rgb(214 112 214); color: rgb(222, 227, 229); font-family: monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><div class="console-row-wrapper" style="box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-direction: row;"><div class="console-message" style="box-sizing: border-box; min-width: 0px; min-height: 17px; clear: right; position: relative; padding: 3px 22px 1px 0px; margin-left: 24px; flex: 1 1 auto; display: flex;"><div class="console-message-stack-trace-toggle" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 1 1 auto; display: flex; flex-direction: row; align-items: flex-start; margin-top: -1px;"><div class="console-message-stack-trace-wrapper" aria-label="index.ts:12 POST https://koepferai.lan.koepfer.com/api/v1/files/ 500 (Internal Server Error) Stack table expanded" style="box-sizing: border-box; min-width: 0px; min-height: 0px; --override-display-stack-preview-toggle-link: none; flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch;"><div aria-expanded="true" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto;"><span class="source-code" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: monospace; white-space: pre-wrap; font-size: 12px !important; line-height: 1.2;"><span class="console-message-anchor" style="box-sizing: border-box; min-width: 0px; min-height: 0px; float: right; text-align: right; max-width: 100%; margin-left: 4px;"><button class="devtools-link text-button link-style" jslog="Link; context: script-location; track: click" role="link" tabindex="-1" title="https://koepferai.lan.koepfer.com/src/lib/apis/files/index.ts:12" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font: inherit; color: rgb(116, 213, 228); text-decoration: underline; outline-offset: 2px; margin: 0px; height: unset; border: none; border-radius: 2px; padding: 0px !important; background: none; flex: 0 0 auto; white-space: nowrap; cursor: pointer; outline: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; word-break: break-all;"><br class="Apple-interchange-newline">index.ts:12</button> <devtools-request-link-icon class="resource-links" style="display: inline-block; white-space: nowrap; color: inherit; font-size: inherit; font-family: inherit; box-sizing: border-box; min-width: 0px; min-height: 0px; margin-top: -1px; margin-bottom: -2px;"><button class=" link " title="Click to open the network panel and show request for URL: https://koepferai.lan.koepfer.com/api/v1/files/" jslog="Link; context: request; track: click" style="border: none; background: transparent; margin: 0px; padding: 0px; font-family: inherit; font-size: inherit; color: inherit; cursor: pointer;"><devtools-icon name="arrow-up-down-circle" role="presentation" style="flex-grow: 0; flex-shrink: 0; display: inline-block; width: 16px; height: 16px; color: rgb(86, 185, 200); vertical-align: middle; position: relative;"><span style="display: block; width: 16px; height: 16px; background-color: currentcolor; mask: url(&quot;devtools://devtools/bundled/Images/arrow-up-down-circle.svg&quot;) 50% 50% / contain no-repeat; --icon-url: url(&quot;devtools://devtools/bundled/Images/arrow-up-down-circle.svg&quot;);"></span></devtools-icon></button></devtools-request-link-icon> </span><span class="console-message-text" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(255, 218, 214) !important;">POST <button class="devtools-link text-button link-style" jslog="Link; context: network-request; track: click" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font: inherit; color: rgb(116, 213, 228); text-decoration: underline; outline-offset: 2px; margin: 0px; height: unset; border: none; border-radius: 2px; padding: 0px !important; background: none; flex: 0 0 auto; white-space: nowrap; cursor: pointer; outline: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; word-break: break-all;">https://koepferai.lan.koepfer.com/api/v1/files/</button> 500 (Internal Server Error)</span></span></div><div class="" role="group" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto;"><span class="monospace stack-preview-container width-constrained" style="display: inline-block; width: 541.2px; box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: monospace; font-size: 12px !important;">   | s | @ | index.ts:12 -- | -- | -- | --   | Ht | @ | MessageInput.svelte:549   | (anonymous) | @ | MessageInput.svelte:710   | on | @ | MessageInput.svelte:624   | Xt | @ | MessageInput.svelte:946   |   </span></div></div></div></div></div></div><!--EndFragment--> </body> </html> ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 07:24:28 -05:00
Author
Owner

@rgaricano commented on GitHub (Aug 13, 2025):

could you be more explicit?
step to reproduce, type of document, some screenshot, backend log, system configuration, ...

<!-- gh-comment-id:3182921576 --> @rgaricano commented on GitHub (Aug 13, 2025): could you be more explicit? step to reproduce, type of document, some screenshot, backend log, system configuration, ...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33488