{"id":58536,"date":"2021-02-01T17:33:37","date_gmt":"2021-02-01T17:33:37","guid":{"rendered":"https:\/\/owncloud.com\/?p=58536"},"modified":"2025-01-17T07:24:25","modified_gmt":"2025-01-17T07:24:25","slug":"howto-owncloud-infinite-scale-on-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/owncloud.com\/de\/blogs\/howto-owncloud-infinite-scale-on-a-raspberry-pi\/","title":{"rendered":"How to install ownCloud Infinite Scale on a Raspberry Pi in 4 easy steps"},"content":{"rendered":"<p>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.<\/p>\n<h4>Keep it simple<\/h4>\n<p>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:<\/p>\n<h4>1. Install Raspberry Pi OS Lite and update it<\/h4>\n<p>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.<\/p>\n<p>Update it:<br \/>\n<code>sudo apt-get update && sudo apt-get upgrade<\/code><\/p>\n<h4>2. Install etcd for registry<\/h4>\n<p>As I wanted to go with etcd instead of mdns for service registration, I had to install etcd:<br \/>\n<code>sudo apt-get install etcd<\/code><\/p>\n<p>But for some reason etcd needs some fixes that are described here: <a href=\"https:\/\/github.com\/etcd-io\/etcd\/issues\/10677#issuecomment-572911175\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/etcd-io\/etcd\/issues\/10677#issuecomment-572911175<\/a><\/p>\n<p>So, at the end of \/etc\/default\/etcd, we need to add the line<br \/>\n<code>ETCD_UNSUPPORTED_ARCH=arm<\/code><\/p>\n<p>And finally start the etcd service:<br \/>\n<code>sudo service etcd start<\/code><\/p>\n<p>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.<\/p>\n<h4>3. Download the ownCloud Infinite Scale tech preview binary and start it<\/h4>\n<p>Get the ARM build from the download server:<br \/>\n<code>curl https:\/\/download.owncloud.com\/ocis\/ocis\/1.1.0\/ocis-1.1.0-linux-arm --output ocis-1.1.0-linux-arm<\/code><\/p>\n<p>and make it executable:<br \/>\n<code>chmod 755 .\/ocis-1.1.0-linux-arm<\/code><\/p>\n<p>Now let&#8217;s create a little start script for ocis. I called it startocis.sh and it contains:<br \/>\n<code><br \/>\n#!\/bin\/sh<\/p>\n<p># Let ocis know that etcd is used instead of mdns<br \/>\nexport MICRO_REGISTRY=etcd<\/p>\n<p>PROXY_HTTP_ADDR=0.0.0.0:9200 \\<br \/>\nOCIS_URL=https:\/\/raspberrypi:9200 \\<br \/>\nKONNECTD_TLS=0 \\<br \/>\n.\/ocis-1.1.0-linux-arm server<\/code><\/p>\n<p><a href=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/02\/2021-02-01-154730_1920x1080_scrot-e1612192514806.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/02\/2021-02-01-154730_1920x1080_scrot-e1612192514806.png\" alt=\"Install ownCloud Infinite Scale on a Raspberry Pi\" width=\"921\" height=\"604\" class=\"aligncenter size-full wp-image-58542\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/02\/2021-02-01-154730_1920x1080_scrot-e1612192514806-921x551.png 921w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/02\/2021-02-01-154730_1920x1080_scrot-e1612192514806-480x270.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 921px) 921px, 100vw\" \/><\/a><\/p>\n<p>Then, make it executable by<br \/>\n<code>sudo chmod 755 startocis.sh<\/code><\/p>\n<p>And finally, execute:<br \/>\n<code>sudo .\/startocis.sh<\/code><\/p>\n<h4>4. Enjoy! You just installed ownCloud Infinite Scale on a Raspberry Pi<\/h4>\n<p>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&#8230;.<\/p>\n<p>Was that hard? Try that with a LAMP stack \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":7,"featured_media":58565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"categories":[43,240,509],"tags":[],"class_list":["post-58536","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-getting-started","category-infinite-scale"],"acf":[],"_links":{"self":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/58536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/comments?post=58536"}],"version-history":[{"count":4,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/58536\/revisions"}],"predecessor-version":[{"id":58564,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/58536\/revisions\/58564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media\/58565"}],"wp:attachment":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media?parent=58536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/categories?post=58536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/tags?post=58536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}