Install Nextcloud Docker Ubuntu

WARNING: Due to a Nextcloud bug, the mariadb:latest tag is not compatible with Nextcloud. To fix use the MariaDB docker tag mariadb:10.5. Nextcloud is open source software that allows anyone to self-host their own private storage. This guide is aimed at Ubuntu 20.04 but it will work with most Linux distros. Step 1 – Installing Nextcloud. We will be installing Nextcloud using the Snap packaging system. This packaging system, available on Ubuntu 20.04 by default, allows organizations to ship software, along with all associated dependencies and configuration, in a self-contained unit with automatic updates. This tutorial shows how to install Collabora online server on Ubuntu using a Docker image built by Collabora and Nextcloud. Then integrate it with an existing Nextcloud server. Step 1: Install Docker on Ubuntu. If you want the latest Docker version, you can install Docker from Docker’s APT repository. For simplicity, this tutorial installs. Ubuntu 18.04 Docker version 20.10.2 docker-compose version 1.27.4. The main problem here is that i have pretty little experience with dockers. From this page I think I need to download and place the apps in /var/www/nextcloud/apps, the thing is. That route as I understand is the one inside the docker. Nov 04, 2020 WARNING: Due to a Nextcloud bug, the mariadb:latest tag is not compatible with Nextcloud. To fix use the MariaDB docker tag mariadb:10.5. Nextcloud is open source software that allows anyone to self-host their own private storage. This guide is aimed at Ubuntu 20.04 but it will work with most Linux distros.

In one of the previous posts, I mentioned using Nextcloud as a self-hosted cloud platform. This post goes into details how I set up my instance.

Install Docker and Docker-Compose

To install docker, run:

To install docker-compose, run:

docker-compose.yml

Create this docker-compose.yml with following contents:

Run docker-compose -f docker-compose.yml up -d to start all necessary containers.

Setting Up

Browse to http://localhost:8080 and you’ll see a set up page like this:

Fill in the fills as the following:

Ubuntu download

Install Nextcloud Docker Ubuntu

  • Database user: nextcloud
  • Database password: Enter your password in docker-compose.yml file
  • Database name: nextcloud
  • Database host: db

Docker Ubuntu Image

After setting up nextcloud, you will see something like:

Modify Overwrite Protocal

Modify /opt/nextcloud-data/config/config.php and add:

Modify Upload Max Filesize

By default, Nextcloud only allows uploading file up to 2MB which is not very useful. We can modify the max filesize by adding /opt/nextcloud-data/.htaccess with following: