[Bug]: Deleting card with attachaments doesn't delete files on S3 #673

Closed
opened 2026-02-04 20:47:30 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @adiologydev on GitHub (Mar 27, 2025).

Where is the problem occurring?

I encountered the problem while using the application (Frontend)

What browsers are you seeing the problem on?

Firefox

Current behaviour

When you delete a card with attachments, the attachment file on S3 is not deleted (I haven't tested with local storage; maybe it doesn't delete it either).

It works fine if you delete the attachment manually.

Desired behaviour

All attachments associated with a card should be deleted when the parent card, list, or project is deleted.

Steps to reproduce

  • Configure S3 in Planka Config
  • Create a new card
  • Attach files
  • Delete attached files (monitor bucket)
  • Add another file
  • Delete card (monitor bucket)

Other information

This could be happening across every parent such as list and project as well. I haven't tested that aspect, but just sharing in case that does happen.

I'm not familiar with the code-base, but I can try to work on the 2 issues I've made when I find time over the weekend.

Originally created by @adiologydev on GitHub (Mar 27, 2025). ### Where is the problem occurring? I encountered the problem while using the application (Frontend) ### What browsers are you seeing the problem on? Firefox ### Current behaviour When you delete a card with attachments, the attachment file on S3 is not deleted (I haven't tested with local storage; maybe it doesn't delete it either). It works fine if you delete the attachment manually. ### Desired behaviour All attachments associated with a card should be deleted when the parent card, list, or project is deleted. ### Steps to reproduce - Configure S3 in Planka Config - Create a new card - Attach files - Delete attached files (monitor bucket) - Add another file - Delete card (monitor bucket) ### Other information This could be happening across every parent such as list and project as well. I haven't tested that aspect, but just sharing in case that does happen. I'm not familiar with the code-base, but I can try to work on the 2 issues I've made when I find time over the weekend.
Author
Owner

@meltyshev commented on GitHub (Mar 27, 2025):

Hi! Related issues: #244, #446. This has already been fixed in v2, which we’re releasing soon. Additionally, the upgrade script will clean up all undeleted attachments and other uploaded files.

@meltyshev commented on GitHub (Mar 27, 2025): Hi! Related issues: #244, #446. This has already been fixed in v2, which we’re releasing soon. Additionally, the upgrade script will clean up all undeleted attachments and other uploaded files.
Author
Owner

@adiologydev commented on GitHub (Mar 27, 2025):

Oh, perfect, thank you. Closing this now!

@adiologydev commented on GitHub (Mar 27, 2025): Oh, perfect, thank you. Closing this now!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#673