Hey everyone! I’m completely new to self-hosting, but I’ve become convinced of its benefits and would like to get started in the near future. I’m still trying to figure out which hardware and software would be the best fit for my needs, so I’d really appreciate some advice.

What I’m looking for:

  • I live in the EU and want to move away from US-based and other non-EU cloud providers, which is one of the main reasons I’m interested in self-hosting.
  • I want to de-Google my digital life and replace services like Google Photos, Google Drive, and Google’s contact and calendar syncing with self-hosted alternatives.
  • I’d like to automatically back up photos from my phone, sync files, contacts, and calendars, and access everything remotely.
  • I want to avoid proprietary operating systems and vendor-specific apps as much as reasonably possible, ideally relying on open-source software.
  • (Eventually, I’d also like to consider hosting my own email server, although I’ve heard that this comes with quite a few challenges. This isn’t a priority for now.)
  • I don’t want to become a Linux or server administration expert just to keep everything running.

A little more context:

  • Users: Just two people.
  • Workload: Mainly file storage and syncing, photo backups and management, contacts, and calendars. No video editing, media transcoding, or other particularly demanding tasks.
  • Budget: Around €500–800 for the NAS itself, excluding storage drives.
  • Hardware preference: I’d prefer a compact, reasonably power-efficient, ready-made NAS rather than building a full PC, mostly due to limited space.
  • Technical experience: I’ve been building my own PCs for almost 30 years and consider myself an advanced Windows user. However, my last real Linux experience was with Ubuntu about 20 years ago.
  • Internet connection: 250/40 Mbps DSL with a public (dynamic) IPv4 address and a FRITZ!Box 7590 router, which supports WireGuard VPN.

Here are my main questions:

  1. Which operating system would you recommend? I’ve been looking into TrueNAS Community Edition and OpenMediaVault, but I’m open to other suggestions. Ease of use, stability, and low maintenance are important to me.
  2. Would a prebuilt NAS be a good choice? I’ve been considering devices like the UGREEN DXP4800 Plus and TerraMaster F4-424 Pro. Can their proprietary operating systems be replaced with something open-source without losing important functionality, such as fan control, power management, or hardware monitoring? Are there particular models known to work especially well with TrueNAS or OpenMediaVault?
  3. How much hardware performance do I actually need? Given my relatively modest requirements, would something like an Intel N100 already be sufficient, or would it make sense to invest in a more powerful CPU and additional RAM for future flexibility?
  4. Which software stack would you recommend? I’m currently considering Nextcloud for files, contacts, and calendars, and possibly Immich for photos. I’d prefer solutions with reliable automatic syncing and open-source Android apps.
  5. What should I consider regarding backups and remote access? I’m planning to use WireGuard for remote access, but I’d be interested in recommendations for a simple, reliable backup strategy as well.

I’m happy to learn new things and follow technical guides, but I’d prefer a system that doesn’t require constant tinkering once it’s set up.

Thanks for reading, and I appreciate any suggestions or experiences you’re willing to share!

  • hperrin@lemmy.ca
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    30 days ago

    It sounds like you just wants Nextcloud and maybe Immich. So here’s my suggestion:

    If you don’t have a domain yet, buy a domain. Preferably through Cloudflare because their API is good, and you’ll need that. Point an apex A record at your public IP address.

    Set up something like Kubuntu on the box itself. Make sure it has a static IP address (you can also do DHCP reserved through your router, which is safer), and forward ports 80 (TCP), 443 (TCP), and 51820 (UDP) to that box.

    Now comes the magic. Install docker through the official installation docs for Ubuntu (don’t use Ubuntu’s packages). Create a folder in your home directory called “services”. Inside this folder, you’re going to set up a folder for each service you need. The first one you should set up is “nginx-proxy-manager”. Inside each folder you’ll have a “docker-compose.yml” file. Inside that file, set up your docker compose stack. Nginx Proxy Manager’s is pretty simple. Just one service. But change the network mode to “host” (network_mode: host), and remove the ports section.

    https://nginxproxymanager.com/setup/

    Now, from a terminal, in that folder, run docker compose up -d. Get used to that command, you’ll run it a lot. Then go to localhost:81, and create an account for NPM. Use a real email address, because that’ll be your contact email for Let’s Encrypt ssl. Go into the ssl settings and create a certificate. You’ll need an api key from Cloudflare, or whatever other place you bought your domain from. It needs access to change the dns settings for your domain. Use this format to create your certificate:

    example.com, *.example.com

    And use the dns challenge option where you’ll put your api key.

    [continuing in next post]

    Important Edit:

    One thing I forgot to mention, don’t use Docker volumes. Use a bind mount to mount a real directory inside the folder. It should look something like this:

        volumes:
          ./data:/data
    

    NOT like this:

        volumes:
          data:/data
    

    That way, when you back up that folder, it backs up all your data with it. If you use a docker volume (the one without the “./“), you’ll need to back those up separately. This is important for all of the mounts on every one of your services, especially the database services.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 month ago

      From now on, whenever you set up a service, you’ll use a subdomain just for that service (eg nextcloud.example.com), and you’ll point it in dns as a CNAME record at your apex domain (usually just an @ symbol in the input box). You’ll then (if it’s a web service) create a proxy in NPM pointed at whatever port you give it.

      So now you wanna create a WireGuard vpn, so you can securely access your own stuff from your own devices outside your house. (I’d recommend not opening every service up to the internet.)

      https://github.com/linuxserver/docker-wireguard

      That one can be tricky, but ultimately you should have a file (or QR code) that you can put on your phone in the WireGuard app that will give you vpn access. Remember to set up a CNAME for your subdomain (something like vpn.example.com). Although, for this, it would be fine to use the apex domain.

      So now you can set up a Nextcloud and an Immich stack. Put them on an unused port, then point a proxy for their subdomain at that port (http://127.0.0.1:2201/ or whatever), add your SSL cert, and you’re good.

      [continued…]

      Edit: I just saw you said your router supports WireGuard, so you don’t need to worry about setting that up or forwarding that port. :)

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 month ago

        In NPM, set up an access list like this:

        Last one should be your public IP address, with “/32” on the end.

        Use this access list for all services you don’t want the wider internet to see (probably all of them for you). With this setup, you can still open a service, if you want, but normally you’ll need to be on your VPN to see it from outside your house.

        Here’s an example of what a proxy host should look like:

        (Except your access list should be the local only one you set up earlier.)

        And the SSL tab:

        • hperrin@lemmy.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          1 month ago

          Every once in a while, you should run these commands in each services folder:

          docker compose pull
          docker compose up -d
          
          # check if everything is still good
          
          docker system prune -a
          

          You should also back up your services folder regularly. That’s beyond the scope of this Lemmy comment, though

          If you have anything open to the internet (not using that local only access list), you need to be very vigilant about updating it frequently. If you’re not, you could have vulnerabilities that are exploitable.

          By setting it up where NPM is blocking access to everything that isn’t local, you won’t really need to pay much attention to it. Just do the updates every few months and you’ll be fine.

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

            Just to be super clear for any beginners reading,

            docker system prune - a
            

            isn’t a command that will check if everything is still working. You have to manually check your services are ok and, if they’re working, then you can run the prune command.

            prune is a command that removes any unused container images.

      • Seralth@piefed.seralth.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        Literally everything is vulnerable to supply chain attacks…

        Your comment is basically saying don’t go in the sun you will get sunburned so you should always avoid the sun forever.

        You HAVE to accept some level of risk if your using literally any software that you don’t make, host, and maintain yourself.

        So unless you have actually decent suggestions on ways to prevent issues, improve security or some tips for a new user for best practices.

        All your doing is fear mongering and being extremely unhelpful.

        • moldy_rice@piefed.keyboardvagabond.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          Apt and most package managers have cryptographic verifications on all packaged by default since the 1990s.

          Docker pull does not, so it will happily download a maliciously modified image, without checking.

          You can go in the sun, but wear sunscreen. You can have sex with a stranger, but wear a condom. You can download software, but check the cryptographic signature.

      • hperrin@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 month ago

        Why do you say that? Docker Hub is, of course, susceptible to supply chain attacks, as are the official containers of each of these projects, but how is that all that different from installing these projects on bare metal? That’s still relying on some supply chain. In that case, the package maintainers for your distro. What you might trade in slightly more vulnerable to supply chain attacks, you get back in timely security updates from the project maintainers themselves and every service running in a sandboxed environment. Also, how are any of them “extremely” vulnerable?

        I didn’t suggest anything that isn’t either an official build from the project maintainers, or a very well supported community build from a reputable source.

        • moldy_rice@piefed.keyboardvagabond.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          Apt and most package managers have cryptographic verifications on all packaged by default since the 1990s.

          Docker pull does not, so it will happily download a maliciously modified image, without checking.

          • hperrin@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            30 days ago

            That’s because package managers are designed to use mirrors. You have to verify a digital signature because the package isn’t necessarily coming from the package maintainer’s repo.

            Docker pulls come from the registry, not a mirror. There is no such thing as a mirror in docker. The registry is something you decide on, and if you don’t trust it, you shouldn’t use it. If the registry itself is compromised, that’s essentially like the private key of a package manager getting compromised. Same risk.

            The two biggest registries are Docker Hub and GitHub. If either of them were compromised, it wouldn’t take very long for them to mitigate it. The damage would likely be very small.

            Oh, they can also mitigate it 100% on their side. With a package manager, your computer will trust a compromised key until the package manager removes it, which may be too late.

            • moldy_rice@piefed.keyboardvagabond.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              30 days ago

              You’re talking about publishing infrastructure compromise

              Compromise of the integrity of the traffic between your server and theirs can happen. Loads of CAs have been compromised. X.509 root stores insecurity breaks https.

              That’s why most package managers have signatures. And most hardened servers use Tor to fetch packages, to mitigate targeted attacks like indefinite freeze

              • hperrin@lemmy.ca
                link
                fedilink
                English
                arrow-up
                1
                ·
                30 days ago

                I feel like your threat model is not realistic. It is way more likely that you will be running malicious and/or vulnerable code that was packaged appropriately by the actual package maintainer than for a CA compromise to allow an attacker to inject a malicious package during a MITM attack while retrieving an OCI image from a container repository.

                Like, yes, you shouldn’t 100% trust your ISP or your DNS server, but if you’re that paranoid, you shouldn’t trust your distro’s repository either. You should be building everything from source.

                • moldy_rice@piefed.keyboardvagabond.com
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  28 days ago

                  MITM attacks happen all the time. As are there a ton of historical cases of CA compromise.

                  I can’t think of a time that a Debian maintainer went rogue and put something malicious into the official repos.

                  And, if they did, everyone would see it. But MITM attacks are not publicly visible because they’re targeted.

  • electric_nan@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 month ago

    Just want to give an alternative to Docker here: Yunohost. It’s very easy to setup and use, and while it doesn’t have the infinite number of “apps” that Docker makes available, it has served me very well. The project is also based in Europe :)

    • Sarcasmo220@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      A couple of months ago I installed Yunohost on an old laptop for the same use case as OP and I find it is very easy to use. The hardest part to setup was mostly the dynamic DNS stuff, because I only have a basic understanding of how the internet works. Once I got (sub)domains and dynamic IP setup it has been smooth sailing.

      Yunohost even had a patch for the global panic inducing PHP2Shell the same day as the announcement.

      • electric_nan@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 month ago

        Yunohost is installed on top of Debian with some scripts. Afterwards, you have a web interface where you install “apps” through their “store” (nothing costs money, they just have to be packaged in a compatible way). All the nginx config is handled for you.

  • flilare@piefed.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 month ago

    I repurpose old PCs, not the most power efficient, or convenient form factor, but I can put a ton of drives in without a second thought, and the hardware is free to me.

    I used Freenas for a while til I wanted more flexibility, then Proxmox for a long time with everything on separate VMs, but as my services became set I eventually swapped everything onto a plain Debian install.

    I use Syncthing instead of a real cloud sharing option. I’m home every night, and it can grab different folders easily, and ‘sorts’ stuff for me.

    I like Docker containers for nearly everything else. I particularly like the Wireguard-easy container project on github, and that’s currently the only hole in my firewall.

    My kids like having navidrome for music, I like Jellyfin myself. And I tend to get carried away since I’ve got a whole PCs hardware to play with so I spin containers up and down just to play sometimes. I’ve had Orcaslicer in one before, accessible to the network, lol.

  • nixFREAK@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    Honestly I really like using Open media vault

    https://www.openmediavault.org/. It’s a slimmed down version of the updated Debian distro, and is very user friendly for setup and maintaining. Active community and constant updates. I use Seafile, MStream, calibre, and soon Yggdrasil for mesh VPN. I use NFS, Nginx proxy.

  • SayCyberOnceMore@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    I suggest you have 2 separate physical devices.

    1 - a NAS 2 - a server that you’re running everything on.

    Use OMV for the NAS if you’re not technical enough / want less maintenance and just keep your data there with only a backup app installed,

    On the other device pick whatever you’re comfortable with, docker is the mainstream choice, you’ll get loads of youtube / forum / lemmy support, but there’s other options of course.

    The advantage to this setup is that you can backup your server and if when you f*ck up you can restore it again.

    Less eggs in more baskets

    And as others have said, look at your router & internet security too

  • BCsven@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    People tend to overbuild their home system.

    You can start small and as you gain experience and maybe add more servers in docker you might want to upgrade. I.e. I was file hosting on a pi4 and external drive for years with no issues. (Upgraded hardware later for Immich)

    And you will want Immich (in docker ) for replacing Google photos.

    But since your workload is low a NUC or small form factor PC would be fine, as long as it has space for how many drives you plan on adding. You won’t need high end computing.

    OpenMediaVault was great, and made some stuff easy. But now I just use Tumbleweed and docker for more flexibility. Any Linux distro will be fine, you don’t have to use a NAS based OS, unless it has certain features you would find useful.

  • lowspechq@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    cover. I wouldn’t pick TrueNAS unless you specifically want ZFS and its app model. Prebuilt: the DXP4800 Plus hardware is fine, but losing fan control, power management and hardware monitoring is exactly what people report losing when they replace a vendor OS — those bits usually live in the vendor’s own kernel modules or daemons. I haven’t run either of those two models, so I won’t vouch for them. Before buying, search “<model> + <target OS>” and look for a report from someone who actually did it; if you find nothing, assume it hasn’t been done. Backups: 3-2-1 — a local USB drive plus one copy offsite. A Hetzner Storage Box (1 TB is around €4/month) with restic or borg gives you encrypted offsite copies over SFTP, and both handle dedupe and retention. Whatever you pick: test a restore before you trust it. An untested backup isn’t a backup. Remote access: WireGuard on the FRITZ!Box is the right call and it sidesteps the dynamic IPv4 problem entirely — the box becomes the always-on endpoint. Just make sure you’re not exposing Nextcloud or Immich directly to the internet. Disclosure: I write a small site where I record measured numbers for running these services on low-spec boxes. The one on how far 4 GB actually gets you is here: https://lowspechq.com/best/best-self-hosted-ai-4gb-nas/ — if you’d rather not have a link in the answer, delete this last paragraph; everything above stands on its own.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    26 days ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    CA (SSL) Certificate Authority
    CGNAT Carrier-Grade NAT
    DHCP Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network
    DNS Domain Name Service/System
    IMAP Internet Message Access Protocol for email
    ISP Internet Service Provider
    NAS Network-Attached Storage
    NAT Network Address Translation
    NFS Network File System, a Unix-based file-sharing protocol known for performance and efficiency
    NUC Next Unit of Computing brand of Intel small computers
    RAID Redundant Array of Independent Disks for mass storage
    SATA Serial AT Attachment interface for mass storage
    SFTP Secure File Transfer Protocol for encrypted file transfer, over SSH
    SMTP Simple Mail Transfer Protocol
    SSD Solid State Drive mass storage
    SSH Secure Shell for remote terminal access
    UDP User Datagram Protocol, for real-time communications
    VPN Virtual Private Network
    ZFS Solaris/Linux filesystem focusing on data integrity
    nginx Popular HTTP server

    [Thread #144 for this comm, first seen 22nd Oct 2026, 07:10] [FAQ] [Full list] [Contact] [Source code]

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

    I’m building almost exactly this as an N150 box, so take this with that bias. For photos, files and contacts, Immich plus Nextcloud on Debian will cover you, and an N-series board idles at a few watts. The part that bit me was updates breaking things, not the install. What’s your limit for maintenance, an hour a month?

  • Destide@feddit.uk
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Freenas and Openmedia vault are great free options. Unraid is possibly the most polished though it has a one-off fee.

    OMV/unraid is a good place to start you’ll learn more docker than linux tbh as they all run a lot of that stuff under the hood. Until you start getting to know what you want from your boxes.

  • FolioCore@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    26 days ago

    Good instinct asking before buying. One suggestion from watching a lot of people start this: separate the two jobs in your list. Getting photos off the phones automatically and keeping safe copies is one job, and a NAS is good at it.

    Browsing and finding photos again is a different job, and it is where self-hosted setups most often disappoint beginners, because the polish of Google Photos search is hard to replicate. Plan the first job on the NAS from day one and treat the second as swappable. Immich is the strongest open-source answer for both, just budget real time for updates.

    Since you asked for open source only, a short disclosed aside: I make a paid, closed-source Mac app in this space, and the honest summary is that if any machine in the house is an Apple Silicon Mac, native no-server options for the search side exist, PhotoCore among them.

    For the stack you described, Immich on the NAS is the mainstream path.

  • hitmyspot@aussie.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    While I get the desire to degoogle and only use open source, it’s a pretty tough journey with a relatively steep learning curve, depending on your technical skill and knowledge. I would suggest looking at the pre-made and keeping their proprietary software as your starting point. Get your docker apps going, with everything backed up and degoogled and your own personal cloud. Then in the future, you can just transfer the data to a more open version.

    I use synology and have been really happy with it. Haven’t been so happy with them, trying to force the use of verified drives only, but they backed down. They have a lot of functionality built in and their modified version of Linux works well and offers a lot of the google type cloud functionality out of the box, I haven’t used terramaster or ugreen. My understanding is their software and particularly docker support is poorer, it that was a few years ago. You’ll find devolving is a process, so don’t feel a need to do it all at once.

    Just moving from windows to Linux made impromenets for me in terms of connecting to my nas, as nags rather than samba was automatically an option. Synologynhas built in remote access for a bunch of apps through their dynamic dns services, with easy letsencrypt workflows with wizards. Wireguard allows similar access to any docker apps. However, I’ve found it useful to be able to log in and download files from computers not in my wireguard network.

    If you have an old laptop, or PC you could start out using it instead of a dedicated nas, which is just a stripped down pc. You would then just put true as or media vault on it.