this post was submitted on 21 Aug 2023
14 points (100.0% liked)

Lemmy Support

4654 readers
21 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Is there a way to delete the cached images saved on a hosted Lemmy instance to free up storage?

top 3 comments
sorted by: hot top controversial new old
[–] cpressland@devops.pizza 5 points 1 year ago (1 children)

I too would like to know this, I ran LCS on one of my instances and the Pictrs data store jumped to around 10Gb. It’s not a big deal if Pictrs automatically flushes older content, but if it doesn’t this’ll build up significantly over time.

[–] xusontha@ls.buckodr.ink 2 points 1 year ago

I did the same and mine's at 12, guess I'll keep track and see what happens

[–] voidx@futurology.today 2 points 1 year ago* (last edited 1 year ago)

There is an API DELETE /internal/variants in pictrs to clear out variants of generated images. However it only cleared out a few megabytes in our case.