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

(Bug report) Trilium doesn't really remove attachments #4722

Open
miltuss opened this issue Mar 29, 2024 · 2 comments
Open

(Bug report) Trilium doesn't really remove attachments #4722

miltuss opened this issue Mar 29, 2024 · 2 comments

Comments

@miltuss
Copy link

miltuss commented Mar 29, 2024

Trilium Version

0.63.5

What operating system are you using?

Other Linux

What is your setup?

Server access only

Operating System Version

22.10

Description

I'm having a big problem with trilium. I did a test and noticed that it doesn't really remove attachments!

I had an 800MB database, I added a 200MB video to one note and an image to another note. Which expanded the database to 1GB. Then I deleted the two attachments of the two notes, which did not reduce the size of the database!

I found the image in the revisions of the note, I opened it in a separate link from the web browser, and I deleted all the revision versions of the note, which should have completely deleted this image , but it was still there via the URL I opened before, so it still hasn't been deleted.

The video is not present in the review of the note and has been removed from the attachments, yet the database still weighs 1GB, which means that the video has not been deleted either!

Sélection_024

I clicked on the Erase deleted notes now and Erase unused attachment notes now buttons, then I restarted the server, but the database still weighs 1GB and the image is still stored in the database despite having removed it in the revisions in the note and in the attachments. Same for the 200MB video which was not deleted.

Why does Trilium not delete attachments?

How to force the deletion of these files which are normally supposed to already be deleted?

Error logs

No response

@Nriver
Copy link
Contributor

Nriver commented Mar 29, 2024

Options - advance - vacuum database

@miltuss
Copy link
Author

miltuss commented Mar 30, 2024

Options - advance - vacuum database

THANKS. Can you tell me how to disable the 250MB file storage limit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants