Large File Uploads to Documents in Open WebUI Workspace Fail on GCE #1550

Closed
opened 2025-11-11 14:47:19 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @JeJoeWa on GitHub (Jul 17, 2024).

Description
Bug Summary:
When attempting to upload "large files" (over 5 MB) using the Open WebUI interface, the upload fails silently. Smaller files upload and process without issues.

Steps to Reproduce:
Set up Open WebUI following the installation guide for Installing Open WebUI with Bundled Ollama Support

Attempt to upload a small file (e.g., under 5 MB) through the Open WebUI interface and Documents (RAG).
Observe that the file uploads successfully and is processed.

Attempt to upload a large file through the Open WebUI interface.
Observe that the upload fails silently without any errors in the logs.

Expected Behavior:
Large files should upload successfully and be processed similarly to smaller files.

Actual Behavior:
Large files fail to upload, and there is no indication in the logs that the POST request to /rag/api/v1/process/doc is being made.

Environment
Open WebUI Version: 0.3.10
Operating System: Ubuntu 20.04 on Google Compute Engine (GCE)
Browser (if applicable): Chrome 103.0

Reproduction Details

  • 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 Docker container logs.
  • No relevant errors in the browser console.

Docker Container Logs:

Logs for successful upload of a small file:

INFO  [apps.rag.main] store_data_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/example.pdf', ... }]
INFO  [apps.rag.main] store_docs_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/example.pdf', ... }]
INFO:     127.0.0.1:46985 - "POST /rag/api/v1/process/doc HTTP/1.1" 200 OK
INFO  [apps.openai.main] get_all_models()
INFO  [apps.ollama.main] get_all_models()

Logs for failed upload of a large file:

INFO  [apps.rag.main] store_data_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/large-file.pdf', ... }]
INFO  [apps.rag.main] store_docs_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/large-file.pdf', ... }]
INFO  [apps.openai.main] get_all_models()
INFO  [apps.ollama.main] get_all_models()

Installation Method
Installed using Docker on Google Compute Engine (GCE).

Additional Information
Verified that there are no GCE firewall rules or network settings limiting the upload size.
No explicit error messages in the logs indicating why the upload fails.
Smaller files upload and process without issues, indicating the general setup is correct.

Originally created by @JeJoeWa on GitHub (Jul 17, 2024). Description Bug Summary: When attempting to upload "large files" (over 5 MB) using the Open WebUI interface, the upload fails silently. Smaller files upload and process without issues. **Steps to Reproduce:** Set up Open WebUI following the installation guide for Installing Open WebUI with Bundled Ollama Support Attempt to upload a small file (e.g., under 5 MB) through the Open WebUI interface and Documents (RAG). Observe that the file uploads successfully and is processed. Attempt to upload a large file through the Open WebUI interface. Observe that the upload fails silently without any errors in the logs. Expected Behavior: Large files should upload successfully and be processed similarly to smaller files. Actual Behavior: Large files fail to upload, and there is no indication in the logs that the POST request to /rag/api/v1/process/doc is being made. **Environment** Open WebUI Version: 0.3.10 Operating System: Ubuntu 20.04 on Google Compute Engine (GCE) Browser (if applicable): Chrome 103.0 **Reproduction Details** - 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 Docker container logs. - No relevant errors in the browser console. **Docker Container Logs:** Logs for successful upload of a small file: ``` INFO [apps.rag.main] store_data_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/example.pdf', ... }] INFO [apps.rag.main] store_docs_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/example.pdf', ... }] INFO: 127.0.0.1:46985 - "POST /rag/api/v1/process/doc HTTP/1.1" 200 OK INFO [apps.openai.main] get_all_models() INFO [apps.ollama.main] get_all_models() ``` Logs for failed upload of a large file: ``` INFO [apps.rag.main] store_data_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/large-file.pdf', ... }] INFO [apps.rag.main] store_docs_in_vector_db [Document(metadata={'source': '/app/backend/data/uploads/large-file.pdf', ... }] INFO [apps.openai.main] get_all_models() INFO [apps.ollama.main] get_all_models() ``` **Installation Method** Installed using Docker on Google Compute Engine (GCE). Additional Information Verified that there are no GCE firewall rules or network settings limiting the upload size. No explicit error messages in the logs indicating why the upload fails. Smaller files upload and process without issues, indicating the general setup is correct.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1550