Hi everyone,

As part of cleaning old cached images when the disk went full, it seems also images like your profile picture and banners (if you had those), got deleted.

If you dont mind, would you upload those again? And when you do, you cant upload the same picture. I made attempts myself to upload the same picture, but it needs to be a new picture (not even a rename of the pic works).

Next time I will make a DB query to figure out what pics are local and which are not, and delete only remote ones (cached images from other instances). There is a column in the DB for that, so just need to export a list of remote images and then delete only those.

Despite these growing pains, I think lemmy is still pretty awesome, and there will be tools to make these sort of issues go away in the future. I hear they are working on something for next version already so we will see.

Anyway, enjoy the weekend and once again, sorry for the mess around this issue.

  • BuelldozerA
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Sadly my avatar and banner are still disappearing. They last a couple of weeks and then disappear.

    • mrmanagerOPMA
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 year ago

      I’m very sorry about that - it’s because i still haven’t figured out a way to disable Lemmy caching all images, so the disk fills up and eventually I have to manually delete all images. And since Lemmy stores cached images in the same place as user avatars and banners, they also get deleted…

      I have some more things to try though. I will post as soon as I’ve fixed it… Hope you guys can be patient for a bit longer. :)

      They are also working on this feature in Lemmy itself but still in progress: https://github.com/LemmyNet/lemmy/pull/3897

      • BuelldozerA
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        No worries, it’s a minor thing. Just wanted to let you know that it was still happening. 🙂

        • mrmanagerOPMA
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Thank you :) I just wish there was a way to fix this in the Lemmy software. Currently im thinking maybe to move all images to object storage in S3. That seems to be the way people are doing it to get cheap storage.