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.

    • mrmanager@lemmy.todayOPM
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      11 months 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

        • mrmanager@lemmy.todayOPM
          link
          fedilink
          arrow-up
          1
          ·
          11 months 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.