Blog | Getting started | ownCloud Infinite Scale

How to install ownCloud Infinite Scale on a Raspberry Pi in 4 easy steps

Want to install ownCloud Infinite Scale on a Raspberry Pi? While we would not suggest this for production, it is a nice way to get to know Infinite Scale.

By Klaas Freitag

install ownCloud Infinite Scale on a Raspberry Pi

With the ownCloud Infinite Scale 1.1.0 tech preview release is just out the door, people often ask if it is running on a Raspberry Pi as well. And the answer is yes, of course it does. While that would not be such a good idea for production, running ownCloud Infinite Scale on a Raspberry Pi is a great way to get to know the upcoming ownCloud Infinite Scale platform.

Keep it simple

Granted, ownCloud Infinite Scale can also be delivered through Docker, but why go complicated. Let us start it on the bare metal making use of the ARM build. It means there is just one file to download and start! With that, starting the ownCloud Infinite Scale tech preview on a Raspberry Pi is as easy as:

1. Install Raspberry Pi OS Lite and update it

Download the image, put it on a card (do not forget to enable ssh by creating an empty file on the boot partition) and boot the Pi.

Update it:
sudo apt-get update && sudo apt-get upgrade

2. Install etcd for registry

As I wanted to go with etcd instead of mdns for service registration, I had to install etcd:
sudo apt-get install etcd

But for some reason etcd needs some fixes that are described here: https://github.com/etcd-io/etcd/issues/10677#issuecomment-572911175

So, at the end of /etc/default/etcd, we need to add the line
ETCD_UNSUPPORTED_ARCH=arm

And finally start the etcd service:
sudo service etcd start

Note that this step is not neccessary, you could also go for the default, which is mdns. For that to work, you would need to make sure ahavi-daemon is installed and started.

3. Download the ownCloud Infinite Scale tech preview binary and start it

Get the ARM build from the download server:
curl https://download.owncloud.com/ocis/ocis/1.1.0/ocis-1.1.0-linux-arm --output ocis-1.1.0-linux-arm

and make it executable:
chmod 755 ./ocis-1.1.0-linux-arm

Now let’s create a little start script for ocis. I called it startocis.sh and it contains:

#!/bin/sh

# Let ocis know that etcd is used instead of mdns
export MICRO_REGISTRY=etcd

PROXY_HTTP_ADDR=0.0.0.0:9200 \
OCIS_URL=https://raspberrypi:9200 \
KONNECTD_TLS=0 \
./ocis-1.1.0-linux-arm server

Install ownCloud Infinite Scale on a Raspberry Pi

Then, make it executable by
sudo chmod 755 startocis.sh

And finally, execute:
sudo ./startocis.sh

4. Enjoy! You just installed ownCloud Infinite Scale on a Raspberry Pi

Now you can point your browser to https://raspberrypi:9200 and enjoy the new ownCloud Web frontend that comes with the ownCloud Infinite Scale tech preview….

Was that hard? Try that with a LAMP stack 😉

Klaas Freitag

Februar 1, 2021

Ready to see what’s next?

Having trouble viewing or submitting this form?

Contact Us

We care about protecting your data. Here’s our Privacy Policy.

Read now: