Skip Navigation
Announcements @lemmy.today mrmanager @lemmy.today

Restoration of user avatar images and profile pics

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.

5
5 comments
  • Thanks for keeping us updated, Mr. Manager! <3

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

    • 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