Hello everyone!

I did it. I reached a point where I got everything exactly how I wanted and now… Now I am dissatisfied as I look over my home lab’s chaotic mess of a setup. This was my first time selfhosting things, and I learned a ton of stuff. I’ll probably want to tear it down and start anew in the near future, being much tidier and mindful of what goes where.

Does anyone have any tips they want to impart to someone who’s not an entire newbie but still learning stuff? Kind of a “If I could tell myself this before I set everything up, I would say…”

  • rako@tarte.nuage-libre.fr
    link
    fedilink
    Français
    arrow-up
    1
    ·
    6 hours ago

    Be at peace with the mess. All the software you’re using have beend developed on their own, each has a different setup, maintenance work, they don’t fit with each other they just kinda not bother each other. Unless you’re using all the software included in a bsd or 9front base install, where everything is made to carefully fit, it’ll be crappy to look at.

    Be at peace with the mess, which also means be at peace with burning some/all of it and starting fresh when something new comes up or you want to “simplify” a part.

    The selfhosting, much like art, isn’t so much in the output: it’s in the process of trying, failing, succedding with a crappy solution, and then goind on with the learning. If you wanted a robust beautiful stack you’d be paying professionals to do that :)

  • surewhynotlem@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 hours ago

    “If I could tell myself this before I set everything up, I would say…”

    … don’t stress too hard. This won’t be the last time you tear it up and start over.

  • nomad@infosec.pub
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 hours ago

    Don’t just self host for yourself. Help out friends and family that can’t themselves. Infrastructure is for people not just for the fun of building it. :)

  • eodur@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 hours ago

    Lots of notes.

    GitOps. Either FluxCD if you are on Kubernetes, or doco-cd if using docker compose. You will thank yourself later.

    Use an external secret manager. Its worth figuring out, and then you have one source of truth, and one place to update the credentials.

    Figure out your backup strategy, document it really well, and test it regularly.

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    14 hours ago

    “If I could tell myself this before I set everything up, I would say…”

    TAKE PROLIFIC NOTES! Do it as you go. Then, when you have whatever you were working on the way you want it, go back and clean your notes up, and make them a part of your 3,2,1 back up policy. Make a road map of how you want everything to operate. That way, as you add to your server/network, all the pieces will be much tidier and easier to troubleshoot.

    • other_cat@piefed.zipOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 hours ago

      haha, this goes along with my husband’s comments when I asked him this question too. He said that nobody does documentation the first time.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    9
    ·
    14 hours ago

    … don’t forget about the backups.

    And if your major issue is putting things in wrong locations… Maybe learn about some abstraction layers, so next time you’re able to just move it, instead of tearing it down?

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    9 hours ago

    You’ll never be happy with it. Even if you get it 100% perfect, someone will release an update or new toy that changes things. But that’s life. Don’t stress about it. Just get the parts you want working in the free time you have.

    Readarr stopped working months ago. It finally went offline just a few weeks ago. I hadn’t done anything about it until then. I still haven’t replaced it with anything. Maybe I’ll get to it eventually.