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

all 3 comments

sorted by: hot top controversial new old
[–] 5 points 3 years ago (1 child)

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.

  • source
  • hideshow 2 child comments
  • [–] 2 points 3 years ago* (last edited 3 years 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.

  • source