I just noticed that my pictrs image volume reached 20 GBs in size. Does Lemmy or pictrs not delete the cached images automatically after some time?

  • asudox@lemmy.asudox.devOP
    link
    fedilink
    arrow-up
    4
    ·
    3 days ago

    I just changed to another distro (so I had to set everything up again) and I simply did not backup the pictrs volume because how much time it would’ve taken to transfer it from one machine to another. And well, it seems like what you said is not true. I can load any old post and I will still see its images.

    • Nutomic@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      The proxied images will be refetched from the origin if they cant be found locally. There should also be a configurable maximum size for the image cache but I dont see it mentioned in the pictrs readme. So like Dessalines said you need to ask the developer directly.

    • Björn Tantau@swg-empire.de
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Pictures you (or your users. if any) uploaded yourself should be gone, though.

      I’ve turned off proxying myself and purged what I could find from pictrs and it’s still taking up way more storage than it should. And it’s a messy black box where I have no idea what’s really going on. Another reason why I want to switch to Piefed.

      • asudox@lemmy.asudox.devOP
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        2 days ago

        Yep. They did go away. I just uploaded them back again. Mine is a single user instance and I don’t upload much, so it wasn’t a big problem.

        I hope the Lemmy devs implement this in v1.0.0 because this is pretty annoying.