mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
feat: Implement Automatic Cleanup of Local Files When Using S3 Backend #5359
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 @calebhansard on GitHub (May 27, 2025).
Check Existing Issues
Problem Description
When using S3 as a backend for uploaded files in Open WebUI, a local copy is also stored for processing. Currently, there is no automatic cleanup process for these local files. This leads to unnecessary storage consumption on the host system, as the local storage continues to grow over time.
Desired Solution you'd like
Implement an automatic cleanup process for local files after they are no longer needed. This solution should:
Alternatives Considered
No response
Additional Context
Environment
Related discussions and issues