I’m running a small instance just for myself and a friend. We basically use it to access the Lemmy fediverse.

I was under the impression that our instance would not download imagery that was not hosted on it but the pict-rs “files” directory ended up with 45 gig of data which ultimately filled up the VPS storage space.

Is there a command that I can automate to prune this regularly or does anyone have a solution?

  • Pleonasm
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Can you just run a cronjob to delete files in that directory every day?

    (Maybe there’s a reason you can’t do this, I don’t know how Lemmy instance works)

    • calr0x@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I deleted all of them and the instant stopped running so I’m not sure we can do it in that manner.