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.

    • Selfhoster1728@infosec.pub
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 months 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.

    • PerogiBoi@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      5 months 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 :)

        • PerogiBoi@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 months ago

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

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

    • tofuwabohu@slrpnk.netOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      I didn’t know that, cool! Though I should probably talk to the mods before setting up such a thing.

    • walden@sub.wetshaving.social
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      5 months ago

      I’m the one who files the most bug reports on github under a different name. Our instance runs on Lemmy Schedule, so thanks!

  • dormedas@lemmy.dormedas.com
    link
    fedilink
    English
    arrow-up
    10
    ·
    5 months 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.

  • harsh3466@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 months 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
      4
      ·
      edit-2
      5 months 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
      
  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 months 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
      ·
      5 months 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
        ·
        5 months 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.

  • Kng@feddit.rocks
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months 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
        ·
        5 months 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

  • BruisedMoose@piefed.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months 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
        ·
        5 months 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.

  • voklen@programming.dev
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months ago

    I’m currently looking to connect an NVMe SSD to a Pi 4 I have in a differences location to finally have proper 3-2-1 backups. I’m trying to find a NVMe to USB adapter that will work though.

        • Evkob (they/them)@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 months ago

          That’s actually so cool and the more I think about it the more it’s making me really want to host my own Lemmy instance. Can I ask what sort of hardware resources you’re running it on?

          • tofu@lemmy.nocturnal.garden
            link
            fedilink
            English
            arrow-up
            3
            ·
            5 months ago

            Sure! It’s a Lenovo m910q tiny. Mine has an i7-6700 and 32GB RAM but Lemmy runs in a VM with 4 cores and 8 GB RAM which should be plenty, it’s not even using half that RAM. Disk Space seems to be the limiting factor after a while since it keeps copies of all remote threads and comments but that can be cleaned up too.

            Found some threads online on resource usage beforehand like this: https://lemmy.ml/post/440678

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

  • beerclue@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months 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 :)

    • N0x0n@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months 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
      0
      ·
      5 months 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
        1
        ·
        5 months 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).

  • SwizzleStick@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months 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.