Scan does not skip hidden directories #2049

Closed
opened 2025-11-11 14:59:22 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @oatmealm on GitHub (Sep 10, 2024).

Bug Report

Installation Method

Docker.

Environment

OpenWebUI 0.3.21

Client running on Fedora Linux 40, Version 127.0.6533.99 (Official Build) Fedora Project (64-bit)

Confirmation:

  • [ x] I have read and followed all the instructions provided in the README.md.
  • [ x] I am on the latest version of both Open WebUI and Ollama.
  • [n/a ] I have included the browser console logs.
  • [n/a] I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

After scanning DOCS_DIR don't list hidden directories nor their content, even if the files within a hidden directory are not hidden explicitly.

Actual Behavior:

Hidden directories and their content are listed in workspace/documents

Description

Bug Summary:

After forcing a scan of the DOCS_DIR I don't want to see hidden directories (starting with "."), the same way hidden files are skipped.

Reproduction Details

Steps to Reproduce:

  1. Create a new hidden directory in DOCS_DIR
  2. Touch or move some files (not hidden)
  3. Force scan in Admin/Documents

Logs and Screenshots

Browser Console Logs:
[n/]

Docker Container Logs:

[n/a]

Screenshots/Screen Recordings (if applicable):

[Attach any relevant screenshots to help illustrate the issue]

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.]

Originally created by @oatmealm on GitHub (Sep 10, 2024). # Bug Report ## Installation Method Docker. ## Environment OpenWebUI 0.3.21 Client running on Fedora Linux 40, Version 127.0.6533.99 (Official Build) Fedora Project (64-bit) **Confirmation:** - [ x] I have read and followed all the instructions provided in the README.md. - [ x] I am on the latest version of both Open WebUI and Ollama. - [n/a ] I have included the browser console logs. - [n/a] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: After scanning DOCS_DIR don't list hidden directories nor their content, even if the files within a hidden directory are not hidden explicitly. ## Actual Behavior: Hidden directories and their content are listed in workspace/documents ## Description **Bug Summary:** After forcing a scan of the DOCS_DIR I don't want to see hidden directories (starting with "."), the same way hidden files are skipped. ## Reproduction Details **Steps to Reproduce:** 1. Create a new hidden directory in DOCS_DIR 2. Touch or move some files (not hidden) 3. Force scan in Admin/Documents ## Logs and Screenshots **Browser Console Logs:** [n/] **Docker Container Logs:** [n/a] **Screenshots/Screen Recordings (if applicable):** [Attach any relevant screenshots to help illustrate the issue] ## 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.]
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2049