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.

    • tofuwabohu@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      What’s not working? I just set up TrueNAS for the first time, went with 25.04 and figured I could just update my way out of potential bugs, but the updater is broken :D

      • Presi300@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        Well, firstly I had this weird issue where the pools were giving me errors because some folder was missing, I fixed that but 24.10 has literally 0 compatibility with apps from 24.04 and it looks like I’m going to have to reset the whole pool in order to use their new apps ecosystem (because trying to install anything from 24.10 just errors out)… Which is extremely annoying as I have quite a lot of apps setup

  • tofuwabohu@slrpnk.netOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    Personally I’m mostly involved with my homelab migration so there’s not too much on the selfhosting page except os updates. I set up meshmini earlier to access my thin clients via vPro/AMT but I need to configure the clients before being able to actually using meshmini. Once I’m done with that I’ll finally be able to set up Lemmy and Pine pods.

    My selfhosted stuff currently works fine without me doing much which feels good and lets me focus on hardware stuff currently.

  • slowmotionrunner@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    12 days ago

    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}
  • node815@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days 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.

    • Selfhoster1728@infosec.pub
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      How exactly does stuff get broken? Never rly had a problem bumping up the version in docker. The only issue has been the playstore version taking longer to push updates sometimes for the mobile apps.

      • TrumpetX@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        12 days ago

        A few versions ago I upgraded it and some default port configs changed rendering it unusable. Since my upgrades are a docker command, I had to go hunt down the error message. It didn’t take long, but it def broke the setup.

    • PerogiBoi@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      I’m running the Immich Flatpak specifically for this reason. It’s always one version out of date but always self updates without issues :)

        • PerogiBoi@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 days ago

          I misremembered; I run “Immich Distribution” which is a snap and I run it on a Debian server.

  • SwizzleStick@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    A third, and hopefully final attempt at getting an iredmail setup going. SPF, DKIM & DMARC all checking out fine. It’s actually working this time. Need to get the ISP to change our PTR record though, last bit of the puzzle.

    Also picked up a used negate device, so we now have pfsense fronting everything. That’s allowed me to move the original router to a better location and put it in AP mode.

    Emby media server moved off a Synology and into a proxmox container. Finally, we can stream high def with the hardware acceleration we weren’t getting before.

  • Fiery@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days 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.

  • Kng@feddit.rocks
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    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.

      • Kng@feddit.rocks
        link
        fedilink
        English
        arrow-up
        0
        ·
        12 days ago

        Yea that is what I have been doing. Although it seems the smaller sizes are not a great deal anymore and I am hesitant to buy anything larger due to the long rebuild times

  • Anomaly@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    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.

    • tofuwabohu@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

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

  • FunkFactory@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    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.

    • kitnaht@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      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

        • azron@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          12 days ago

          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.

          • sugar_in_your_tea@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            edit-2
            12 days 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.

    • tofuwabohu@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      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.

      • FunkFactory@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 days ago

        Awesome thank you, this is what I ended up setting up today. It’s a bit of an awkward solution for now, I would very much like to use it for its ad blocking functionality but I’m unsure if I want to make it my only DNS provider while I’m still migrating services over to the mini PC and messing with the server config. I had set up Pihole years ago and my wife ran into problems using some apps on her phone so I think I’d need to be more proactive about making sure that’s working this time around too.

        • tofuwabohu@slrpnk.netOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 days ago

          I get that, I plan to add another pihole ad some point so I can enter 2 nameservers at my router. There are solutions to sync all config between the piholes.

  • VitabytesDev@feddit.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days 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.

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    Just swapped VPS hosts from ssdnodes to MassiveGRID. Got a pretty sweet deal, so I’m pretty excited.

    Got my services transferred over this week and it’s been fun as hell. It’s interesting because I was discussing Portainer with my buddy and he has Portainer on his local PC to connect to his remote instances and with hindsight it sounds obvious of course, but it’s such a nice little setup. Just finished setting up my Jellyfin reverse proxy so I’m gonna watch a movie and chill.

    • walden@sub.wetshaving.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      12 days ago

      I used Portainer for a while and still like it for checking out networking stuff, but try out Dockge! It’s more open sourcey and basic, but makes updating easier.

      • Xanza@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        12 days ago

        Dockge

        Dockage was nice, and it was much simpler, however, I had to leverage more docker commands via my VPS with it, because there weren’t a lot of options, specifically network settings.

  • papertowels@mander.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    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.

  • harsh3466@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days ago

    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.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      12 days 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
      
  • dormedas@lemmy.dormedas.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days 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.