[GH-ISSUE #22657] bug: Knowledge upload stuck at 0/0 (NaN%) when uploading folder #123090

Closed
opened 2026-05-21 02:17:03 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @YakupEmreYerli on GitHub (Mar 13, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22657

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

latest

Ollama Version (if applicable)

not using

Operating System

Ubuntu 22.0

Browser (if applicable)

firefox,chrome

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

When uploading a knowledge document (.md) the file should start uploading and be processed into the knowledge base.

Actual Behavior

The upload progress shows 0/0 (NaN%) and the upload never starts. The interface stays stuck and the file is never processed.

Steps to Reproduce

  1. Open OpenWebUI
  2. Go to Workspace → Knowledge
  3. Click Upload Folder
  4. Select a folder containing .md files
  5. Upload progress shows 0/0 (NaN%)
  6. Upload never starts

Logs & Screenshots

Image

Additional Information

The issue happens when uploading a folder containing multiple .md files.
Single file upload sometimes works, but folder upload gets stuck at 0/0 (NaN%).

Originally created by @YakupEmreYerli on GitHub (Mar 13, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/22657 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version latest ### Ollama Version (if applicable) not using ### Operating System Ubuntu 22.0 ### Browser (if applicable) firefox,chrome ### 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 When uploading a knowledge document (.md) the file should start uploading and be processed into the knowledge base. ### Actual Behavior The upload progress shows 0/0 (NaN%) and the upload never starts. The interface stays stuck and the file is never processed. ### Steps to Reproduce 1. Open OpenWebUI 2. Go to Workspace → Knowledge 3. Click **Upload Folder** 4. Select a folder containing `.md` files 5. Upload progress shows `0/0 (NaN%)` 6. Upload never starts ### Logs & Screenshots <img width="417" height="108" alt="Image" src="https://github.com/user-attachments/assets/bf136d77-b0ce-4c2b-adda-f90b4f55d5a9" /> ### Additional Information The issue happens when uploading a folder containing multiple .md files. Single file upload sometimes works, but folder upload gets stuck at 0/0 (NaN%).
GiteaMirror added the bug label 2026-05-21 02:17:03 -05:00
Author
Owner

@pr-validator-bot commented on GitHub (Mar 13, 2026):

⚠️ Invalid Issue Title

Hey @YakupEmreYerli, please provide a descriptive title for your issue. Titles that are empty, very short (under 10 characters), or generic (like "issue:" or "feat:") make it difficult for volunteer contributors to understand and triage issues.

Please update the title to reflect the content of your issue.


⚠️ Missing Issue Title Prefix

@YakupEmreYerli, your issue title is missing a prefix (e.g., bug:, feat:, docs:).

Please update your issue title to include one of the following prefixes:

  • bug: Bug report or error you've encountered
  • feat: Feature request or enhancement suggestion
  • docs: Documentation issue or improvement request
  • question: Question about usage or functionality
  • help: Request for help or support

Example: bug: Login fails when using special characters in password

<!-- gh-comment-id:4058579736 --> @pr-validator-bot commented on GitHub (Mar 13, 2026): # ⚠️ Invalid Issue Title Hey @YakupEmreYerli, please provide a descriptive title for your issue. Titles that are empty, very short (under 10 characters), or generic (like "issue:" or "feat:") make it difficult for volunteer contributors to understand and triage issues. Please update the title to reflect the content of your issue. --- # ⚠️ Missing Issue Title Prefix @YakupEmreYerli, your issue title is missing a prefix (e.g., `bug:`, `feat:`, `docs:`). Please update your issue title to include one of the following prefixes: - **bug**: Bug report or error you've encountered - **feat**: Feature request or enhancement suggestion - **docs**: Documentation issue or improvement request - **question**: Question about usage or functionality - **help**: Request for help or support Example: `bug: Login fails when using special characters in password`
Author
Owner

@YakupEmreYerli commented on GitHub (Mar 13, 2026):

bug: Knowledge upload stuck at 0/0 (NaN%) when uploading folder

<!-- gh-comment-id:4058584873 --> @YakupEmreYerli commented on GitHub (Mar 13, 2026): bug: Knowledge upload stuck at 0/0 (NaN%) when uploading folder
Author
Owner

@YakupEmreYerli commented on GitHub (Mar 13, 2026):

Thanks for the guidance. I found the cause of the issue and it’s now resolved.

The problem was related to the folder I was uploading. It contained files that were not supported by the knowledge uploader, which caused the upload progress to remain stuck at 0/0 (NaN%). After cleaning the folder and keeping only supported document files, the upload started working normally.

Appreciate the help.

<!-- gh-comment-id:4058593841 --> @YakupEmreYerli commented on GitHub (Mar 13, 2026): Thanks for the guidance. I found the cause of the issue and it’s now resolved. The problem was related to the folder I was uploading. It contained files that were not supported by the knowledge uploader, which caused the upload progress to remain stuck at 0/0 (NaN%). After cleaning the folder and keeping only supported document files, the upload started working normally. Appreciate the help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#123090