Hi all

I’m going to set up a little server on a pretty old Mac Mini, with an external RAID 1 enclosure. It’s initially got two main purposes - to run an Immich server to backup my photos when I’m away travelling, and to give me something to learn about Linux and self-hosting on. I used Linux a bit back in the day, but I’ve been living the lazy Mac life for years. I’d really like to transition out of the Mac ecosystem eventually, so this is an initial toe in the water towards that aim.

I’m planning on running Debian, for stability and compatibility, and backing up to a separate NAS that already exists, so that I’m not completely screwed if (definitely when) I mess something up. It’ll all be set up in my power/internet access point shed, so I’d prefer it to be fully remote access, no screen/DE.

It seems like I’ll be running Immich in Docker, and that I’ll need Tailscale/Wireguard for my remote connection. Does this seem like a decent initial plan? Are there any decent resources for learning this that you’d recommend? I already own the hardware, and all my photos are safe on SD card, SSD, and local backup, so there’s no real consequence to me messing about with this. Any advice/thoughts would be welcome

Ta

  • heyeddi@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    Boring plan is the right plan. One shed-specific thing: Intel Mac minis on Linux won’t power back on after an outage by default, and there’s no BIOS toggle. Look up the setpci trick for your model and test it before it goes outside.

    • PennyRoyal@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 hours ago

      Ah ok, that’s a pain. Good spot, you’ve played this game before! It was set to restart on the Mac OS, but I guess that that’s os-dependant.

  • ultimaluz@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    Plan sounds fine to me, debian + immich in docker + tailscale is pretty much the boring setup and boring is good for a box in a shed. one thing I’d do before carrying it out there, install tailscale and ssh, reboot it a couple of times and make sure it comes back on its own without a screen, because walking to the shed with a monitor gets old fast. also something like uptime kuma on another machine (or your NAS) pinging it, so you know it’s down before you’re on holiday and the photos stop uploading. I run a box at home I only reach over tailscale and that’s the part that saved me most.

    • PennyRoyal@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Boring is what I’m aiming at, so I’m hoping that scope-creep doesn’t get its little pernicious claws into the plan. I’ve got a couple of months before I leave, so I’ll get the thing set up in here, all my current photos backed up etc, and hopefully all my troubles shot before it goes out to its final resting place. I’m planning to get all of my notes etc to live on it eventually as part of my move away from Apple’s walled garden, but I’ve met myself, so taking it all one step at a time is better than bowling in and trying to get 42 docker apps running all in one go. Start with one or two services, and work my way out from there. Uptime Kuma is a good shout, I’ll look into that, thanks

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

    I have a 2014 mac mini running Debian (just the CLI although I did use the GUI to set it up just removed the GUI later) and it hosts my Jellyfin and *arr stack. I just installed rEFInd on it and booted it to a USB drive with Debian on it, knowing it worked enough to do that much I ran some tests, every thing excluding the HDD said it was working ok. So I stuck an external drive to it and installed Debian on it. In a few weeks I am hoping to inherate a 2018 Mac mini but as I understand it it will be a little more difficult because of a T2 chip or something, not impossible just not as easy.

    • PennyRoyal@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      That looks pretty good, and is apparently easy to set up, thanks. This is probably a stupid question, but there’s no problem with running a VPN like NetBird via a VPN like Mullvad? I have a travel router running Mullvad that all my devices are pre-configured to, so NetBird would be connecting from my laptop through that when away from home

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

        Not sure for the laptop. My phone can only connect to one VPN at a time.

        I use NordVPN because they’re built-in mesh feature is essentially VPN tunnel and that can run while you’re connected to their VPN.

        • PennyRoyal@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          I think that I’ll be ok, as I can run the NetBird VPN on both my laptop and phone, behind the Mullvad VPN on the travel router. One way to find out I guess, luckily I’ve got a few months before I leave to get this all working

  • ArsonButCute@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    edit-2
    6 hours ago

    <political> Immich is made by futo, an org who just donated a couple mil to a fash dev to maintain some vibecoded post install scripts. Nextcloud does everything Immich does through some extensions available in their marketplace. Don’t support fash soft. Use eurojank instead! <\political>

    Y’all Idk what happened I straight up can’t find the source for this. I’m gonna actually check in with my mental health provider because I remember reading this clear as day but it doesn’t seem to exist. I could be confusing dreams for reality again, which would be disappointing because I thought I was more stable than that.

    I’ve been looking for sources, but I can’t find anywhere. I’m certain I read it on THIS SITE, but in my search I can’t find anything about futo from the last couple months.

    Genuinely, I apologize for spreading misinformation, I’m gonna call my psych tomorrow.

    • Buck@jlai.lu
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Honest question: is it made by FUTO, or sponsored by FUTO? It does make quite a bit of difference to me. Wikipedia isn’t clear about it.

    • Reannlegge@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 days ago

      Thanks for saying that, I have been loving immich on one of my pi 5’s now I am going to need to replace it. I am thinking Ente, just cause it is FOSS with paid tears just like vaultwarden/bitwarden.

      I have stopped using Nextcloud because I can never get things tuned right, and I feel it is trying to do more than it should.

        • Reannlegge@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          Thank you for the notification, I may have been a little biased when I looked up the info but there are some concerns on the github page.

          Us humans have horrible memories there is a whole discipline called psychology, that studies the thing.

          • ArsonButCute@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 hours ago

            I’m studying psych right now as part of my software development degree plan. Memory is super faulty. Within 24 hours of committing something to memory, almost half of it will be gone. Within a month, nearly all of it will be gone. This gets exacerbated by oversaturation of information since we (humans) can only reliably store around 5-9 things in our short term memory at a time before committing to long term memory, surpassing these limits results in data corruption, confusion, or selective amnesia.

            Knowing this, I most like read something about Futo and read something about Omacom getting grants on the same page and my wires got crossed and conflated the two. Is this fact? No, it’s presumption based on my limited knowledge of how memory works, but it seems likely.

            • Reannlegge@lemmy.ca
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 hours ago

              I have my mug shot up in the psychology department of my university so yes that is why I said what I said.

      • ArsonButCute@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        Nextcloud certainly can be a cumbersome beast. I’m glad it’s the second thing I chose to selfhost instead of something much later on. Gave me a chance to get my feet wet with it. I’m a big fan, but I think if I’d started with smaller services I’d be upset about the breadth of the project. It is absolutely trying to do everything it can, which can be good or bad depending on your use case.

        • Reannlegge@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          Nextcloud was not my first selfhosted thing, I was paying a service provider for it when I started self hosting everything else I was already frustrated with how nextcloud did not play well with my homelab so I thought why the heck am I paying for it. I have never had good luck with Nextcloud.

    • PennyRoyal@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      2 days ago

      Ah ffs, it’s like every time I look away for a bit, another mask comes off! Good shout, I’ll look into it. I was sort of intending to use Nextcloud later on anyway, so that’s an easy change of direction