109

Hi all. Due to the news of the illegal images being hosted on lemmy, I shut down my instance. I read some comments from people stating that they were able to selfhost lemmy without pictrs, they just can't upload or cache photos. I think this is what I am interested in doing at this time.

I tried commenting out the pictrs section of my docker-compose.yml and removed the "depends on pictrs" sections. However, I get the error message in the attached screenshot when I go to my page.

Does anyone have any info on how to selfhost lemmy with image hosting completely disabled?

you are viewing a single comment's thread
view the rest of the comments
[-] Die4Ever@programming.dev 44 points 3 years ago* (last edited 3 years ago)
[-] dandroid@sh.itjust.works 14 points 3 years ago

Awesome! Thank you for this link!

[-] nick@campfyre.nickwebster.dev 12 points 3 years ago

Just a note that my PR there doesn't disable pictrs for your own instance's users. It just disables the caching of remote content.

[-] dandroid@sh.itjust.works 16 points 3 years ago

That's fine with me, as I'm the only user in my instance.

Though I do still think this is a huge miss on pictrs to not allow the admin to browse the photos stored on their own server. I mean, someone could upload an illegal photo, not post it, then send the URL that only they could possibly know to whichever relevant government agency anonymously and potentially ruin the life of the admin.

Thank you so much for contributing and making this much needed fix.

[-] iamroot@discuss.tchncs.de 7 points 3 years ago
[-] dandroid@dandroid.app 5 points 3 years ago

This is a good start, but I think there also needs to be a way to browse all the images stored and shred them.

[-] d_ohlin@lemmy.world 3 points 3 years ago

Great! This is awesome thank you so much!!

this post was submitted on 29 Aug 2023
109 points (97.4% liked)

Selfhosted

61790 readers
386 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS