[GH-ISSUE #16252] issue: Folder issue with uploaded files (not the same as #15898) #33367

Closed
opened 2026-04-25 07:16:01 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @nc98-ai on GitHub (Aug 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16252

Check Existing Issues

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

Installation Method

Docker

Open WebUI Version

0.6.18

Ollama Version (if applicable)

No response

Operating System

Same as docker

Browser (if applicable)

No response

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

Files uploaded to a folder when Max Upload count is set to empty are extracted/analyzed. Responses are augmented by context

Actual Behavior

After setting the Max Upload Count to empty, files uploaded to a folder are not actually extracted/analyzed.
The problem does not occur if you use the Select Knowledge button.

the answer is not "augmented" with Upload files button:

Image Image

FYI, with the "Select Knowledge" button, the response is augmented:

Image

Steps to Reproduce

  1. Create a folder and upload a file to it
  2. Select folder
  3. Ask a question related to the document's content

Logs & Screenshots

2025-08-04 16:36:30.154 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {}
2025-08-04 16:36:38.174 | INFO | open_webui.routers.files:upload_file:95 - file.content_type: application/pdf - {}
2025-08-04 16:36:38.174 | INFO | open_webui.config:save:202 - Saving 'RAG_ALLOWED_FILE_EXTENSIONS' to the database - {}
2025-08-04 16:36:43.785 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "POST /api/v1/folders/7bb5dd94-d12f-498d-b4f2-d842a3d0a854/update HTTP/1.1" 200 - {}
2025-08-04 16:36:44.078 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {}
2025-08-04 16:36:44.369 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/pinned HTTP/1.1" 200 - {}
2025-08-04 16:36:44.681 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {}
2025-08-04 16:36:44.681 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-08-04 16:36:44.997 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {}
2025-08-04 16:36:51.417 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "POST /api/v1/chats/6230e2bf-a75a-447f-a5f1-31281bbf1258 HTTP/1.1" 200 - {}
2025-08-04 16:36:51.730 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {}
2025-08-04 16:36:52.048 | INFO | open_webui.routers.openai:get_all_models:392 - get_all_models() - {}
2025-08-04 16:36:52.054 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {}
Batches: 100%|██████████| 1/1 [00:00<00:00, 11.74it/s]
2025-08-04 16:36:53.296 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/da15c9db-1cbe-4f29-95fe-404bd85dcb24 HTTP/1.1" 200 - {}

Additional Information

No response

Originally created by @nc98-ai on GitHub (Aug 4, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16252 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.18 ### Ollama Version (if applicable) _No response_ ### Operating System Same as docker ### Browser (if applicable) _No response_ ### 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 Files uploaded to a folder when Max Upload count is set to empty are extracted/analyzed. Responses are augmented by context ### Actual Behavior After setting the Max Upload Count to empty, files uploaded to a folder are not actually extracted/analyzed. The problem does not occur if you use the Select Knowledge button. the answer is not "augmented" with Upload files button: <img width="631" height="333" alt="Image" src="https://github.com/user-attachments/assets/b70536d1-9bf4-4719-8d93-8da085700801" /> <img width="1224" height="467" alt="Image" src="https://github.com/user-attachments/assets/86892834-b1cd-48ad-93fd-25f808e8dbae" /> FYI, with the "Select Knowledge" button, the response is augmented: <img width="1033" height="425" alt="Image" src="https://github.com/user-attachments/assets/2bb7cbc6-ea47-41b2-8884-09bb8d9df4db" /> ### Steps to Reproduce 1. Create a folder and upload a file to it 2. Select folder 3. Ask a question related to the document's content ### Logs & Screenshots 2025-08-04 16:36:30.154 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {} 2025-08-04 16:36:38.174 | INFO | open_webui.routers.files:upload_file:95 - file.content_type: application/pdf - {} 2025-08-04 16:36:38.174 | INFO | open_webui.config:save:202 - Saving 'RAG_ALLOWED_FILE_EXTENSIONS' to the database - {} 2025-08-04 16:36:43.785 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "POST /api/v1/folders/7bb5dd94-d12f-498d-b4f2-d842a3d0a854/update HTTP/1.1" 200 - {} 2025-08-04 16:36:44.078 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 - {} 2025-08-04 16:36:44.369 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/pinned HTTP/1.1" 200 - {} 2025-08-04 16:36:44.681 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {} 2025-08-04 16:36:44.681 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} 2025-08-04 16:36:44.997 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {} 2025-08-04 16:36:51.417 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "POST /api/v1/chats/6230e2bf-a75a-447f-a5f1-31281bbf1258 HTTP/1.1" 200 - {} 2025-08-04 16:36:51.730 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 - {} 2025-08-04 16:36:52.048 | INFO | open_webui.routers.openai:get_all_models:392 - get_all_models() - {} 2025-08-04 16:36:52.054 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/folders/ HTTP/1.1" 200 - {} Batches: 100%|██████████| 1/1 [00:00<00:00, 11.74it/s] 2025-08-04 16:36:53.296 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.89.0.4:0 - "GET /api/v1/chats/da15c9db-1cbe-4f29-95fe-404bd85dcb24 HTTP/1.1" 200 - {} ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 07:16:01 -05:00
Author
Owner

@tjbck commented on GitHub (Aug 4, 2025):

Might've been addressed with e262069265 in dev, testing wanted here!

<!-- gh-comment-id:3150241901 --> @tjbck commented on GitHub (Aug 4, 2025): Might've been addressed with e262069265bd538865c221367f7110cb9913fb8b in dev, testing wanted here!
Author
Owner

@nc98-ai commented on GitHub (Aug 4, 2025):

hi @tjbck , I pull ghcr.io/open-webui/open-webui:git-6634112-cuda and test. Results:
Test pass 💯 with 'Max Upload Count' set or unset.
Thank U

<!-- gh-comment-id:3152549200 --> @nc98-ai commented on GitHub (Aug 4, 2025): hi @tjbck , I pull ghcr.io/open-webui/open-webui:git-6634112-cuda and test. Results: Test pass 💯 with 'Max Upload Count' set or unset. Thank U
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33367