this post was submitted on 02 Mar 2025
145 points (96.8% liked)

Selfhosted

44289 readers
681 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
 

Almost forgot before going to bed but I feel bi-weekly is a good rhythm for this.

Let us know what you set up lately, what kind of problems you currently think about or are running into, what new device you added to your homelab or what interesting service or article you found.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 week ago (2 children)

I've had two failed harddrives in the last month. Not sure if bad batch or what. Thankfully the order these were on only were the two drives so may not see more. They are under warranty but it's still a pain!

Otherwise I'm enjoying Mealie lately for my recipes. Kinda nice having them all in one place but accessible by anyone in the house.

load more comments (2 replies)
[–] [email protected] 8 points 1 week ago

Trying to get my hands dirty with LLM, Ollama and Web Scrapping.

I don't understand most of it , but hey, that's the fun. No complaints.

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

Pihole 6 broke my DNS (dnsmasq), and since I had a fw rule in opnsense to only use pihole's DNS, and deny public DNS access, it was an early rise for me :)

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

And that's why you have either a backup for your DNS or know whats auto-updated ;)

As you mention opnsense:
What do you mean with fw rules to only use pihole dns?
This sounds partly like a DHCP config and partly like a deny (hardcoded) DNS requests and to please use what DHCP supplied (looking at you google/amazon)

[–] [email protected] 3 points 1 week ago

I did have backups, it was an easy fix. I had a pihole -up on a crontab for years, probably not the best idea :)

FW rule accept :53 from pihole only, deny :53 from all. I had some devices with hardcored DNS settings (8.8.8.8).

[–] [email protected] 1 points 1 week ago

Damn... DNS issue early in the morning... What a nightmare 😂! Hope you got enough caffeine.

load more comments (1 replies)
[–] [email protected] 4 points 1 week ago

Realised my jellyfin lxc had a maxed out bootdisk yesterday, haven't been using it for a while. Luckily I have decent backups setup so I was able to restore a backup from late January when it wasn't filled yet. A quick library rescan and everything was up and running again.

[–] [email protected] 3 points 1 week ago

After having upgraded my Pi-Hole to v6, for some reason yesterday it started to not recognize any of the blocklists. So, I resetted it and now it works.

[–] [email protected] 2 points 1 week ago

I'm in the process of doing an initial restic sync of my primary storage to B2 as offsite backup and while I'm at it finally got around having a look at resticprofiles to simplify my restic backups on all my systems. Highly recommend it as it reduced my mental overhead of doing regular backups quite a bit!

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

My pihole exploded yesterday, all my fault. A couple of years ago, I created a script called via cron to update pihole's services every other week. This was great, until now when it updated to v6 at 4am. To make matters worse, I neglected to automate raspian updates, meaning it was very out of date, and was no longer compatible with pihole-FTL (thinking back, I thought I automated it too, but I guess not).

I took an image after creating a pihole "teleporter" backup, and began formatting. In my lack of caffeine and focus, I missed that my teleporter file was corrupt after I had successfully wiped the SD card. Thankfully I had that image as I was able to mount it and retrieve my blocklists via sqlite, otherwise I would have had to start from scratch.

One good thing that came out of it (for my taste, anyway) was that I swapped the OS on the pi to fedora. No more debian around here!

Tomorrow, I plan on setting up some backup automation for my pi, as it's the only machine missing backups at this point.

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

Why so hostile sounding against debian?
What does fedora better?

[–] [email protected] 2 points 1 week ago

I don't mean to sound hostile, that's probably my past demons coming out. Like I said in my last comment, it's really apt that I hate. It would constantly break or put me into dependency hell and I haven't had to deal with that (yet) with Fedora.

I haven't put my finger on it, but Fedora, for whatever reason, also just feels faster.

[–] [email protected] 1 points 1 week ago (1 children)

@AmbiguousProps @tofuwabohu why would you privilege fedora over Debian? Asking because I am trying to do the reverse.

[–] [email protected] 2 points 1 week ago

It's mostly personal preference, but I have grown to hate apt in general. I used it for over a decade and constantly got in dependency hell. I've yet to have anything like that happen on Fedora, especially Silverblue and CoreOS.

[–] [email protected] 9 points 1 week ago (2 children)

Had a hard drive fail my main zfs array. First time I have experienced a disk failure so it was a bit worrying. Thankfully I had added an additional drive to expand the array so I was able to quickly rebuild to that drive. Currently shopping for a replacement. From now on I think I will keep a cold spare just in case this happens again. I just wish hard drives would stop increasing in price.

load more comments (2 replies)
[–] [email protected] 10 points 1 week ago

Finally got my lemmy instance fully updated.

Been improving my backup scripts in advance of adding backup to a server.

Updated servers and other services.

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

I'm setting up Seafile and trying to swap everything from docker to podman. The longer term goal is that once everything is on podman, I'll get a new NVME drive and install MicroOS so I can retire my old SATA SSD (I've had it for 10 years or so, across 3 PCs).

I'm also considering setting up Forgejo and getting a worker to build my Rust projects.

[–] [email protected] 7 points 2 weeks ago (1 children)

Since it's winter and I mostly don't want to leave my house, I busted out an unused Raspberry Pi 4b a couple weeks ago. Started with CasaOS and AdGuard. Have now added a few other services including Navidrome to serve up a lot of local-area music for myself and friends. Got a Cloudflare tunnel set up, then some authentication through CF as well. And finally secured a static IP from my ISP. This is the farthest along I've ever gotten with any of this and it's been going great. Nearly every hurdle I've encountered I've been able to work through.

Two things causing me grief today though:

  1. I also have Nextcloud hosted on a VPS and I cannot get to the point of running occ commands. First it wasn't found, then no php cli, then just errors. I gave up.

  2. I'm using Homer because it's just so simple, but the theming and CSS is driving me nuts. Sure, I can change colors, but will this little bar in the neon theme change from 4em to 100% for me? NOPE. Override fonts? Nosir. All good though.

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

Try the OCCWeb app in nextcloud apps.

[–] [email protected] 1 points 1 week ago

Thanks! It just threw an error at me when I launched it, but I'll see what I can do. Based of the warnings in the admin panel, there isn't anything critical for me to address, I just hate that orange.

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

I'm a new selfhoster and reached the limit on what my DS923+ can handle after setting up an Immich instance (on top of qbitorrent, radarr/sonarr, plex). So I picked up a mini PC this week and migrated the Immich stack over (pointing to an NFS mount for the NAS!) and now it's running super smooth 🙌 Now I'm hype to move over more services and eventually start separating out media services from mission-critical stuff like photos when I have another machine handy.

I wanted to set up local domain resolution for my devices in order to stop having to visit sites with the local 192.168.1.x IP, so I started following some guides to run dnsmasq on the mini PC (Ubuntu Server) and add entries to /etc/hosts. It was pretty easy to get working OK, but for whatever reason the DNS doesn't seem to be working on a fresh boot. My local workstation can't ping the custom DNS entries for my devices until I sudo systemctl restart dnsmasq on the mini PC, after which everything works fine, which leads me to believe it's some weird boot order problem? I'm trying not to screw with it too much before bed, but hopefully I can figure out what's going on this week.

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

If you want to have domains assigned to local IP addresses, you can also use Pihole as a local DNS! It's a very nice tool for adblocking on network level anyways, can only recommend it.

load more comments (2 replies)
[–] [email protected] 3 points 2 weeks ago (2 children)

Highly suggest putting Caddy on a machine, forwarding port 443 and 80 to caddy, and then letting it do your reverse-proxy stuff. Register a domain name, give it your IP address, and then tell caddy that 'immich.yourdomain.bleh' goes to port 78789 and plex goes to 'media.yourdomain.bleh' port 89898 -- Caddy handles all of the TLS stuff, handshaking, you name it - so you can have secure sites with proper certs.

Then make sure those things are isolated from your home network through vlans if your router supports it.

You can get fancier with it using a tailscale and getting some datacenter IP to forward into your network

[–] [email protected] 1 points 2 weeks ago

Thanks for the advice, I didn't know a reverse proxy was what I was setting up though I've seen that term all over. I think Caddy is likely in my future but I already have basic access to my home network through a Wireguard tunnel for now so I was hoping dnsmasq could solve for my case without getting too fancy or exposing any ports. I think I should probably try to learn about reverse proxies more generally to figure out the next steps forward.

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

I set up DNS challenge with Let's Encrypt with Caddy, and now I don't need to forward anything to it if I don't want to.

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

DNS challenge so you can get a wildcard cert? Or is it still per domain? I haven't looked recently but it seemed difficult but I'd like to avoid transparency log installs where I can.

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

You can do both (not sure how wildcard works through Caddy though), I did it per domain. I prefer doing TLS trunking per device, hence no wildcard.

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

Many issues this week:

  • Broke external-dns on my kube cluster because I updated my Pihole to v6
  • Thinking of a way to expose a game server externally (usually used CF tunnels for specific services, but couldn’t get it to work cause it’s TCP/UDP and not HTTP traffic)

But at least i got my Velero backups working on an private S3

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

For no 2, in k8s, you can use MetalLB. Then the service will be of type LoadBalancer and you won’t have to create an ingress.

load more comments (2 replies)
[–] [email protected] 2 points 2 weeks ago (2 children)

I spent half a dozen hours this weekend trying to get Proxmox running on a 2nd hand laptop, but I can't get it to run without sounding like a jet engine. The machine did fine when I ran Mint and used it as a laptop - but even after blacklisting the dGPU and forcing all the CPU cores to powersaving, I'm still making heat like crazy.

Plan B is to put Mint back on it and install podman and see if fan noise is a problem then. But I'd rather have podman running in an unprivileged LXC.

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

Did you check Mint recently? If it's been a while, it could also be dust buildup at the fan.

load more comments (1 replies)
[–] [email protected] 2 points 2 weeks ago (1 children)

Hmmm you might be able to first install Debian 12 and make sure the fan control works properly, then just install the proxmox application inside of that

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm

[–] [email protected] 1 points 2 weeks ago* (last edited 1 week ago) (1 children)

Good call. That's plan b now.

Thanks!

[–] [email protected] 2 points 1 week ago

I would run Debian from a stick and install Proxmox with the installer and not on top of Debian unless you have to. While the latter works, I found some settings around network interfaces to differ between the installation methods which caused me problems here and there.

[–] [email protected] 23 points 2 weeks ago (1 children)

I finally moved from reddit to Lemmy. maybe a 3-4 hour set up time to get it all working lol.

[–] [email protected] 5 points 1 week ago (4 children)

Cool! Which installation method did you use?

load more comments (4 replies)
[–] [email protected] 4 points 2 weeks ago (1 children)

I finally got link warden up and running, but I'm chasing down some failures on a few websites.

Also realized that me biting the bullet for unlimited bandwidth (screw you Comcast!) means I can run archive team warrior, so that's been going.

[–] [email protected] 1 points 2 weeks ago

IMO linkwarden was a real PITA. I've been trying linkding and it's been really great so far. I've had no issues like I had with linkwarden.

[–] [email protected] 5 points 2 weeks ago

Pushed Wireguard back onto my network. I've been a Tailscale user for a couple of years, but never really saw the need for it for me as I'm the only user of the service. :)

I will freely admit though, there's nothing wrong with the service and honestly is great if you are behind a CGNAT router or don't want to use Cloudflare for your tunneling.

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

I like iOS shortcuts. This week, I created an iOS shortcut to scan my Plex library. Now this may seem weird since there is an option to scan a library from the official Plex iOS app and there are also options to scan the library automatically or periodically. For various reasons (excuses), I didn't like that the official app only lets you scan one library at a time and I have automatic/periodic scans turned off to avoid network drive access, so I created the shortcut to scan from my phone any time I felt like I wanted to trigger it.

  1. Create a new iOS shortcut
  2. Add the "Get contents of URL" action
  3. Get your X-Plex-Token (see instructions on official website)
  4. Set the URL in your action to: https://{ip_address}:{port}/library/sections/all/refresh?X-Plex-Token={plex_token}
load more comments (1 replies)
[–] [email protected] 3 points 2 weeks ago (1 children)

Got Prometheus and Grafana setup with https on my Talos Linux cluster. Tried to use cert-manager with a DNS01 Challenge with Let's Encrypt but was using a local TLD and found out it won't issue it. So I had to switch to a local issuer. Was using metallb to gain a routable ip, I used the nginx-ingress controller for Prometheus and Grafana. Next time I can tinker I'll place the rest of my services behind it.

[–] [email protected] 2 points 1 week ago

I hadn't heard of Talos Linux, sounds cool! We are using haproxy as ingress controller with stepca for local certificates at work.

[–] [email protected] 7 points 2 weeks ago (1 children)

I've been working on some bash scripts to help manage my media files. I've been slowly working on learning more bash and I'm pretty pleased with my progress. After I finish this bash book I'm reading (can't remember the title atm), I think I'm gonna jump into awk.

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

Bash is a really great shell, but consider trying out a functional shell scripting language like Elvish (which is also a shell). Syntatically it's pretty similar and not hard to pickup, but it's stupid powerful. A cool example is updating different servers via ssh in parallel using a servers.json file;

[
  {"name": "server.com", "user": "root", "identity": "~/.ssh/private_key0", "cmd": "apt update; apt upgrade -y"},
  {"name": "serverb.com", "user": "root", "identity": "~/.ssh/private_key1", "cmd": "pacman -Syu"},
  {"name": "serverc.com", "user": "root", "identity": "~/.ssh/private_key2", "cmd": "apk update; apk upgrade"}
]

and a little elvish magic;

var hosts = (from-json < servers.json)
peach {|h|
  ssh $h[user]@$h[name] -i $h[identity] $h[cmd] > ssh-$h[name].log
} $hosts

Just run the script and boom, done. You can even swap out peach which is parallel each for each if you want to do each command procedurally--but I really love using peach, especially with file operations over many different files. Linux is fast, but peach is fuckin' crazy fast. Especially for deleting files (fd -e conf -t file | peach {|x| rm $x }, or one thing that I do is extract internal subs (so they play on my chromecast) in my Jellyfin server, using elvish makes it really fast;

fd -e mkv | peach {|x| ffmpeg -i $x -map 0:s:0 $x.srt }

Find all *.mkv files, pass the filenames through ffmpeg (using peach) and extract the first subtitle as filename.mkv.srt. Takes only about a few seconds to do thousands and thousands of video files. I highly recommend it for home-labbers.


Pretty dumb example, but peach is like 6x faster;

❯ time { range 0 1000 | each {|x| touch $x.txt }}
5.2591751s
❯ time { range 0 1000 | peach {|x| touch $x.txt }}
776.2411ms
load more comments
view more: ‹ prev next ›