Y’all should try it! I loved seeing it popping on other instances’ /instances page, and seeing it polling other communities. Also changing the background in my theme was lit.

Lemmy’s hosting documentation is a bit rough around the edges, especially the ARM situation (and its contemporary solution), so I had some extra tinkering to do. No shade at all yeah? I appreciate every bit of their work and I jotted down some points that I need to consolidate into a documentation PR soon.

Anyway, I feel like the extra @... on our usernames should be worn as a badge of honor you feel me? ;)

@[email protected]
link
fedilink
English
32Y

I would love to do this but I’m afraid of exposing my home IP to the world of spammer and what not. Did you selfhost on a cloud provider or did you do it from your home ? How crazy does the security need to be around Lemmy instance ? I really feel like it’s a beacon of come hack me if you can!

@[email protected]
link
fedilink
English
12Y

I ended up getting a cheap VPS to use for Lemmy and Matrix for exactly that reason. They didn’t want to play well with Cloudflare proxy, so the VPS was the easiest solution.

Nimmo
link
fedilink
English
52Y

One method that many people use to hide their IP address of their host is to use Cloudflare for DNS, that way you don’t directly expose your IP address to the wider internet. A nice bonus to Clouldflare is that it’s free too! Just get yourself a domain, get Cloudflare set up to provide DNS for it and you’re golden.

@[email protected]
link
fedilink
English
12Y

Wow, I’ll look into this, thanks !

@[email protected]
link
fedilink
English
12Y

Cloudflare tunnels! I use it to expose my nextcloud server to the internet. Works flawlessly.

@[email protected]
creator
link
fedilink
English
12Y

I just rented a VPS from Hetzner because that’s the workflow I’m already familiar with. Lowest tier, 5$, and since it’s ARM it’s also beefy enough to never need an upgrade I hope :P

@[email protected]
link
fedilink
English
12Y

I definitely need to get my own instance set up. Ideally, I’d like to run it on a pi of some sort, but may choose a container on proxmox instead. Any advice for these options?

@[email protected]
link
fedilink
English
22Y

I’ve attempted on a proxmox LXC container, without much luck. may be a simple change needed, but I’ve had better luck with a VM. It typically uses around 1% CPU most of the time & around avg. 1.5GB ram usage. this is without any tweaks at all however. this is a single user instance.

@[email protected]
link
fedilink
English
32Y

Is there a community for troubleshooting self-hosted lemmy instances? Mine has issues showing search results and adding other instances. Unfortunately there’s not a lot I can find with my Google-fu.

mrmule
link
fedilink
English
42Y

We really need a CPanel/Softaculous installer like we have for wordpress etc. Would love to host, but atm there’s so much backend config for JoeDev to deal with.

mFat
link
fedilink
English
122Y

I wish someday self-hosting anything (not just Lemmy) becomes as easy as installing an app. Self-hosting doesn’t need to be a nerd thing.

shnizmuffin
link
fedilink
English
42Y

Unraid with some Community Apps and Docker turned on is pretty turn-key with a ton of room for superusers.

link
fedilink
22Y

@mfat
https://yunohost.org/ is an attempt to fill that gap, but it’s missing a key feature. Anything that wants to be broadly adopted will have to be appified these days.
@maor

@[email protected]
link
fedilink
English
72Y

The hard part is the network. Everything is different with different ISP. The DNS is another challenge, you need to buy your ‘internet real estate’ and have it work correctly if your IP change.

Security is another challenge but I think it’s easier to notice unusual traffic from your basement server than from a mega-tech-bro-corporation. There’s probably some easy software that could do that.

It’s certainly been an adventure for me that’s mostly spurred me to learn about how to user/admin docker. (I need a project to dig into to learn things.)

@[email protected]
link
fedilink
English
10
edit-2
2Y

It is cool, but lately there has been a bit too much hassle with it - my instance (latest versions mind you) is federating like shit.

There are often posts with wildly different upvote and comment counters, comments not loading at all even after days and so on.
I tried looking into it, both in issues on GH and Matrix room but no-one has time:/

maybe_its_flare
link
fedilink
English
11
edit-2
2Y
@[email protected]
link
fedilink
English
52Y

The more I see this community the more I think about starting a mastodon/Lemmy instance of my own. I used to have a home rack setup, but a 1U in an apartment isn’t ideal. I’ve cut down to just a old desktop with a pair of redundant 8TB drives now and might have to spin up a cheap vps somewhere.

@[email protected]
link
fedilink
English
12Y

You can go a looong way hosting stuff on ultra-small form factor business PCs

@[email protected]
creator
link
fedilink
English
212Y

Also seeing the federation happening live at tail -f /var/log/nginx/access.log is so satisfying. I think I like computers

@[email protected]
link
fedilink
English
32Y

It’s also interesting to see how many random webcrawlers are out there! When I was first setting up my instance I was spot checking some IPs and found all sorts of interesting security services.

@[email protected]
link
fedilink
English
82Y

It was a fun experience trying to get to all work. I did originally try on my raspberrypi but I ended up just giving up on that due to the issues you mentioned. But it’s nice to have my own instance, and slowly populating the all feed with new subscriptions and well I owned the domain va11halla.bar I had to use it for my name.

@[email protected]
creator
link
fedilink
English
52Y

“vanity purposes” lmao I love it

@[email protected]
link
fedilink
English
32Y

Well…

BlueÆther
link
fedilink
English
22Y

I have no idea what you are talking about /s

@[email protected]
link
fedilink
English
72Y

I’m enjoying worrying people with my vanity domain. My instance is essentially single user (me and a couple selected friends)

@[email protected]
link
fedilink
English
302Y

What are the storage implications of setting up your own instance? Are you syncing the contents of every sub or just the ones you and your friends subscribe to? I like the idea of doing it but will it be TB’s of content in a few months?

@[email protected]
creator
link
fedilink
English
62Y

You nailed it, it only pulls posts from communities that someone on your instance subbed to. It doesn’t even pull retroactively; your instance only starts pulling posts created after the first subscriber on the instance subbed.

I’m more concerned regarding media, because just like Mastodon, the pics themselves are copied from other instances onto yours. I hope it will be enough to just find -mtime -delete once in a while

maybe_its_flare
link
fedilink
English
6
edit-2
2Y

deleted by creator

@[email protected]
link
fedilink
English
7
edit-2
2Y

Some people say manually purging the activity table for entries older than a week or so should be safe enough.

https://github.com/LemmyNet/lemmy/issues/3103

@[email protected]
creator
link
fedilink
English
32Y

What’s that?

@[email protected]
link
fedilink
English
142Y

Just the ones people subscribe to.

I have an instance with over 600 users that has been up 6 weeks, and the storage grows every day. Database is 22GB and image cache + uploads is 30GB. In theory the cache should be cleared after a certain time, but I’m not aware of a configuration setting for this in Lemmy.

poVoq
link
fedilink
English
152Y

For the database a fix is incoming for the next release that will decrease the size a lot. For image storage it is more complicated, but configuring Pict-rs to only accept images of a certain size and convert them to webp does help a bit.

BlueÆther
link
fedilink
English
22Y

got a howto for pictrs bits?

Lunch
link
fedilink
English
22Y

Will set up one later on too, glad to hear it was a joy to tinker with, looking forwards to it!

SnoW
link
fedilink
English
52Y

How useful it is to actually have a self-hosted lemmy instance if u are alone on it btw ?

maybe_its_flare
link
fedilink
English
8
edit-2
2Y
Nowhereman
link
fedilink
English
92Y

Usefull as in fun? Or the fact you’re the boss? Top dog?

smashboy
link
fedilink
202Y

I think I have the tech know-how to do it, but what worries me is that users could post illegal content, which my instance could then pull in. Since it’s on my storage, I would be legally responsible for that. So I’d have to constantly check, probably. How do others do this?

RandomBit
link
fedilink
English
12Y

For CSAM in the US, you have to have actual knowledge to be responsible for reporting. If you view the image or it is reported, you must act. Its pretty much the same for DMCA.

@[email protected]
link
fedilink
English
32Y

Thats what worries me as well. I‘m an aspiring self hoster. Got many services but still learning. Having to deal with authorities is not something I look forward to.

@[email protected]
link
fedilink
0
edit-2
2Y

The risk is pretty small IMO, especially if you (or your friends) are the only one that use your instance (with registration closed so no random users uploading stuff to your own instance). If you disable nsfw on your instance, the chance of storing illegal images should be pretty low, especially if the communities you subscribed are moderated as deletion from mods will eventually processed by your own instance. If this still worries you, just nuke pictrs directory every few months, perhaps automatically using a cron scripts that delete images/gifs older than a few months.

smashboy
link
fedilink
22Y

Interesting, thank you. If a user uploads something illegal to another instance, and a mod takes it down, does that deletion then also reliably propagate to my instance?

@[email protected]
link
fedilink
1
edit-2
2Y

Unfortunately, I can’t say for sure if your instance will reliably get the deletion requests and process them. I did a small test to see how deletion works a few days ago and it doesn’t seem to propagate reliably as the deleted comment is still up in another instances, even now, though other instance such as lemmy.world seem to delete it. Not sure where it went wrong either, could either a bug, instances get overloaded and didn’t receive activitypub message correctly, or OP’s instance was improperly configured, but I sure hope it’s just an isolated incident.

Like I said before, If this still worries you, you can just delete older image files in the pictrs directory every few months to make sure you don’t host user-uploaded files for too long.

smashboy
link
fedilink
12Y

Thank you! That’s very useful in considerations.

maybe_its_flare
link
fedilink
6
edit-2
2Y

deleted by creator

Create a post

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:

  • Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
  • No spam posting.
  • Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
  • Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
  • No trolling.

Resources:

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

> Questions? DM the mods!

  • 1 user online
  • 218 users / day
  • 9 users / week
  • 244 users / month
  • 841 users / 6 months
  • 0 subscribers
  • 542 Posts
  • 8.93K Comments
  • Modlog