mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #1418] Cannot upload document #28015
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 @cellulosa on GitHub (Apr 4, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1418
Bug Report
Description
Bug Summary:
When I click on the + icon and select a document, I receive error 400.
RAG works if I place the very same document on the
/docsfolder and run aScan.Steps to Reproduce:
I am running the service with
docker-compose:Expected Behavior:
The documents gets uploaded and stored in the
/docsfolder.Actual Behavior:
When I try to upload a document, I see this error being thrown in the backend (see below).
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
Docker-compose
@ChekeGT commented on GitHub (Apr 4, 2024):
Hi bro, having the same issue atm, what kind of document are you trying to upload? For me it seems that it is for some reason not able to parse certain pdfs that contain images
@taidbui commented on GitHub (Apr 4, 2024):
Same issue here.
@frankwatson commented on GitHub (Apr 4, 2024):
I am also receiving the same error on PDFs with images with the most recent update. Moving back to the previous release the error is gone.
Seems to be the same issue as #1417
@ChekeGT commented on GitHub (Apr 4, 2024):
Found a workaround for this, just change the name of the file and it should parse it ok, no idea the reason why though
@tjbck commented on GitHub (Apr 5, 2024):
Should be fixed, let me know if the issue persists!
@jingyibo123 commented on GitHub (Apr 11, 2024):
@tjbck Problem encountered when trying to load pdf with chinese character in filename, ollama version
0.1.30@justinh-rahb commented on GitHub (Apr 11, 2024):
Change the file name, re-upload.