{"id":61173,"date":"2021-05-25T08:09:26","date_gmt":"2021-05-25T08:09:26","guid":{"rendered":"https:\/\/owncloud.com\/?p=61173"},"modified":"2022-12-19T09:57:14","modified_gmt":"2022-12-19T09:57:14","slug":"hosting-infinite-scale-uberspace-ubernauten","status":"publish","type":"post","link":"https:\/\/owncloud.com\/de\/blogs\/hosting-infinite-scale-uberspace-ubernauten\/","title":{"rendered":"How-to: Hosting ownCloud Infinite Scale on Uberspace"},"content":{"rendered":"<p><a href=\"https:\/\/uberspace.de\" target=\"_blank\" rel=\"noopener\">Uberspace<\/a> is one of the lesser known free hosters around. True to their claim &#8218;Hosting on Asteroids&#8216;, they offer free-of-charge hosting for everybody \u2013 for a month. Though they have extremely extensive documentation <a href=\"https:\/\/manual.uberspace.de\/\" target=\"_blank\" rel=\"noopener\">in their wiki<\/a>, <a href=\"https:\/\/owncloud.com\/infinite-scale\">ownCloud Infinite Scale<\/a> wasn\u2019t yet documented there. And since tools like ownCloud Infinite Scale require some configuration specific to Uberspace, here\u2019s a little how-to, to get it started.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-61190 size-full\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_192125.png\" alt=\"A screenshot of the Uberspace dashboard\" width=\"1186\" height=\"888\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_192125.png 1186w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_192125-980x734.png 980w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_192125-480x359.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1186px, 100vw\" \/><\/p>\n<h2><strong>Getting started with ownCloud Infinite Scale on Uberspace<\/strong><\/h2>\n<p>Go to the <a href=\"https:\/\/uberspace.de\" target=\"_blank\" rel=\"noopener\">Ubernauten website<\/a> and register. The first month is free-of-charge, after that Uberspace has a pay-what-you-want product with a minimum of 5 Euro. It is perfect for testing and running your first ownCloud Infinite Scale setup. Enter your e-mail address, your favorite subdomain name (I used &#8218;ocis&#8216; for this blogpost) and confirm. That\u2019s it, you&#8217;re ready to go. Please note the fqdn name of the server the Ubernauten give you, in my case it was hamal.uberspace.de.<\/p>\n<p>You can now try to login via SSH, but that will fail because you haven\u2019t set a password or a SSH-Key.:<\/p>\n<p><code style=\"display: block;\">ssh ocis@hamal.uberspace.de<br \/>\nThe authenticity of host \u2018hamal.uberspace.de (95.143.172.250)\u2019 can\u2019t be established.<br \/>\nED25519 key fingerprint is SHA256:LGidXSzKaOcgBJWPtGEd049A5CDXIUIeqTz3IU\/tU2I.<br \/>\nAre you sure you want to continue connecting (yes\/no\/[fingerprint])? yes<br \/>\nWarning: Permanently added \u2018hamal.uberspace.de,95.143.172.250\u2019 (ED25519) to the list of known hosts.<br \/>\nPassword:<\/code><\/p>\n<p>Password and SSH Key can be <a href=\"https:\/\/dashboard.uberspace.de\/dashboard\/authentication\" target=\"_blank\" rel=\"noopener\">entered here<\/a>\u00a0(also linked from your datasheet). As you can see in the screen shot, OpenID is also an option. For security, you should use either SSH-Key or Open ID, not the password option. Upload your key, and login again:<\/p>\n<p><code style=\"display: block;\"># ~\/.ssh&gt; ssh ocis@hamal.uberspace.de<br \/>\nLast failed login: Sun Feb  7 19:30:15 CET 2021 from 37.4.224.245 on ssh:notty<br \/>\nThere was 1 failed login attempt since the last successful login.<br \/>\nLast login: Sun Feb  7 19:15:09 2021<br \/>\nWelcome to Uberspace 7!<\/code><\/p>\n<p>Current version: 7.9.0.0<br \/>\nManual: https:\/\/manual.uberspace.de\/en\/<br \/>\nWatch out for changes at: https:\/\/manual.uberspace.de\/en\/changelog.html<br \/>\nFollow us on Twitter for updates: https:\/\/twitter.com\/ubernauten<\/p>\n<p>Is something unclear or does not work as expected?<br \/>\n=&gt; check the server status: https:\/\/is.uberspace.online<br \/>\n=&gt; reach out to our team: hallo@uberspace.de<br \/>\n[ocis@hamal ~]$<\/p>\n<p>Now it\u2019s time to download ownCloud Infinite Scale from our <a href=\"https:\/\/download.owncloud.com\/ocis\/ocis\/stable\/\">download server<\/a>, for example, with curl:<\/p>\n<p><code style=\"display: block;\">[ocis@hamal ~]$ curl https:\/\/download.owncloud.com\/ocis\/ocis\/stable\/2.0.0\/ocis-2.0.0-linux-amd64 --output ocis<br \/>\n(\u2026)<br \/>\n[ocis@hamal ~]$ chmod +x ocis<br \/>\n[ocis@hamal ~]$<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-61196 size-full\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_194002.png\" alt=\"This is what the front end view for an empty Uberspace looks like\" width=\"551\" height=\"419\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_194002.png 551w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_194002-480x365.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 551px, 100vw\" \/><\/p>\n<p>Okay, time to start ownCloud Infinite Scale with <em>.\/ocis server<\/em>, says <a href=\"https:\/\/owncloud.github.io\/ocis\/getting-started\/\" target=\"_blank\" rel=\"noopener\">Owncloud\u2019s manual<\/a>. But not on Uberspace \u2013 where we find some rather special conditions:<\/p>\n<ol>\n<li>You don\u2019t have root access<\/li>\n<li>A firewall blocks all ports other than 80,21,22,443 and maybe some more that webdevs need<\/li>\n<li>ownCloud Infinite Scale needs port 9200 to be accessible.<\/li>\n<\/ol>\n<h2><strong>NginX to the rescue!<\/strong><\/h2>\n<p>Uberspace provides a proxy server that may reroute incoming requests to your local port 9200 \u2013 which is where ownCloud Infinite Scale is listening. So unless we have configured this proxy, the blank Ubernauten default html screen will be visible on ocis.uber.space. Thank God it\u2019s all well documented in the\u00a0<a href=\"https:\/\/manual.uberspace.de\/\" target=\"_blank\" rel=\"noopener\">Uberspace Manual<\/a>,\u00a0so here\u2019s the steps needed for that:<\/p>\n<p><code style=\"display: block;\">uberspace web backend set \/ --http --port 9200<\/code><\/p>\n<p>\u2026 which configures nginX to forward all requests to port 9200 of the local machine. The command<\/p>\n<p><code style=\"display: block;\">uberspace web backend list<br \/>\n\/ http:9200 =&gt; NOT OK, no service<\/code><\/p>\n<p>lets you check the success of the command before. Since there\u2019s no local service running to answer, it\u2019s NOT OK, but configuring the port 9200 to be redirected to our little ubernauten server has worked.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-61202 size-full\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195015.png\" alt=\"A view of the CLI when starting up ownCloud Infinite Scale instance on Uberspace\" width=\"1000\" height=\"628\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195015.png 1000w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195015-980x615.png 980w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195015-480x301.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1000px, 100vw\" \/><\/p>\n<p>Before we set up ownCloud Infinite Scale, we need some environment variables to be set aka exported:<\/p>\n<p><code style=\"display: block;\">[ocis@hamal ~]$ export OCIS_URL=https:\/\/ocis.uber.space<br \/>\n[ocis@hamal ~]$ export PROXY_TLS=false<br \/>\n[ocis@hamal ~]$ export PROXY_HTTP_ADDR=0.0.0.0:9200<br \/>\n[ocis@hamal ~]$ export PROXY_LOG_LEVEL=debug<br \/>\n[ocis@hamal ~]$ .\/ocis server<\/code><\/p>\n<p>With these lines you have told ownCloud Infinite Scale to listen to the desired URL, communicate through HTTP with the proxy and which address to listen on. We set the log level to debug, be sure to unset that once your system is up and running. The last export is a variable that the current ownCloud Infinite Scale version needs in order to display thumbnail previews for image files correctly. The command in the last line finally starts ownCloud Infinite Scale, you will see the following login window:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-61208 size-full\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195141.png\" alt=\"This is what the login screen looks like for ownCloud Infinite Scale on Uberspace\" width=\"965\" height=\"793\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195141.png 965w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195141-480x394.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 965px, 100vw\" \/><\/p>\n<p>If you want to log in, use the default users as mentioned on the ownCloud documentation: Usage<\/p>\n<p><code style=\"display: block;\">Login to ownCloud Web<br \/>\nOpen https:\/\/localhost:9200 and login using one of the demo accounts:<br \/>\neinstein:relativity<br \/>\nmarie:radioactivity<br \/>\nrichard:superfluidity<\/code><code style=\"display: block;\">There are admin demo accounts:<br \/>\nmoss:vista<br \/>\nadmin:admin<\/code><\/p>\n<p>As a test, you can now drag and drop files into ownCloud Infinite Scale. That\u2019s it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-61214 size-full\" src=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195501.png\" alt=\"Let's see how it looks when you try and upload some files into your new ownCloud Infinite Scale instance on Uberspace\" width=\"965\" height=\"793\" srcset=\"https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195501.png 965w, https:\/\/owncloud.com\/wp-content\/uploads\/2021\/05\/Screenshot_20210207_195501-480x394.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 965px, 100vw\" \/><\/p>\n<p><em>This how-to was originally <a href=\"https:\/\/markusfeilner.de\/hosting-owncloud-ocis-on-ubernauten\/\" target=\"_blank\" rel=\"noopener\">published on Markus Feilner&#8217;s Blog<\/a>. We thank Markus Feilner for the permission to repost the blog entry here.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our guest author Markus Feilner explains how to install ownCloud Infinite Scale on Uberspace in a few easy steps. <\/p>\n","protected":false},"author":7,"featured_media":61722,"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,332,509],"tags":[],"class_list":["post-61173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-coding","category-infinite-scale"],"acf":[],"_links":{"self":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/61173","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=61173"}],"version-history":[{"count":7,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/61173\/revisions"}],"predecessor-version":[{"id":70071,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/posts\/61173\/revisions\/70071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media\/61722"}],"wp:attachment":[{"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/media?parent=61173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/categories?post=61173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/owncloud.com\/de\/wp-json\/wp\/v2\/tags?post=61173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}