[GH-ISSUE #8240] [Bug] Serious Bug: After inserting a file into a document and deleting the document, the inserted file is not deleted! #3679

Open
opened 2026-03-23 21:32:23 +00:00 by mirror · 1 comment
Owner

Originally created by @anxreader on GitHub (Sep 28, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8240

Originally assigned to: @appflowy on GitHub.

Bug Description

I just inserted a 5GB file, and after deleting the document, my computer's storage hasn't been freed. I'm using a self-hosted cloud solution (Docker), and I don't know where to delete the file I inserted. Please guide me!!!

How to Reproduce

I just inserted a 5GB file, and after deleting the document, my computer's storage hasn't been freed. I'm using a self-hosted cloud solution (Docker), and I don't know where to delete the file I inserted. Please guide me!!!

Expected Behavior

I just inserted a 5GB file, and after deleting the document, my computer's storage hasn't been freed. I'm using a self-hosted cloud solution (Docker), and I don't know where to delete the file I inserted. Please guide me!!!

Operating System

macOS

AppFlowy Version(s)

latest version

Screenshots

No response

Additional Context

No response

Originally created by @anxreader on GitHub (Sep 28, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8240 Originally assigned to: @appflowy on GitHub. ### Bug Description I just inserted a 5GB file, and after deleting the document, my computer's storage hasn't been freed. I'm using a self-hosted cloud solution (Docker), and I don't know where to delete the file I inserted. Please guide me!!! ### How to Reproduce I just inserted a 5GB file, and after deleting the document, my computer's storage hasn't been freed. I'm using a self-hosted cloud solution (Docker), and I don't know where to delete the file I inserted. Please guide me!!! ### Expected Behavior I just inserted a 5GB file, and after deleting the document, my computer's storage hasn't been freed. I'm using a self-hosted cloud solution (Docker), and I don't know where to delete the file I inserted. Please guide me!!! ### Operating System macOS ### AppFlowy Version(s) latest version ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@owenyang0 commented on GitHub (Sep 28, 2025):

I checked the Appflowy_Cloud logs, and it seems that for some reason, files on minio couldn't be deleted properly.

{"timestamp":"2025-09-28T11:04:27.617023Z","level":"WARN","fields":{"message":"failed to delete 18 objects: service error"},"target":"database::file::s3_client_impl","filename":"libs/database/src/file/s3_client_impl.rs","line_number":255}
{"timestamp":"2025-09-28T11:04:27.623485Z","level":"WARN","fields":{"message":"failed to delete 20 objects: service error"},"target":"database::file::s3_client_impl","filename":"libs/database/src/file/s3_client_impl.rs","line_number":255}
{"timestamp":"2025-09-28T11:04:27.660633Z","level":"WARN","fields":{"message":"failed to delete 4 objects: service error"},"target":"database::file::s3_client_impl","filename":"libs/database/src/file/s3_client_impl.rs","line_number":255}
<!-- gh-comment-id:3342981472 --> @owenyang0 commented on GitHub (Sep 28, 2025): I checked the `Appflowy_Cloud` logs, and it seems that for some reason, files on `minio` couldn't be deleted properly. ``` {"timestamp":"2025-09-28T11:04:27.617023Z","level":"WARN","fields":{"message":"failed to delete 18 objects: service error"},"target":"database::file::s3_client_impl","filename":"libs/database/src/file/s3_client_impl.rs","line_number":255} {"timestamp":"2025-09-28T11:04:27.623485Z","level":"WARN","fields":{"message":"failed to delete 20 objects: service error"},"target":"database::file::s3_client_impl","filename":"libs/database/src/file/s3_client_impl.rs","line_number":255} {"timestamp":"2025-09-28T11:04:27.660633Z","level":"WARN","fields":{"message":"failed to delete 4 objects: service error"},"target":"database::file::s3_client_impl","filename":"libs/database/src/file/s3_client_impl.rs","line_number":255} ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3679
No description provided.