Links checked 2026-10-14
Self-hosting Nextcloud
The self-hosted route instead of Dropbox, Google Drive.
The all-in-one container makes the install tractable, but it is a platform with a database, caching, background jobs and an upgrade path that must be walked in order.
What it is
File sync and share with desktop and mobile clients, plus a large set of optional applications on top of it: calendar, contacts, talk, office documents and more. The project maintains an all-in-one container deployment that bundles the web server, database, caching and a backup path.
What you actually need
This is the reader's own hardware and configuration, not a price. We describe what a job needs; we do not put a figure on what self-hosting costs, because that depends on the provider, the term and the disk you choose.
- The server
- A VPS with room for the stack and, more importantly, for the files. The all-in-one deployment expects Docker on a Linux host; its documentation warns that a snap-packaged Docker is not supported.
- How it installs
- The all-in-one container deployment, or a manual install following the administration manual.
- Data store
- PostgreSQL in the all-in-one stack; MariaDB, MySQL and SQLite are also supported in manual installs.
- What grows
- Files grow until you add disks, and the deployment can place its data directory on a separate drive for that reason. Storage estimates should include the database, versions and the backup target.
Before it is safe to expose
- Docker installed properly on a Linux host — the project warns against the snap package
- A domain and TLS for clients to connect securely
- A backup target, since the all-in-one deployment includes a backup mechanism that needs somewhere to write
- A version plan: the project's administration manual documents upgrading one major release at a time
The trade-offs, specifically for Nextcloud
- Nextcloud is a platform, not one application. Files, calendar, contacts and office documents share the install, and they share its maintenance too.
- The all-in-one documentation is explicit that a snap-packaged Docker is unsupported, which is the first thing Ubuntu users hit.
- Desktop and mobile clients expect the server to be reachable and quick. A slow box means clients that resync constantly.
- Upgrades are stepwise and documented as such; skipping major releases is not a supported path, so a neglected install becomes a migration.
And the six things you own from now on
These are true of every tool in this section, including Nextcloud. They are also the reason to decide against self-hosting, which is a legitimate decision.
- You own the updates. Security releases have to be applied by you, on your schedule, and a project that stops publishing releases becomes your problem to notice.
- You own the backups, and a backup is not a backup until you have restored from it once.
- You own the uptime. There is no status page to watch and no support line to call when it stops answering.
- You own the security patches, the TLS certificate, the reverse proxy and the firewall in front of it.
- You are the on-call rota. The failure mode nobody plans for is being the only person who knows how the thing was set up.
- The hardware has a running cost and a lifetime. Disks fail, and the replacement is on you.
What you give up
- The simplicity of a consumer sync service, including the sharing links people expect to just work
- Managed storage, bandwidth and support
What you gain
- Files and calendars on hardware you own, with a client for virtually every platform
- Adding applications does not add a vendor line item
Elsewhere in the index
The box it runs on
A VPS with room for the stack and, more importantly, for the files. The all-in-one deployment expects Docker on a Linux host; its documentation warns that a snap-packaged Docker is not supported. That machine is the purchase this page is really about, and it is the one number we will not invent for you: the right size depends on the provider, the term and the disk, so check it on the provider's own page.
Hostinger
Hostinger's VPS product is the closest fit to a self-hosted application: its own page advertises root access, Docker and NVMe storage, with data centres in several regions.
See Hostinger's plansRead Hostinger's published pricing ↗DigitalOcean
Virtual machines billed as you use them, with separate volumes, snapshots and object storage for the parts you want to keep outside the server.
See DigitalOcean's plansRead DigitalOcean's published pricing ↗Hetzner
Cloud instances and dedicated servers with rates published per instance size, so the cost of a bigger box is visible before you move.
See Hetzner's plansRead Hetzner's published pricing ↗What to check before you buy
- A virtual machine you have root on, not a website plan with a control panel bolted on top.
- Snapshots or automated backups, and where those backups are stored.
- Block storage or object storage for the data that will outgrow the server's own disk.
- What the monthly rate renews at, rather than the first-term rate on the signup page.
- Where the data centre is, if the data has a jurisdiction attached to it.
The “See plans” links go through our own /go/ redirect and some are affiliate links, which pay us if you sign up. The descriptions and trade-offs on this page are written from the project's own documentation and are unaffected. The plain pricing link under each provider is not an affiliate link. See our disclosure.
Frequently asked questions about self-hosting Nextcloud
Answers restate the notes on this page or point at the project's own documentation. Self-hosting moves work to you rather than removing it, and these answers say so.
What is Nextcloud?
File sync and share with desktop and mobile clients, plus a large set of optional applications on top of it: calendar, contacts, talk, office documents and more. We cover it as a replacement for Dropbox, Google Drive.
What do you need to run Nextcloud yourself?
The all-in-one container deployment, or a manual install following the administration manual. The requirements table on this page lists the server, the data store, what grows and what else to arrange first. Setup steps are at Nextcloud's all-in-one deployment.
How hard is Nextcloud to run yourself?
We rate it Involved. The all-in-one container makes the install tractable, but it is a platform with a database, caching, background jobs and an upgrade path that must be walked in order.
What are the trade-offs of self-hosting Nextcloud?
Our notes list these costs. Nextcloud is a platform, not one application. Files, calendar, contacts and office documents share the install, and they share its maintenance too. The all-in-one documentation is explicit that a snap-packaged Docker is unsupported, which is the first thing Ubuntu users hit.
What do you give up by running Nextcloud yourself?
You take on what Dropbox, Google Drive used to do for you. The simplicity of a consumer sync service, including the sharing links people expect to just work. Managed storage, bandwidth and support. Self-hosting moves that work to you rather than removing it.
What do you gain by running Nextcloud yourself?
Our notes list these. Files and calendars on hardware you own, with a client for virtually every platform. Adding applications does not add a vendor line item.