mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #1261] bug: "Scan for documents" does nothing #51082
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 @greyivy on GitHub (Mar 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1261
Bug Report
Description
Bug Summary:
I've mapped a directory to
/data/docsbut Scan for documents doesn't seem to do anything apart from show Scan complete!. I've confirmed that the bind is working and files are accessible. My files are in subfolders in markdown format, but text files do not seem to work either. No error message is shown in the logs. Manually uploading individual files works.Steps to Reproduce:
/data/docsExpected Behavior:
Actual Behavior:
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
No logs, but
http://localhost:3000/rag/api/v1/scanreturnstruein its responseDocker Container Logs:
Nothing else relevant, no errors.
Screenshots (if applicable):

Installation Method
Docker using the provided instructions. Everything else is functional.
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@justinh-rahb commented on GitHub (Mar 22, 2024):
Full directory path is
/app/backend/data/docs, try binding to that.@greyivy commented on GitHub (Mar 22, 2024):
Thank you, that fixed it!