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

  • cpressland@devops.pizza
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    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.

  • voidx@futurology.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    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.