Blog | Getting started | 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.
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 😉

ownCloud

February 1, 2021

Read now:

ownCloud Infinite Scale 8.1.0: MFA-Gated Vault Storage Arrives

ownCloud Infinite Scale 8.1.0: MFA-Gated Vault Storage Arrives

oCIS 8.1.0 introduces MFA-gated vault storage as an isolated storage plane: its own provider ID, no public or federated sharing path, MFA propagated end to end, and a UI that makes the distinction obvious. Plus a public-share access control fix and roughly 60 other changes across indexing, LDAP, and connection recovery.

read more
The New ownCloud Marketplace: Git Is the App Store

The New ownCloud Marketplace: Git Is the App Store

The new ownCloud Marketplace is live. 13 Web Extensions, 42 apps, 324 releases, 36 publishers and counting. Zero backend. Zero database. Zero server-side processing. The Git repository is the source of truth. The catalogue is static JSON. Publishing an app is a pull request. Git is the app store.

read more
oCIS MCP Server v1.0.0: Your AI Assistant Just Got a Key to ownCloud

oCIS MCP Server v1.0.0: Your AI Assistant Just Got a Key to ownCloud

The oCIS MCP Server v1.0.0 is out. An open source bridge between ownCloud Infinite Scale and any MCP-compatible AI assistant: 80 tools across users, spaces, files, shares, federated OCM, and multi-step workflows. Apache 2.0. Self-hosted. The AI works on your authentication, against your infrastructure, with your data staying where it is.

read more