Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not keep attachments of internal table deleted rows #15463

Open
NicolasFabre81 opened this issue Jan 30, 2025 · 2 comments
Open

Do not keep attachments of internal table deleted rows #15463

NicolasFabre81 opened this issue Jan 30, 2025 · 2 comments
Labels
attachments avalanche OSS team bb-datasource bug Something isn't working env - production Bug found in production

Comments

@NicolasFabre81
Copy link

Hosting

  • Self
    • Method: docker
    • Budibase Version: 2.9.38

Describe the bug
When deleteing an internal table row, attachments of this row remain in the internal database. This cause the .tar.gz export file to be over sized.

To Reproduce
_ create internal table with at least one attachment column.
_ insert at least one row with a quite big attachment.
_ delete this row
_ export the app : you can see with the .tar.gz size that the file is still there.

Expected behavior
Attachments are deleted when the table row is deleted.

@NicolasFabre81 NicolasFabre81 added the bug Something isn't working label Jan 30, 2025
Copy link

linear bot commented Jan 30, 2025

@andz-bb andz-bb assigned mikesealey and unassigned mikesealey Feb 4, 2025
Copy link
Contributor

andz-bb commented Feb 4, 2025

hey @NicolasFabre81 - thanks for raising this. You may be able to log in to Minio (our self host object store where attachments are kept) to clear some of the old files. We have a guide on our documentation on how to access this here: https://docs.budibase.com/docs/accessing-minio

Please note that if we address this you'll need to update to version 3 of Budibase to get the fix.

@andz-bb andz-bb added attachments avalanche OSS team bb-datasource env - production Bug found in production labels Feb 4, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
attachments avalanche OSS team bb-datasource bug Something isn't working env - production Bug found in production
Projects
None yet
Development

No branches or pull requests

3 participants