Nextcloud
Nextcloud is an open-source platform for file sync, sharing, and team collaboration that runs on your own server instead of a corporate data center. Install it once and you get file storage, calendar and contact sync, and video calls in one place, with nobody scanning your files to sell ads.
Where Nextcloud actually came from
Nextcloud exists because of a 2016 falling-out: Frank Karlitschek, ownCloud’s original founder, left ownCloud Inc. with most of its core developers and forked the project. ownCloud’s American entity shut down within twelve hours of that announcement; Nextcloud kept shipping.
License: Nextcloud Server runs under AGPL-3.0, confirmed directly in the project’s COPYING file on GitHub, not just a badge. For a homelab install, that means the server and its core apps (Files, Talk, Calendar, Contacts) are free and stay that way. (Nextcloud GmbH also sells enterprise support, but that’s for businesses.)
The apps that make it worth running
Plenty of write-ups stop at “it’s like Google Drive, but self-hosted.” True, but incomplete: the apps built around file sync make it a real replacement for several services, not just Drive.
- Files: desktop clients for Windows, macOS, and Linux, mobile apps with photo backup, and shared links with granular permissions.
- Calendar and Contacts: built on CalDAV and CardDAV, open standards your phone already speaks, so syncing is a five-minute job, not a walled garden.
- Talk: chat and video calls, part of Nextcloud’s core since version 19 in 2020. Fine for one-on-one calls and small group chats out of the box.
- Office: real-time document editing via Collabora Online, bundled automatically if you install through AIO.
- Photos: a first-party gallery app for albums and timelines. Not a dedicated AI photo manager with face recognition, so don’t expect that.
Every app you enable adds background jobs and memory use. An instance running just Files idles fine on modest hardware; add Talk, full-text search, and a dozen extras, and it starts asking for real CPU and RAM.
Two ways to actually install it
Nextcloud ships two genuinely different Docker deployment paths, and mixing them up is where first attempts usually go wrong.
The plain image, for testing
The official nextcloud image on Docker Hub is maintained by community volunteers (source at github.com/nextcloud/docker), and Docker Hub’s own page is blunt about it: “designed for expert use.” One container gets you a working instance with SQLite in under a minute:
docker run -d -p 8080:80 nextcloud
Open http://localhost:8080/ and you’ll hit the setup wizard. Fine for kicking the tires, but SQLite chokes past one user or any real amount of data, so you’ll want MariaDB or PostgreSQL for daily use.
Nextcloud AIO, for actually using it
Nextcloud AIO (All-in-One) is what Nextcloud itself recommends for a full-featured setup: a “mastercontainer” that spins up the rest of the stack for you, including the database, Redis, Collabora for Office, Talk, and ClamAV. One command starts it:
sudo docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
ghcr.io/nextcloud-releases/all-in-one:latest
Port 8080 opens the AIO setup screen with a self-signed certificate; port 8443 serves a real one once a domain points at the box. From there you enable Talk, Office, and the rest with checkboxes, no compose files needed. Nextcloud GmbH maintains AIO directly (github.com/nextcloud/all-in-one).
Hardware: Nextcloud’s own device guidance and independent testing agree on roughly a quad-core CPU, 4-8GB of RAM, and an SSD, not a spinning disk or microSD card. It technically boots on a Raspberry Pi, but performance drops fast once you’re syncing real photo libraries off SD storage. Still picking hardware? Our homelab setup guide for beginners breaks down the trade-offs.
Reaching it from outside your house
Nextcloud has one quirk that trips up more people than any other app on this site: trusted domains. By default it only answers requests for the hostname or IP it was installed with. Reach it from a new domain or IP and you get a blunt “access through untrusted domain” error instead of a login screen, until you edit config.php or set NEXTCLOUD_TRUSTED_DOMAINS before first run.
Don’t forward raw ports. Pointing your router straight at Nextcloud’s container is how instances get scanned and brute-forced within days. Put a reverse proxy (Nginx Proxy Manager, Caddy, Traefik) in front for a real TLS certificate, or connect over Tailscale instead of exposing anything publicly. Our Jellyfin remote access guide covers both approaches; the logic holds regardless of the app.
Nextcloud vs. the alternatives
Against Google Drive or Dropbox, it’s the usual self-hosting trade: no subscription and full control of where your files sit, in exchange for handling your own backups and security patches. Nobody’s support team is fixing a botched upgrade for you.
- No storage subscription once the hardware’s paid off
- Files, calendar, contacts, and chat under one login
- Open standards (CalDAV, CardDAV, WebDAV), not proprietary sync
- You own the backups; no support ticket restores yesterday’s files
- Heavier on RAM than a single-purpose tool like Syncthing
- Mobile apps lag Google’s or Dropbox’s on large libraries
The other comparison people ask about is ownCloud, Nextcloud’s own predecessor. The two have diverged enough since 2016 that ownCloud now leans toward enterprise deployments, while most homelab documentation has moved to Nextcloud. For pure, minimal file sync, Seafile is worth a look. Our Personal Cloud coverage rounds up related tools.
FAQ
Is Nextcloud actually free for home use?
Yes. The server and core apps (Files, Talk, Calendar, Contacts, Photos) are free and open source under AGPL-3.0. You pay for your own hardware and storage, nothing else.
Is Nextcloud better than Google Drive?
Better at different things. Drive wins on convenience and zero maintenance. Nextcloud wins on control: your files stay on hardware you own, with nobody mining them for ad targeting. That control costs setup time Drive doesn’t.
What are the real limitations?
Mobile performance on large libraries, the trusted-domains quirk above, and the fact every enabled app adds overhead. It’s also on you to patch it. An abandoned, internet-facing Nextcloud instance is a real security risk, not a hypothetical one.
Do I need Docker to run it?
No, but it’s the path most homelabbers take. Nextcloud also installs via a web installer directly on Linux, or through community packages on NAS platforms like Synology and Unraid, if you’d rather skip containers.