12

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.

top 5 comments
sorted by: hot top controversial new old
[-] Spacellary@lemmy.today 5 points 1 year ago

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

[-] Buelldozer@lemmy.today 1 points 1 year ago

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

[-] mrmanager@lemmy.today 2 points 1 year ago* (last edited 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

[-] Buelldozer@lemmy.today 2 points 1 year ago

No worries, it's a minor thing. Just wanted to let you know that it was still happening. ๐Ÿ™‚

[-] mrmanager@lemmy.today 1 points 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.

this post was submitted on 09 Sep 2023
12 points (100.0% liked)

Announcements

242 readers
1 users here now

Announcements about system updates or other things related to this instance.

founded 1 year ago
MODERATORS