posted in Selfhosted

Beginner looking for advice on open-source NAS hardware and OS for self-hosting

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!

Replying to @⁨t_berium@lemmy.world⁩

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.

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.

nginxproxymanager.comNginx Proxy ManagerDocker container and built in Web Application for managing Nginx proxy hosts with a simple, powerful interface, providing free SSL support via Let's Encrypt

Replying to an earlier post

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.

en

Replying to an earlier post

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.