this post was submitted on 28 Aug 2023
487 points (98.8% liked)

Selfhosted

40041 readers
653 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
 

cross-posted from: https://jamie.moe/post/113630

There have been users spamming CSAM content in !lemmyshitpost@lemmy.world causing it to federate to other instances. If your instance is subscribed to this community, you should take action to rectify it immediately. I recommend performing a hard delete via command line on the server.

I deleted every image from the past 24 hours personally, using the following command: sudo find /srv/lemmy/example.com/volumes/pictrs/files -type f -ctime -1 -exec shred {} \;

Note: Your local jurisdiction may impose a duty to report or other obligations. Check with these, but always prioritize ensuring that the content does not continue to be served.

Update

Apparently the Lemmy Shitpost community is shut down as of now.

you are viewing a single comment's thread
view the rest of the comments
[–] hitagi@ani.social 9 points 1 year ago (3 children)

How did you check this? From my understanding, images from external servers are copied (and transcoded) over locally. At least in my server (running 0.18.4), they do.

[–] ludrol@bookwormstory.social 4 points 1 year ago (1 children)

There is a possibility that my instance is buggy and it isn't caching images even though it should.

[–] hitagi@ani.social 3 points 1 year ago* (last edited 1 year ago) (1 children)

It's pretty inconsistent from my experience. Sometimes images do cache and sometimes they don't.

edit:

Here's an example from my instance:

https://ani.social/post/284147 - JPEG image that isn't copied/cached by my server.

https://ani.social/post/285861 - WEBP image copied/cached by my server.

[–] Rentlar@lemmy.ca 2 points 1 year ago (1 children)

Let me try to figure this out. The first is a photo uploaded to lemmy.world, the second is a photo originally uploaded to lemmy.nz, both posts are in a federated version of lemmy.world's shitpost community.

This is just a theory, but perhaps images hosted on the same server as the federated community will directly link, whereas images uploaded somewhere other than the federated community will be copied into cache, presumably in case the original host shuts down unexpectedly? See if this is the case?

[–] hitagi@ani.social 3 points 1 year ago

images hosted on the same server as the federated community will directly link

https://ani.social/post/288601 - This image is uploaded from a user on the same instance as the federated community (lemmy.world) but the image is cached.

images uploaded somewhere other than the federated community will be copied into cache

https://ani.social/post/285354 - This image is uploaded from a user on a different instance (lemm.ee) from the federated community (lemmy.world) but the image is not cached.

The behaviour is pretty weird. Hopefully we can disable image caching/copying-over-locally so we don't have to deal with problematic images hosted by other instances.

[–] redcalcium@lemmy.institute 3 points 1 year ago (1 children)

It depends on how the image posted, the thumbnails might get federated. If the image is used in a post/comment body, usually the thumbnails are not federated.

[–] hitagi@ani.social 4 points 1 year ago

You can refer to this post. The full image is copied to my instance (and transcoded). Not just the thumbnail.

[–] CaptainAniki@lemmy.flight-crew.org 2 points 1 year ago* (last edited 1 year ago)

I shut down the pictrs or whatever docker container on my instance so all I host is containers and the database. All the images that I see on my instance are external links. I can check by just looking at the rendered HTML.

https://files.catbox.moe/vm4yxl.png