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.

  • FunkFactory@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 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
      3
      ·
      4 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

      • FunkFactory@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days 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.

        • azron@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 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
            2
            ·
            edit-2
            4 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
      3
      ·
      4 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
        2
        ·
        4 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
          2
          ·
          4 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.

  • BruisedMoose@piefed.social
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 days ago

    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.

      • BruisedMoose@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days 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.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    Experimented with selfhosting a Woodpecker CI as a complement to my Forgejo.

    Works quite nicely, I just need to set up a native ARM64 agent as the overhead of cross compilation on x86_64 is quite big.

      • poVoq@slrpnk.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

        Woodpecker is more mature and I can control access better since I am not the only one using my Forgejo. But I think at some point the built in ones might reach feature parity.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      Experimented with selfhosting a Woodpecker CI as a complement to my Forgejo.

      If you need CI, check out OneDev. It’s a git solution that comes with an integrated CI solution.

  • TK420@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 days ago

    ITT: lots of busted pihole v6 updates

    Finally got started with Grafana, Prometheus and Meshtastic.

    • Darkassassin07@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      I wonder why so many people had issues with the v6 pihole update.

      I pulled the new docker container and it ran overtop the previous version just fine. The only issue I had was I had the admin password set to empty via an env variable and that variable name changed. Took like 10 min to find and fix. The rest migrated perfectly.

      Now I’m just waiting on orbital-sync to add v6 support, but that’s just around the corner and not that critical.

      • TK420@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        I had a pair of v5 with unbound setup, and ran the pihole -up and it went down lol. Dunno what happened, but i reinstalled and it’s all good.

        I only run the basic block list, so I am thinking more and more to setup docker on my main server and move my pihole, pyvpn and grafana there and free up my raspi.

        • Darkassassin07@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          Hmm, I wonder if the failed updates are only direct installs vs docker.

          I run two piholes, a primary on a rpi 3b running pios, and a secondary on my main server. Both are installed via docker and both updated without issue (besides the password thing).

          I like having the primary DNS on a separate machine; it’s kind of important and I like to mess with the main server a lot…

          • TK420@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 days ago

            I also like to mess around so more and more docker seems like at least an ok idea if not a good idea.

            • Darkassassin07@lemmy.ca
              link
              fedilink
              English
              arrow-up
              3
              ·
              3 days ago

              I definitely recommend it, particularly using docker compose. It’s made it incredibly easy to add, remove, and modify software installs; keeping everything independent and isolated from each other.

              This also makes backups and rolling back updates to individual projects much easier when you do run into problems.

    • Selfhoster1728@infosec.pub
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 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
        2
        ·
        4 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
      1
      arrow-down
      1
      ·
      edit-2
      3 days ago

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

  • non_burglar@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    4 days ago

    Finally moved all my lxc onto a lower-power Xeon D host, consumes 1/3 the electricity of my previous Dell R430, same essential performance.

  • papertowels@mander.xyz
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 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.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days 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.

  • beerclue@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 days ago

    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 :)

    • TK420@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      Unbound broke on both of mine day one of v6 and I’ve still not gone and fixed it. Sigh.

    • N0x0n@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

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

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      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)

      • beerclue@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days 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).

  • WhyAUsername_1@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    4 days 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.

  • node815@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 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.

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 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
      6
      ·
      4 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
        3
        ·
        4 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.

  • Burn1ngBull3t@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    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

  • t0fr@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 days ago

    Immich. Wanted to exclusively use the external libraries features in read only.

    Set it up once in its own Proxmox LXC under Docker. Set it up all properly started scanning my entire library. And when I woke up again it had crashed and I couldn’t recover it.

    Started over the following morning and only gave it access to 2024 instead of everything. And it filled up to 30gb/40gb I gave it with thumbnails and files and such. Guess it crashed the other day because it took up too much room.

    Guess I’ll start over again, and ensure all the config files and thumbnails are stored on my NAS so they can take up the space they need to without overloading the main (small SSD) on my server.

  • Kng@feddit.rocks
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 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
        2
        ·
        4 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

  • tofuwabohu@slrpnk.netOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 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.