$ cd lemmy-dir
$ du -sh *
456K lemmy-ui
15G pictrs
4.3G postgres
Guys this is no longer funny please I feel literally chased by the “no space left” message. Please help I don’t need those pics I did not upload them
Sort by date created and delete oldest? Idk, I have no clue how Lemmy self-hosting works, but I guess that any picture you delete is a post that will be missing a picture.
Best solution? Just download more RAM 😉
I should’ve mentioned it in the post, but I already tried deleting pics modified more than X days ago. The catch is that I don’t wanna delete pics uploaded to my server, I just want to delete pocs cached from other instances :(
Have you posted this question on the lemmy_admin community over on lemmy.ml? Or possibly joined their matrix chat as linked on their github project? I suspect you will be able to get much more targeted support directly from the team or their community rather than the selfhosted community which is more general to all kinds of self hosting.
Thanks a lot, I was looking for this exact kind of community. Posted there <3
You could use Lemmy Post Purger
They’re thumbnails of other instance posts. I suggest migrating pictrs to the S3 for cheaper/easier storage.
S3 isn’t always cheaper though… It’s highly redundant storage (multiple copies in multiple data centers) so it’s often going to cost more than a single copy on a single VPS or dedicated server or whatever. I guess in some cases it might end up cheaper compared to upgrading your storage to something larger though.
If you do want to migrate your images “to the cloud”, Backblaze B2 should end up cheaper than S3.
- You don’t pay for storing on multiple servers. I never saw something like this on any provider I know.
- Upgrading storage is not cheaper. Instance media storage reaches 500GB in a month and S3 is always cheaper than data volumes with given options for pictrs.
- Backblaze is not cheapest. It has egress fees so it will cost much more than others. Although its cheaper than AWS.