this post was submitted on 10 Aug 2023
19 points (100.0% liked)

Lemmy Support

4654 readers
8 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

For some reason on my self hosted lemmy instance, I've managed to accumulate about 50GB worth of data inside my pictrs docker volume. I'm the only person on my instance and I've never uploaded any photos to my server other than my profile photo, profile banner, and site logo. Shouldn't all photos be hosted on other instances?

If it is not safe to simply delete the folders within the _data folder, how would I go about clearing out these files without it harming my server? Thanks in advance, as you can probably tell, I'm definitely new to self hosting my own social services. Thank you!

you are viewing a single comment's thread
view the rest of the comments
[–] palitu@lemmy.perthchat.org 4 points 1 year ago (2 children)

I thought that media wasn't sync'd, but i have seen reports that is is moved across. This sounds a lot like it is moved to your instance.

[–] nick@campfyre.nickwebster.dev 3 points 1 year ago* (last edited 1 year ago) (1 children)

That was my understanding too but I just looked through the storage bucket I have backing pict-rs on my instance and there is loads of stuff that is not mine on there.

[–] palitu@lemmy.perthchat.org 1 points 1 year ago

Yeah, that sounds like it must sync all subscribed comms to your instance, media and all

[–] utopify_org@lemmy.ml 1 points 1 year ago (1 children)

This is really weird! Why should something be moved to a one-man-instance? I wouldn't even expect getting 50GB of data if it would be a small public instance.

[–] palitu@lemmy.perthchat.org 2 points 1 year ago

I guess lemmy doesnt know iti s a one-man instance. and it allows for a consistent source for media (ie your home-lemmy).

I have always thought that it should be a time/size limited local cache, like you are happy to assign 50Gb to local cache of all assets from other instances, and it would keep it to size on a first in first out type of setting. Or, keep remote assets for up to 6 months.

When the cached asset expires, lemmy will then point to the original source.

but, i am not a dev.