[PR #5163] [CLOSED] Fix ENOENT error for /collector/hotdir when STORAGE_DIR is customized #5333

Closed
opened 2026-06-05 15:21:00 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5163
Author: @04cb
Created: 3/7/2026
Status: Closed

Base: masterHead: fix/collector-hotdir-missing


📝 Commits (1)

  • 60b8706 Fix ENOENT error for /collector/hotdir when STORAGE_DIR is customized

📊 Changes

1 file changed (+4 additions, -2 deletions)

View changed files

📝 docker/Dockerfile (+4 -2)

📄 Description

Fixes #5152. The /collector/hotdir directory was hardcoded in the collector but never created in the Docker image. This caused ENOENT errors when STORAGE_DIR was set to any path other than /app/server/storage. The fix creates the /collector/hotdir directory with proper ownership during image build.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5163 **Author:** [@04cb](https://github.com/04cb) **Created:** 3/7/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/collector-hotdir-missing` --- ### 📝 Commits (1) - [`60b8706`](https://github.com/Mintplex-Labs/anything-llm/commit/60b87063f5d3340095e2dab61a6faac62bed6fdd) Fix ENOENT error for /collector/hotdir when STORAGE_DIR is customized ### 📊 Changes **1 file changed** (+4 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docker/Dockerfile` (+4 -2) </details> ### 📄 Description Fixes #5152. The /collector/hotdir directory was hardcoded in the collector but never created in the Docker image. This caused ENOENT errors when STORAGE_DIR was set to any path other than /app/server/storage. The fix creates the /collector/hotdir directory with proper ownership during image build. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:00 -04:00
yindo closed this issue 2026-06-05 15:21:00 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5333