$ cd lemmy-dir
$ du -sh *
456K    lemmy-ui
15G     pictrs
4.3G    postgres

Guys this is no longer funny please I feel literally chased by the “no space left” message. Please help I don’t need those pics I did not upload them

  • clement@social.poisson.me
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    Have you posted this question on the lemmy_admin community over on lemmy.ml? Or possibly joined their matrix chat as linked on their github project? I suspect you will be able to get much more targeted support directly from the team or their community rather than the selfhosted community which is more general to all kinds of self hosting.

    • maor@lemmy.org.ilOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      Thanks a lot, I was looking for this exact kind of community. Posted there <3

  • Sneezycat@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Sort by date created and delete oldest? Idk, I have no clue how Lemmy self-hosting works, but I guess that any picture you delete is a post that will be missing a picture.

    Best solution? Just download more RAM 😉

    • maor@lemmy.org.ilOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I should’ve mentioned it in the post, but I already tried deleting pics modified more than X days ago. The catch is that I don’t wanna delete pics uploaded to my server, I just want to delete pocs cached from other instances :(

  • iso@lemy.lol
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    They’re thumbnails of other instance posts. I suggest migrating pictrs to the S3 for cheaper/easier storage.

    • dan@upvote.au
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      1 year ago

      S3 isn’t always cheaper though… It’s highly redundant storage (multiple copies in multiple data centers) so it’s often going to cost more than a single copy on a single VPS or dedicated server or whatever. I guess in some cases it might end up cheaper compared to upgrading your storage to something larger though.

      If you do want to migrate your images “to the cloud”, Backblaze B2 should end up cheaper than S3.

      • iso@lemy.lol
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago
        • You don’t pay for storing on multiple servers. I never saw something like this on any provider I know.
        • Upgrading storage is not cheaper. Instance media storage reaches 500GB in a month and S3 is always cheaper than data volumes with given options for pictrs.
        • Backblaze is not cheapest. It has egress fees so it will cost much more than others. Although its cheaper than AWS.