this post was submitted on 11 Jul 2023
57 points (93.8% liked)

Selfhosted

40000 readers
780 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've been considering self-hosting for over a year now, but I'm still concerned if the feds will come knocking at my door for something someone else does.

For example, if someone on my server follows an individual or community and they posts something illegal (i.e. unauthorized sexually exploitive images) that content could be stored on my server. Wouldn't' I be legally liable for such?

I mean #fucklaws and everything, but I don't want to end up in a cage and certainly not for something someone else did.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

Lemmy sometimes caches remote content in pict-rs. It's a bit broken so you usually don't see it, but it does do it occasional

[–] [email protected] 7 points 1 year ago (2 children)

IIRC Lemmy preloads all thumbnails for posts in communities you subscribe to into pictrs to be cached for like a month or something. So, yeah...

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 0 points 1 year ago

Yeah, all I know is that I am definitely seeing images loaded in from domains other than that of my instance as I load/scroll pages, which I want to be loaded via my instance for privacy reasons.

[–] [email protected] 1 points 1 year ago (1 children)

It barely works on my old version of lemmy, probably fixed now then. It would be nice if there was a was to turn that off and only use pictrs only for locally uploaded images. Since I'm the only person here caching isn't too important.
I wonder if I could shut pictrs down and only use an external image hosting for images?

[–] [email protected] 1 points 1 year ago (1 children)

I believe the Pictrs is a hard dependency and Lemmy just won't work without it, and there is no way to disable the caching. You can move all of the actual images to object storage as of v0.4.0 of Pictrs if that helps.

Other fediverse servers like Mastodon actually (can be configured to) proxy all remote media (for both privacy and caching reasons), so I imagine Lemmy will move that way and probably depend even more on Pictrs.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I believe the Pictrs is a hard dependency and Lemmy just won’t work without it, and there is no way to disable the caching

I'll have to double check this but I'm almost certain pictrs isn't a hard dependency. Saw either the author or one of the contributors mention a few days ago that pictrs could be discarded by editing the config.hjson to remove the pictrs block. Was playing around with deploying a test instance a few days ago and found it to be true, at least prior to finalizing the server setup. I didn't spin up the pictrs container at all, so I know that it will at least start and let me configure the server.

The one thing I'm not sure of however is if any caching data is written to the container layer in lieu of being sent to pictrs, as I didn't get that far (yet). I haven't seen any mention that the backend even does local storage, so I'm assuming that no caching is taking place when pictrs is dot being used.

Edit: Clarifications

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It seems to work, but it keeps throwing pictrs related errors, so it's not really built for it

[–] [email protected] 1 points 1 year ago

Well that's disappointing. I'll have to investigate further I guess. I was really hoping to set it up (at least initially) without any type of media storage.

[–] MigratingtoLemmy 5 points 1 year ago

Might be liable, then. You can never explain technology to a bureaucrat.