• MonkeMischief@lemmy.today
    link
    fedilink
    English
    arrow-up
    24
    ·
    7 days ago

    Don’t worry, you’re one Docker pull away from having to look up how to manually migrate Postgres databases within running containers!

    (Looks at my PaperlessNGX container still down. Still irritated.)

    • InnerScientist@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      Pro tip: If you’re using openwrt or other managed network components don’t forget to automatically back those up too. I almost had to reset my openwrt router and having to reconfigure that from scratch sucks.

    • sunbeam60@feddit.uk
      link
      fedilink
      English
      arrow-up
      10
      ·
      6 days ago

      “Yes, while connected to my wireguard server through port 123 here from my Chinese office, I should probably try to upgrade the wireguard server. That’s a great idea!”

      Ask me how I know.

      • FauxLiving@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        I stopped the tailscale service…

        … while ssh’d through the tailscale interface.

        Luckily, it was my home server and I had to drive there anyway.

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

          I used to make nginx changes while vpn’d into my network and utilizing guacamole (served via said nginx). I’m not a smart man.

  • TheparishofChigwell@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 days ago

    Off topic, warning: this comment section is making me want to learn things

    It’s been 2 days off reddit and my brain has opinions other than “aaaargh” or “meh”.

    Proceed with caution

  • HugeNerd@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

    Yes that does seem to describe modern computing, indeed, consumer electronics in general.

    It’s no longer about solving actual problems, it IS the problem.

  • Mr_Dr_Oink@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    It makes me start looking for the next thing. Got my jellyfin, got my pi hole, my retro console and just recently home assistant set up. (Just a few more buts to add to that). Next i think i am going to look into self hosting a cloud storage solution. Like google drive/photos etc. Would be nice to make my own backups and have them offline

    • Sabata@ani.social
      link
      fedilink
      English
      arrow-up
      52
      arrow-down
      1
      ·
      7 days ago

      If you know how your setup works, then that’s a great time for another project that breaks everything.

      • cenzorrll@piefed.ca
        link
        fedilink
        English
        arrow-up
        39
        ·
        7 days ago

        Saturday morning: “Incus and podman seem interesting. I bet I could swap everything over while the family is out this afternoon”

        Sunday evening: “Dad, when will the lights work again?”

          • tal@lemmy.today
            link
            fedilink
            English
            arrow-up
            3
            ·
            7 days ago

            Sure. What that guy is using is actually not the most-interesting diagram style, IMHO, for automatic layout of network maps, if you want large-scale stuff, which is where the automatic layout gets more interesting. I have some scripts floating around somewhere that will generate very large network maps — run a bunch of traceroutes, geolocate IPs, dump the results into an sqlite database, and then generate an automatically laid-out Internet network map. I don’t want to go to the trouble of anonymizing the addresses and locations right now, but if you have a graphviz graph and want to try playing with it, I used:

            goes looking

            Ugh, it’s Python 2, a decade-and-a-half old, and never got ported to Python 3. Lemme gin up an example for the non-hierarchical graphviz stuff:

            graph.dot:

            graph foo {
                a--b
                a--d
                b--c
                d--e
                c--e
                e--f
                b--d
            }
            

            Processed with:

            $ sfdp -Goverlap=prism -Gsep=+5 -Gesep=+4 -Gremincross -Gpack -Gsplines=true -Tpdf -o graph.pdf graph.dot
            

            Generates something like this:

            That’ll take a ton of graphviz edges and nicely lay them out while trying to avoid crossing edges and stuff, in a non-hierarchical map. Get more complicated maps that it can’t use direct lines on, it’ll use splines to curve lines around nodes. You can create massive network maps like this. Note that I was last looking at graphviz’s automated layout stuff about 15 years ago, so it’s possible that they have better layout algorithms now, but this can deal with enormous numbers of nodes and will do reasonable things with them.

            I just grabbed his example because it was the first graphviz network map example that came up on a Web search.

    • Zink@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      This is just as true in my non-computer hobbies that involve physical systems instead of code and configs!

      If I had to just barely meet the requirements using as little budget as possible while making it easy for other people to work on, that would be called “work.” My brain needs to indulge in some over-engineering and “I need to see it for myself” kind of design decisions.

    • cenzorrll@piefed.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      7 days ago

      I’ve moved my homelab twice because it became stable, I really liked the services it was running, and I didn’t want to disturb the last lab**cough**prod server.

      My current homelab will be moar containers. I’m sure I’ll push it to prod instead of changing the IP address and swapping name tags this time.

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    46
    ·
    7 days ago

    logging is probably down

    You do, of course have a dedicated rsyslogd server? An isolated system to which logs are sent, so that if someone compromises another one of your systems, they can’t wipe traces of that compromise from those systems?

    Oh. You don’t. Well, that’s okay. Not every lab can be complete. That Raspberry Pi over there in the corner isn’t actually doing anything, but it’s probably happy where it is. You know, being off, not doing anything.