this post was submitted on 28 Aug 2023
503 points (98.5% liked)

Selfhosted

40359 readers
332 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 [email protected] 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
[–] [email protected] 42 points 1 year ago (4 children)

Yup. Nope.

Pictrs is just completely disabled now. Rather be safe, then sorry.

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

Is this why I couldn't upload a meme to the Lemmy World servers earlier today?

Fuck...

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

Yeah... Just wow. I disabled pictrs and deleted all its images, which also means all my community images/uploaded images are gone, and it's more of a hassle to see other people's images, but in the end I think it's worth it.

Through caching every image pictrs was also taking up a massive amount of space on my Pi, which I also use for Nextcloud. So that's another plus!

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

Note, apparently, lemmy will get pretty pissy if pictrs isn't working..... and the "primary" lemmy GUI will straight-up stop working.

Although, https://old.lemmyonline.com/ will still work.

And- I am with you. My pictrs storage, has ended up taking up quite a bit of room.

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

There has to be a more elegant way of dealing with this in the future, like de-coupling between Lemmy-account hosting (which effectively means acitivypub-fediverse account) and Lemmy-communities hosting.

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

Does that disable image saving and processing for one's instance?

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

Yup.

So far, mostly everything appears to work still. But, trying to upload an image, just throws an error.

SyntaxError: Unexpected token 'R', "Request er"... is not valid JSON

I don't see a way to actually "gracefully" disable it, but, this works.

Edit- don't just stop pictrs.

Lemmy gets very pissy... and b reaks.

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

Is disabling Pictrs as simple as stopping the Docker container?

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

Yup.

I sent a step further, and commented out the pictrs related configuration from the lemmy.hjson too.