Specifically, how do I safely and properly clean up the ‘/lemmy/magick/’ folder? Mine contains 44,259 files taking 405GiB in total. That is the vast majority of my humble server’s 466GiB capacity. I am the only user on my instance so I don’t know their source.

  • Nothing4You@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    not sure about the yunohost setup, but this sounds a bit like you may be running an old pict-rs version that had a bug that lead to temporary files not being cleaned up. especially newer versions will clean up the temp folders on startup even if some old stuff was left behind previously. which version of pict-rs are you running?

    • CrimeDadOPA
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      I’m not sure which version of pict-rs it is. The Yunohost package is based on Lemmy 19.11, so I presume the pict-rs version is whichever one normally ships with that. Looking through lemmy-ynh/conf/pict-rs.toml, I see a commented reference to version 0.4.1.

      • Nothing4You@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        0.4.1 is pretty old, but the link you provided leads to a manifest.toml that seems to indicate 0.5.17.

        pict-rs introduced temp file cleanup in 0.5.10, but that might not have cleaned up old media if you only recently upgraded.

        from a short look at the repo i didn’t see where /lemmy/magick/ is defined, so i’m not sure if that is indeed the pict-rs temp folder.