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? ;)
I’ve just gotten my own instance of Lemmy running here and think I’m getting the hang of how to subscribe and link up to other instances. This is also a teaser to see if my first comment actually works!
deleted by creator
Thanks for confirming before I could bruise back to Lemmy world, find this post and confirm for myself.
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.
“vanity purposes” lmao I love it
Well…
I have no idea what you are talking about /s
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.)
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!
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
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.
Cloudflare tunnels! I use it to expose my nextcloud server to the internet. Works flawlessly.
Wow, I’ll look into this, thanks !
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.
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:/https://github.com/lflare/lemmy-subscriber-bot
Your instance only has 45 communities. Those are rookie numbers. You got to pump them up :D
I’ve been trying to get lemmy broken up to microservices for my Raspberry Pi k3s cluster. I have postgres running but I’m well outside my comfort zone trying to learn how kubernetes works. If I stand up the other microservices (pictrs and lemmy) do I just need to use the same namespace? How do I tell it the server url/fqdn/ip for postgres? Does metallb do that for me?
It took me so much fucking time to realize how it works. There it is:
https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
I learned Kubernetes in a hurry in my previous job, so I skimmed over lots of “obvious” things (in my manager’s eye) and this was one of them:(
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.
Also seeing the federation happening live at
tail -f /var/log/nginx/access.log
is so satisfying. I think I like computersIt’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.
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?
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.
I’m running my own server on a linode. I’ve got it on the cheapest tier which is $5 a month. I’m not quite sure what I’m going to do when the 25GB gets full, I’ll have to find out the best way to delete old posts and pictures.
Keep the activity table on a tight leash.
Yeah, I’ve heard of people using cron jobs to automatically clean activity older than 3 days.
I’m not sure what can be done about image staking up a lot of space, I imagine that’ll take up a ton of space after a while. Not sure how that could be cleaned up safely.
I believe there are ways to prune the images store but I haven’t dug into that yet.
Will set up one later on too, glad to hear it was a joy to tinker with, looking forwards to it!
I’m enjoying worrying people with my vanity domain. My instance is essentially single user (me and a couple selected friends)
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?
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.
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.
got a howto for pictrs bits?
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 whileUnfortunately, you will soon realize that due to bad design by the Lemmy developers, that the pictures pulled are actually on the smaller side, and a particular
activity
table in your database will be a ever-growing tumor on your disk space.What’s that?
Some people say manually purging the activity table for entries older than a week or so should be safe enough.
How useful it is to actually have a self-hosted lemmy instance if u are alone on it btw ?
Usefull as in fun? Or the fact you’re the boss? Top dog?
Very useful. I can federate with instances that don’t federate with each other. I can federate with both lemmy.ml and lemmygrad.ml, even if I don’t necessarily have to agree with either of their views.
I wanna look into self-hosting my own Lemmy instance some time. Once I have more time to figure it out with my home network local server w/ public cloud VPS OpenVPN server setup (likely with Docker containers too) I’ll take a look into it. You’re right, it’ll likely be fun and right up my alley too.