this post was submitted on 22 Aug 2023
47 points (98.0% liked)

Lemmy Support

4656 readers
15 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I was getting close to hitting the end of my free object storage so there was time pressure involved haha.

Seems to work but I haven't tested it too much. Currently running on my instance.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] nuke@yah.lol 6 points 1 year ago* (last edited 1 year ago) (1 children)

Great work!

This got me thinking, does Lemmy clear orphan pictrs files? Say a user uploads an image but never submits the comment/post? That file is still on your pictrs and publicly linkable. And what if the post or comment is removed by moderator or deleted by the author? Is Lemmy cleaning these up?

I don't think anything in lemmy is currently clearing that. There are community scripts around that do some clearing but I have not tried them.