Can Nextcloud not run on bare metal?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

I think I misunderstood what Nextcloud is. Hopefully this question can be answered quickly and I won’t take up any more of anyone’s time. I see these posts, “Bare metal Nextcloud and Docker containers,” which, as I understand bare metal, is an oxymoron. Nextcloud is not an OS, is it? It’s not, say, OMV or Proxmox or even TrueNAS? I guess I thought it was similar to TrueNAS or Synology’s OS.

I apologize for the total noob question. I keep running into links to GitHub projects when attempting to just acquire the Nextcloud software so, again, I think I misunderstood what it is.

Evidently it’s some type of software server that needs Linux or some other OS infrastructure to even be installed, then several tools (such as databases) to run and only THEN can one use the various Nextcloud tools. Is that correct? That seems like a lot of overhead! But, again, maybe I’m misunderstanding. Please advise!

Nextcloud is not an operating system like OMV, TrueNAS, or Synology OS. It is an application (server software) that runs on top of an existing operating system – most commonly Linux.

OMV, TrueNAS, and Synology provide a complete package with a web interface and various services available right after installation. In comparison, Nextcloud is a single application that requires:

  • an operating system (e.g., Ubuntu Server),

  • a web server (Apache or Nginx),

  • a database (MariaDB or PostgreSQL),

  • PHP.

It is important to know what device you plan to install Nextcloud on, since the recommended deployment method depends on the hardware. The options include a direct installation on the OS (bare metal) or using Docker with Nextcloud AIO (All-In-One), which automates much of the setup.

This way, you ensure the solution runs stably and is adapted to your specific hardware.

1 Like

Thank you for the very detailed response! That’s exactly what I was looking for. Proxmox and a Docker container definitely seems like the way to go.

1 Like

It can be installed from an Archive (tar.gz/zip) package into a supported Linux distro.

It can also be installed in a variety of other ways. There are multiple Docker based deployments, Snap (for Ubuntu), VMs, etc.

There are also distro/OS specific packages such as FreeBSD Ports, ArchLinux packages, Nix packages, etc.

Technically there are also some “OS” based ones in the sense that they come with the OS, but it’s just Linux underneath and provided as a convenience to streamline the deployment.

Some of them are listed here:

1 Like

I agree, I can’t stand people using “bare metal” either. I installed Nextcloud on FreeBSD almost a decade ago (upgrading from ownCloud).

I’d warn against docker, though. It’s an extra layer of complexity you don’t need. About 90% of the posts in the Nextcloud subreddit are people having issues with docker.

Just use your OSes method of installing Nextcloud. I used ports on FreeBSD, use apt or whatever your linux distro uses. That’s not “bare metal”, but it beats “non-native bubble that doesn’t communicate as expected”.

Nextcloud isn’t an OS. It’s software you install on an OS like Linux, with a web server and database, to run its tools.

It’s an additional layer some people need to learn before they get it right, but the upsides are often that it solves other real problems for these same people. Part of the reason there are so many Docker/container related problem reports is also because it’s probably the prevalent install method at this point (at least among Linux users).

Don’t get me wrong, I like having Archive modes + FreeBSD Ports + and all the others.

I agree, I can’t stand people using “bare metal” either.

You’re right. The “bare metal” term is a bit of a misnomer here. The Archive-based install (tar.gz/zip/bz2 based) is intended to go onto an underlying host OS that has been set up according to the Nextcloud prerequisites. Typically that would be an OS on bare metal or a VM. It could even be a base generic OS/distro container image that meets the specs (not the same as using using one of the Nextcloud specific images).

1 Like