Quick Nextcloud 13 installation on Raspberry Pi

Nextcloud 13 installation may take hours even for experienced Linux users. Need to set up PHP 7 and its extensions, web server, database management system and Nextcloud itself. It’s not necessary to install all of these manually, advanced users prefer Docker. We’ve prepared everything you need for building and running that container on your Raspberry Pi.

Set up a minimal Raspbian/Ubuntu distro on your Pi, then install Git, Docker and Docker Compose:

sudo apt-get update
sudo apt-get install git docker-compose
curl -sSL https://get.docker.com | sh

Clone MMB repository:

cd ~
git clone https://github.com/tolstoyevsky/mmb.git
cd mmb

After that, just run the following commands:

sudo ./mmb.sh mariadb armhf
sudo ./mmb.sh nextcloud armhf

It builds two docker images: MariaDB and Nextcloud 13. If you’re good at Docker, please either check their dockerfiles.

Make sure 3306 port is not in use on your Pi and run the containers using docker-compose:

cd mariadb
docker-compose up -d
cd ../nextcloud
docker-compose up -d

Once containers are running, type http://[IP-address of your Raspberry Pi]:8001/nc in a web browser. If you can see Installation Wizard, just enter your desired administrator’s username and password and click Finish Setup.

You always can buy a ready-to-use Nextcloud 13 image for Raspberry Pi + technical support from our team.

Nextcloud 13 for Raspberry Pi

We’ve prepared ready to use Nextcloud 13 image for Raspberry Pi and included the following features:

  • Gallery app for providing a gallery view for private pictures and for those which are available by public links.
  • An outdated app files_videoviewer substituted for the modern one.
  • Calendar and Contacts apps for syncing calendars and contacts with the server respectively.
  • Phone Sync app for syncing text messages with the server.
  • Talk app for having private video calls and chatting using the server.

We drop automatic updates for our Nextcloud images, but we’ll send this image to all our customers who bought previous images.

Click here to buy ready to use Nextcloud 13 image for Raspberry Pi + technical support

People who don’t want to buy, can build exactly the same image by themselves using free and open source software we’ve prepared:

  • Pieman for building a minimal OS image.
  • MMB for building Nextcloud 13.

We don’t offer technical support in that case, but community can help you.

CusDeb Beta 2

We’d like to announce CusDeb Beta 2. The main feature of the new version is using Pieman as a backend for the image building subsystem (rpi23-gen-image used to use for the purpose). Pieman became the first key component of CusDeb the source code of which was published on GitHub. It’s also worth noting that CusDeb Beta 2 offers to customize Raspbian Stretch, Ubuntu Xenial and Ubuntu Artful for 4 Raspberry Pi models — from 1 to 3 and also Raspberry Zero. Furthermore, Ubuntu Artful is offered only in 64-bit flavour for Raspberry Pi 3. Our users had been requesting 64-bit images for a quite long period of time.

We had to abandon the Debian Jessie and Debian Stretch support which were inherited from rpi23-gen-image. However, we are going to return the Debian Stretch support in the nearest future.

It should also be mentioned that the user receives the email with the build log attached to it in the case of a build fail. In spite of the fact that we’ve made the build process as stable and predictable as possible, unfortunately there are the cases when builds fail because of both bugs in Pieman and bugs in the distributions which are offered to be customized. The build log which is sent in the cases like that is one more tool which help our users make the service better. We encourage the users to analyze the reasons of build fails and create issues in the Pieman project.