this post was submitted on 14 Jun 2023
21 points (95.7% liked)

Selfhosted

40724 readers
371 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 2 years ago
MODERATORS
 

I stood up a Yunohost and installed Mastodon a few months back. I had issues with storage and exponential growth as a result of federating with other instances.

It was just too much work keeping the storage at a minimal level for a single user instance, so I ditched it.

Is there anything like that I need to consider before I try my hand at Lemmy?

top 20 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 2 years ago

Too soon to tell for sure. Though I'm curious to see how the larger instances deal with storage growth, especially for the database.

[–] [email protected] 7 points 2 years ago

One smaller gotcha is that lemmy-ansible only supports apt. README doesn't mention that at all.

[–] [email protected] 6 points 2 years ago (2 children)

Mastodon caches images from remote instances, Lemmy doesn't. It links, which has it's own issues (images disappearing from remote posts if the instance goes down). Everybody I've seen complaining about storage space have been open Lemmy instances with loads of users potentially uploading images to the pictrs sub-system. There's even been requests to limit image storage for individual users.

If you're thinking of using the YunoHost version of Lemmy, be aware that the pictrs subsystem is removed due to technical issues, I would absolutely recommend using the ansible install. But that might defeat the purpose of easy self-hosting for most YunoHost users...

From a non-technical aspect, the biggest issue (or at least used to be) on Lemmy was the ideological attacks and isolation by the fascist core community of any non-conforming instance. That had a chokehold on the lemmyverse to the point I saw no point running a Lemmy instance unless I self-censored my sometimes negative opinions of the Chinese government. Seeing the core developers being willing to hold back their own project was the biggest surprise when self-hosting Lemmy.

[–] zombie_kong 3 points 2 years ago (1 children)

Thank you for responding.

I agree, the Ansible route is very daunting and does negate the user friendly appeal of Federated social media. But, it's early days and I am hoping there will be an emergence of one-click installs soon.

This is digressing somewhat but what's the deal with Lemmy / China / CCP? I'm a relatively normal 40 something. I just want to use the internet in a normal fashion.

[–] [email protected] 8 points 2 years ago (2 children)

Lemmy is created by what many describes as "tankies", fundamentalist communists. The lead devs are, in my impression generally supportive of the Chinese government. They run their own instances, dedicated to their own world view and interests. I don't have the slightest problem with that.

Hopefully due to a lack of foresight their instance was presented as a flagship instance on the official landing page and other places, effectively making it the representative for Lemmy for a long time. With their moderation practices, they in large parts drove away what I consider reasonable users regardless of personal ideology.

This created an monolithic instance that dwarfed every single instance besides one; the other dev-run instance which seems like a containment instance for those too fundamentalist to stay on the "main" server. For a large part Lemmy was a downright nasty monoculture that would harass even lead developers for daring to interact with code-contributing users on instances deemed "problematic".

With a very generous blocking practice, these monolithic instance basically shut out anybody not agreeing with them from the majority of content - including non-political. This in turn gave other instances less of a reason reason to stay on the Lemmyverse which reinforced the monoculture.

The devs did take steps to rectify this problem: they offered a year of free Lemmy hosting for anybody willing to admin a general purpose instance, recruited other general purpose instances to promote on join-lemmy.org. I respect that. But at that time it seemed too late to change the direction. When I realized the bad reputation Lemmy as a project had amongst some of the larger fediverse influencers, I realized that Lemmy would not be viable until it got a massive and sudden influx of new users to shake up the overall federated lemmy community. And now here we are!

[–] [email protected] 9 points 2 years ago

Kind of hilarious that a bunch of CCP fans end up building a censorship-resistant social network that would totally be banned in China.

[–] zombie_kong 2 points 2 years ago

Wow. That is a crazy backstory.

Thank you for taking the time to explain.

[–] ValorUp 3 points 2 years ago (1 children)

That last point is interesting. How did they fix it? Or did they?

[–] [email protected] 3 points 2 years ago (1 children)

A pictrs storage limit per user? Separate subsystems without interaction so not possible last time I checked. There are quite some quirks surrounding lemmy and pictrs, you could dig through lemmy.ml for posts about it.

[–] ValorUp 4 points 2 years ago* (last edited 2 years ago) (1 children)

Sorry, I meant the ideological attacks and isolation by a fascist core community of any non-conforming instance. I imagine you mean eventually, a large main group of instances could block off small instances being part of the fediverse? How did Lemmy devs solve this? Or did they even?

[–] [email protected] 4 points 2 years ago

How did Lemmy devs solve this?

When the devs released an update that allowed Lemmy to communicate properly with Mastodon and Friendica, a lot of the echo-chamber effect disappeared. But the dominance of larger instances kept up, sure anybody could find a smaller instance or even spin up their own and be auto-featured on join-lemmy.org - But with practically everybody subscribing and posting to existing and established communities it was hard to challenge the monopoly and get a foot in the door.

I've seen instances with hundreds of posts relegated to irrelevance, no upvotes, no comments. Because they weren't able to get the word out so people could have a choice to subscribe. Because they were blocked from the big announcement forums.

The only way to find them was to use the lemmy landing page and manually browse all instances to hunt down interesting subs. If I'm blocked from posting on the "new forums" section of lemmy.world, how would you ever know about my new forum? It would be dead in the water.

Or did they even?

Wider federation with Friendica/Mastodon++ was always planned. The reddit influx is by chance. I feel that the things that have changed the wider lemmy culture for the better have been by chance or as a by-product. Not by design.

And that's why I believed, and still belive, the Lemmyverse needed some externally driven changes. You have no idea the difference between now and 6-12 month ago. Being able to just post somewhere without being afraid of a misinterpreted comment could communaly block hundred of fellow instance users from a majority of the total lemmyverse content has been... Illuminating on the plights of people living in totalitarian states.

[–] DarkUFO 6 points 2 years ago (1 children)

If you gave up running a single user instance of Mastodon then I really don't think you should be running a Lemmy instance. It's a fediverse compliant system that will have many of the same issues as Mastodon.

I run a small 10 person Instance of Mastodon and it runs very well on a small server of 4GB Memory and 100GB disk. Not sure why you had issues with a 1 man instance.

Out of interest why would you want to run a 1 man Lemmy Instance?

[–] zombie_kong 8 points 2 years ago (2 children)

I'm not alone.

https://github.com/mastodon/mastodon/issues/20255

Compute was never an issue. I had my instance hosted on Hetzner and it ran just fine.

My concern is the storage, as described above, constantly checking disk space, cronjobs, purging etc etc

And whether I host a single user or a multi user instance is neither here or there. My question still stands.

[–] [email protected] 2 points 2 years ago

Cloud storage is expensive. Physical storage is cheaper in the long run. Might be a good candidate to actually self-host on-prem. Throw a bunch of SATA SSDs at it, which are astonishingly dirt cheap nowadays and probably fast enough for a medium-sized instance; maybe add an NVMe disk cache if you want to be fancy.

One of these months (or years...) fiber will finally be available in my area, at which point I'm going to move most of my servers from the cloud to on-prem. But for now I can't, because 10 Mbps upload is a pretty tight bottleneck...

[–] DarkUFO 1 points 2 years ago

I never had to check disk space, cron jobs or do any purging.

Where did you run you Mastodon Instance. I run mine at Digitial Ocean, been running for nearly a year and have not encountered any issues and I'm running on the cheapest server they have.

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago)

These things hurt me while setting up my Lemmy instance on my Raspberry Pi 4 via Docker.

  • The instance name must be less than or equal to 20 characters in length (database limit)
  • The lemmy and lemmy-ui docker images must be arm64 (for my Ubuntu 22.04 setup on my RaspberryPi)
  • The certbot image needs to be added to the docker-compose from the docker install instructions and "depend_on" the nginx image
  • I needed to disable the 80->443 redirect in my nginx config in order to get my initial cert (maybe there's another way)
  • The lemmy container needs its own network to allow it to access the internet (permitting searching)