{"id":822,"date":"2019-06-10T15:37:31","date_gmt":"2019-06-10T22:37:31","guid":{"rendered":"https:\/\/diyfuturism.com\/?p=822"},"modified":"2019-06-10T16:36:54","modified_gmt":"2019-06-10T23:36:54","slug":"self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage","status":"publish","type":"post","link":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/","title":{"rendered":"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage"},"content":{"rendered":"\n<p>It has been over a year since I <a href=\"https:\/\/diyfuturism.com\/index.php\/2018\/05\/05\/self-hosting-complete-guide-deploying-private-nextcloud\/\">originally set up my own self-hosted cloud using Nextcloud<\/a>. I am happy to report back that I absolutely love it, and it has run flawlessly without error for this period. It is central to my personal infrastructure and I have come to rely on it, I would recommend Nextcloud to anyone.<\/p>\n\n\n\n<p>My only issue is that I need more space! So when it came time to upgrade to the latest version of Nextcloud, I took this as an opportunity to switch my main storage to the S3-compatible object storage that DigitalOcean calls Spaces.<br><\/p>\n\n\n\n<!--more-->\n\n\n\n<h2>OBJECT STORAGE<\/h2>\n\n\n\n<p>When I originally set up Nextcloud, I chose a traditional volume as my storage. Actually, I don&#8217;t think object storage was offered at that point. Anyways, a volume acts like a disk. But that means I&#8217;m paying for the whole disk, not just what I&#8217;m using. And if I need to resize it&#8230; well, same process as a disk, even if it&#8217;s a virtual one.<\/p>\n\n\n\n<p>So enter object storage, the most commonly known service being Amazon&#8217;s S3. There are many other S3-compatible providers, including ones you can <a rel=\"noreferrer noopener\" aria-label=\"host your self (opens in a new tab)\" href=\"https:\/\/min.io\/\" target=\"_blank\">host your self<\/a>. The storage is much, much cheaper ($5 for 250gb on DigitalOcean, with GB after that at $0.02) than the equivalent as volume storage. You don&#8217;t have to commit (or pay for) a static amount of space, but only what you use. There are other benefits <a href=\"https:\/\/www.digitalocean.com\/products\/spaces\/\">you can read about.<\/a><\/p>\n\n\n\n<iframe loading=\"lazy\" src=\"\/\/rcm-na.amazon-adsystem.com\/e\/cm?o=1&#038;p=48&#038;l=ur1&#038;category=amzn_smp_fd_19&#038;banner=064T6AX42RGM1C341Y02&#038;f=ifr&#038;linkID=72d18a6e0d38d29c1d403b0bc911abd7&#038;t=diyfuturism-20&#038;tracking_id=diyfuturism-20\" width=\"728\" height=\"90\" scrolling=\"no\" border=\"0\" marginwidth=\"0\" style=\"border:none;\" frameborder=\"0\"><\/iframe><br>\n\n\n\n<h2>NEXTCLOUD + SPACES<\/h2>\n\n\n\n<p>I use DigitalOcean for my host, and couldn&#8217;t find a working configuration example for Nextcloud 16 to use their S3-like object storage known as Spaces. So here is the process I went through:<\/p>\n\n\n\n<ol><li><a href=\"https:\/\/m.do.co\/c\/d00f2d087bac\">Set up a Droplet VM with DigitalOcean <\/a><\/li><li>Add a Space and generate API keys<\/li><li>Follow <a href=\"https:\/\/diyfuturism.com\/index.php\/2018\/05\/05\/self-hosting-complete-guide-deploying-private-nextcloud\/\">my Nextcloud Docker Compose guide<\/a> to get it up and running<\/li><li>Edit the configuration file to switch to object storage<\/li><li><\/li><\/ol>\n\n\n\n<p><strong>You should not do this to an existing Nextcloud installation.<\/strong> Switching from a volume to object storage will wipe out your existing data. You need to do this from scratch, or make backups and carefully plan how you will migrate your existing data and users<\/p>\n\n\n\n<p>I&#8217;ve also been extremely happy with DigitalOcean as my host for things I run outside my house. <a href=\"https:\/\/m.do.co\/c\/d00f2d087bac\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Click here for $10 credit (opens in a new tab)\">Click here for $10 credit<\/a> to work on your own projects on DigitalOcean&#8217;s infrastructure.<\/p>\n\n\n\n<h2>SETTING UP THE SPACE<\/h2>\n\n\n\n<p>Creating a Space is pretty straight forward, just choose a data center (your region\/endpoint), a name (the S3 &#8216;bucket&#8217;), and what project you want to associate it with.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"823\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/screenshot-20190610140854-858x457\/\" data-orig-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610140854-858x457.png?fit=858%2C457&amp;ssl=1\" data-orig-size=\"858,457\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-20190610140854-858&#215;457\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610140854-858x457.png?fit=300%2C160&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610140854-858x457.png?fit=854%2C455&amp;ssl=1\" loading=\"lazy\" width=\"854\" height=\"455\" src=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610140854-858x457.png?resize=854%2C455&#038;ssl=1\" alt=\"\" class=\"wp-image-823\" srcset=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610140854-858x457.png?resize=858%2C457&amp;ssl=1 858w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610140854-858x457.png?resize=300%2C160&amp;ssl=1 300w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610140854-858x457.png?resize=768%2C409&amp;ssl=1 768w\" sizes=\"(max-width: 854px) 100vw, 854px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>Now you have an empty Space, but don&#8217;t upload anything. Nextcloud needs exclusive use of this.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"824\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/screenshot-20190610141009-1037x334\/\" data-orig-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?fit=1037%2C334&amp;ssl=1\" data-orig-size=\"1037,334\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-20190610141009-1037&#215;334\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?fit=300%2C97&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?fit=854%2C275&amp;ssl=1\" loading=\"lazy\" width=\"1037\" height=\"334\" src=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?fit=854%2C275&amp;ssl=1\" alt=\"\" class=\"wp-image-824\" srcset=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?resize=1037%2C334&amp;ssl=1 1037w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?resize=300%2C97&amp;ssl=1 300w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?resize=768%2C247&amp;ssl=1 768w, https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141009-1037x334.png?resize=1024%2C330&amp;ssl=1 1024w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><figcaption>Space is a lonely place<\/figcaption><\/figure>\n\n\n\n<p>The assets in the Space are served over a S3-compatible API. In order to access that API, we need to generate some API keys for Nextcloud to use.<\/p>\n\n\n\n<p>In your DO Manager, select &#8220;API&#8221; and you will see &#8220;Spaces access keys&#8221;. Generate New Key<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"825\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/screenshot-20190610141225-1024x221\/\" data-orig-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141225-1024x221.png?fit=1024%2C221&amp;ssl=1\" data-orig-size=\"1024,221\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-20190610141225-1024&#215;221\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141225-1024x221.png?fit=300%2C65&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141225-1024x221.png?fit=854%2C184&amp;ssl=1\" loading=\"lazy\" width=\"1024\" height=\"221\" src=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141225-1024x221.png?fit=854%2C184&amp;ssl=1\" alt=\"\" class=\"wp-image-825\" srcset=\"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141225-1024x221.png?resize=1024%2C221&amp;ssl=1 1024w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141225-1024x221.png?resize=300%2C65&amp;ssl=1 300w, https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141225-1024x221.png?resize=768%2C166&amp;ssl=1 768w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><\/figure>\n\n\n\n<p>That&#8217;s pretty much it, now on to configuring Nextcloud<\/p>\n\n\n\n<h2>CONFIGURING NEXTCLOUD<\/h2>\n\n\n\n<p>At this point you should have a working and accessible Nextcloud installation, but it is not using the object storage yet. Shut Nextcloud down, and then edit your main Nextcloud config file (<strong>config\/config.php<\/strong> relative to your installation).<\/p>\n\n\n\n<p>At the end of your config.php file, but before the last closing ); add<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>'objectstore' => array(\n        'class' => '\\\\OC\\\\Files\\\\ObjectStore\\\\S3',\n        'arguments' => array(\n                'bucket' => 'NAME_OF_SPACE',\n                'key'    => 'SECRET',\n                'secret' => 'SECRET',\n                'hostname' => 'REGION.digitaloceanspaces.com',\n                'region' => 'REGION',\n                'port' => 443,\n                'use_ssl' => true,\n                \/\/ required for some non Amazon S3 implementations\n                'use_path_style'=>true\n        ),\n),<\/code><\/pre>\n\n\n\n<p>The bucket name is the name of the Space. So above, &#8220;nextcloudtest&#8221;.<\/p>\n\n\n\n<p>The key and the secret come from the API manager.<\/p>\n\n\n\n<p>The hostname is the datacenter you chose. So if I chose SFO2 above the URL is sfo2.digitaloceanspaces.com and the region is also sfo2.<\/p>\n\n\n\n<p>If you&#8217;re not sure, you can check the &#8216;Endpoint&#8217; in the Spaces Settings<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-attachment-id=\"826\" data-permalink=\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/screenshot-20190610141851-904x177\/\" data-orig-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141851-904x177.png?fit=904%2C177&amp;ssl=1\" data-orig-size=\"904,177\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-20190610141851-904&#215;177\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141851-904x177.png?fit=300%2C59&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141851-904x177.png?fit=854%2C167&amp;ssl=1\" loading=\"lazy\" width=\"854\" height=\"167\" src=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141851-904x177.png?resize=854%2C167&#038;ssl=1\" alt=\"\" class=\"wp-image-826\" srcset=\"https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141851-904x177.png?resize=904%2C177&amp;ssl=1 904w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141851-904x177.png?resize=300%2C59&amp;ssl=1 300w, https:\/\/i2.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/Screenshot-20190610141851-904x177.png?resize=768%2C150&amp;ssl=1 768w\" sizes=\"(max-width: 854px) 100vw, 854px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>Restart Nextcloud and you should be looking at a blank files page. Upload to it, and you&#8217;ll see the size of your Space grow in your DO account.<\/p>\n\n\n\n<p>You&#8217;re now all set with object storage as your backend, with no limit to the amount of data you can store in the cloud.<\/p>\n\n\n\n<h3>RESOURCES<\/h3>\n\n\n\n<ul><li><a href=\"https:\/\/diyfuturism.com\/index.php\/2018\/05\/05\/self-hosting-complete-guide-deploying-private-nextcloud\/\">Complete Guide to Deploying Nextcloud with Docker Compose<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\"Nextcloud Object Storage Documentation (opens in a new tab)\" href=\"https:\/\/docs.nextcloud.com\/server\/16\/admin_manual\/configuration_files\/primary_storage.html\" target=\"_blank\">Nextcloud Object Storage Documentation<\/a><\/li><li><a href=\"https:\/\/m.do.co\/c\/d00f2d087bac\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"$10 Free Credit on DigitalOcean (opens in a new tab)\">$10 Free Credit on DigitalOcean<\/a><\/li><\/ul>\n\n\n\n<br><iframe loading=\"lazy\" src=\"\/\/rcm-na.amazon-adsystem.com\/e\/cm?o=1&#038;p=48&#038;l=ur1&#038;category=primemain&#038;banner=0ZPFACTPTMFJ1D5D3AG2&#038;f=ifr&#038;linkID=09094a01ab827f1c57f8becef7fce072&#038;t=diyfuturism-20&#038;tracking_id=diyfuturism-20\" width=\"728\" height=\"90\" scrolling=\"no\" border=\"0\" marginwidth=\"0\" style=\"border:none;\" frameborder=\"0\"><\/iframe><br>\n","protected":false},"excerpt":{"rendered":"<div class=\"wpm_excerpt clearfix\"><p>It has been over a year since I originally set up my own self-hosted cloud using Nextcloud. I am happy to report back that I absolutely &hellip;<\/p>\n<\/div>","protected":false},"author":1,"featured_media":830,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[148,5],"tags":[248,80,61,245,109,154,157,240,243,244,247,161,27,85,246,242,241],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage - DIY Futurism<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage - DIY Futurism\" \/>\n<meta property=\"og:description\" content=\"It has been over a year since I originally set up my own self-hosted cloud using Nextcloud. I am happy to report back that I absolutely &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/\" \/>\n<meta property=\"og:site_name\" content=\"DIY Futurism\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-10T22:37:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-10T23:36:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1280%2C720&#038;ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@diyfuturism\" \/>\n<meta name=\"twitter:site\" content=\"@diyfuturism\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"brad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/diyfuturism.com\/#website\",\"url\":\"https:\/\/diyfuturism.com\/\",\"name\":\"DIY Futurism\",\"description\":\"Adventures in Open Source Smart Home Projects\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/diyfuturism.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1280%2C720&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1280%2C720&ssl=1\",\"width\":1280,\"height\":720,\"caption\":\"Object vs Block Storage\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#webpage\",\"url\":\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/\",\"name\":\"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage - DIY Futurism\",\"isPartOf\":{\"@id\":\"https:\/\/diyfuturism.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#primaryimage\"},\"datePublished\":\"2019-06-10T22:37:31+00:00\",\"dateModified\":\"2019-06-10T23:36:54+00:00\",\"author\":{\"@id\":\"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c\"},\"breadcrumb\":{\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/diyfuturism.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c\",\"name\":\"brad\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/diyfuturism.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g\",\"caption\":\"brad\"},\"description\":\"I'm a professional artist who likes to tinker with building things in my spare time.\",\"sameAs\":[\"https:\/\/twitter.com\/@diyfuturism\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage - DIY Futurism","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/","og_locale":"en_US","og_type":"article","og_title":"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage - DIY Futurism","og_description":"It has been over a year since I originally set up my own self-hosted cloud using Nextcloud. I am happy to report back that I absolutely &hellip;","og_url":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/","og_site_name":"DIY Futurism","article_published_time":"2019-06-10T22:37:31+00:00","article_modified_time":"2019-06-10T23:36:54+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1280%2C720&ssl=1","path":"\/var\/www\/html\/wp-content\/uploads\/2019\/06\/object.jpg","size":"full","id":830,"alt":"Object vs Block Storage","pixels":921600,"type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_creator":"@diyfuturism","twitter_site":"@diyfuturism","twitter_misc":{"Written by":"brad","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/diyfuturism.com\/#website","url":"https:\/\/diyfuturism.com\/","name":"DIY Futurism","description":"Adventures in Open Source Smart Home Projects","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/diyfuturism.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#primaryimage","inLanguage":"en-US","url":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1280%2C720&ssl=1","contentUrl":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1280%2C720&ssl=1","width":1280,"height":720,"caption":"Object vs Block Storage"},{"@type":"WebPage","@id":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#webpage","url":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/","name":"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage - DIY Futurism","isPartOf":{"@id":"https:\/\/diyfuturism.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#primaryimage"},"datePublished":"2019-06-10T22:37:31+00:00","dateModified":"2019-06-10T23:36:54+00:00","author":{"@id":"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c"},"breadcrumb":{"@id":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/diyfuturism.com\/index.php\/2019\/06\/10\/self-hosting-nextcloud-with-digitalocean-spaces-for-main-storage\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/diyfuturism.com\/"},{"@type":"ListItem","position":2,"name":"Self Hosting: Nextcloud with DigitalOcean Spaces for Main Storage"}]},{"@type":"Person","@id":"https:\/\/diyfuturism.com\/#\/schema\/person\/b93619fac07567640bd87cc613a55b7c","name":"brad","image":{"@type":"ImageObject","@id":"https:\/\/diyfuturism.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7e2d60eb1f322b4ad6040a746946a361?s=96&d=mm&r=g","caption":"brad"},"description":"I'm a professional artist who likes to tinker with building things in my spare time.","sameAs":["https:\/\/twitter.com\/@diyfuturism"]}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2019\/06\/object.jpg?fit=1280%2C720&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9q0Cl-dg","jetpack-related-posts":[{"id":162,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/12\/11\/self-hosting-how-to-get-free-and-cheap-linux-virtual-servers\/","url_meta":{"origin":822,"position":0},"title":"Self Hosting: How to Get Free and Cheap Linux Virtual Servers","date":"December 11, 2017","format":false,"excerpt":"I try to avoid the cloud in favor of self-hosting the services I use. Then I know my information is private, and I can tailor them to suit my needs. I do run some services at home on my network, but my local internet service is pretty slow. So my\u2026","rel":"","context":"In &quot;Blog&quot;","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2017\/12\/33838065805_d48a76f077_k.jpg?fit=1200%2C800&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":545,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/05\/05\/self-hosting-complete-guide-deploying-private-nextcloud\/","url_meta":{"origin":822,"position":1},"title":"Self Hosting: Complete Guide to Deploying Your Own Private NextCloud with Docker Compose","date":"May 5, 2018","format":false,"excerpt":"With all the revelations in the headlines about how exactly our private data is being mined to surveil and manipulate us, I've been thinking of more ways to take better control of my information. As they say, the internet is forever, and it's become clear that once your information is\u2026","rel":"","context":"In &quot;Home Server&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/05\/Screenshot-from-2018-05-05-134816.png?fit=968%2C573&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":79,"url":"https:\/\/diyfuturism.com\/index.php\/2017\/11\/27\/hardware-odroid-xu4-as-plex-media-server\/","url_meta":{"origin":822,"position":2},"title":"Hardware: Odroid XU4 as Plex Media Server","date":"November 27, 2017","format":false,"excerpt":"As part of my efforts to be cloud non-dependent, I have a NAS full of several terabytes of music, movies, and TV shows.\u00a0Plex\u00a0is of course everyone's favorite software for solving this problem, as it essentially turns your hard drive full of files into a private Netflix capable of streaming and\u2026","rel":"","context":"In &quot;Hardware&quot;","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/www.diyfuturism.com\/wp-content\/uploads\/2017\/11\/201704250351342687-1.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":314,"url":"https:\/\/diyfuturism.com\/index.php\/2018\/01\/01\/how-to-set-up-a-personal-wiki-with-configuration-for-common-use-cases-like-recipes-and-journaling\/","url_meta":{"origin":822,"position":3},"title":"Self Hosting: Setting up a Personal Wiki with DokuWiki","date":"January 1, 2018","format":false,"excerpt":"One of the most useful things I self host on my server is a personal wiki. I use it for note taking on projects, a journal, a beer homebrew log, storing recipes, config files, and for archiving web pages or documents. It is a great alternative to Evernote or OneNote\u2026","rel":"","context":"In &quot;Self Hosted&quot;","img":{"alt_text":"WIKI","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2018\/01\/WIKI.gif?fit=450%2C250&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":855,"url":"https:\/\/diyfuturism.com\/index.php\/2020\/06\/14\/plexamp-music-streaming-with-raspberry-pi-zero\/","url_meta":{"origin":822,"position":4},"title":"Plexamp Music Streaming with Raspberry Pi Zero","date":"June 14, 2020","format":false,"excerpt":"I've been a Plex user for a very long while. They've recently put a lot of effort into the re-vamped Plexamp music player and it's quickly become my primary means of listening to my music library. I wanted to be able to stream Plexamp to my hi-fi stereo the same\u2026","rel":"","context":"In &quot;Electronics&quot;","img":{"alt_text":"","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2020\/06\/Screenshot-20200614154205-997x628-1.png?fit=997%2C628&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":868,"url":"https:\/\/diyfuturism.com\/index.php\/2020\/08\/16\/plex-locast-recording-local-tv-without-the-antenna\/","url_meta":{"origin":822,"position":5},"title":"Plex &#038; Locast: Recording Local TV Without the Antenna","date":"August 16, 2020","format":false,"excerpt":"Update: Locast has ceased operations. Old post archived here: I have been a long time Plex user for years. Alongside my extensive movie collection, I also like to keep up on the local news and occasionally watch some sports or TV special. Previously I had successfully used a TV tuner\u2026","rel":"","context":"In &quot;Home Server&quot;","img":{"alt_text":"Plex DVR","src":"https:\/\/i1.wp.com\/diyfuturism.com\/wp-content\/uploads\/2020\/08\/2020-08-16-190142_857x727_scrot.png?fit=857%2C727&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/822"}],"collection":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/comments?post=822"}],"version-history":[{"count":6,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/822\/revisions"}],"predecessor-version":[{"id":833,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/posts\/822\/revisions\/833"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/media\/830"}],"wp:attachment":[{"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/media?parent=822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/categories?post=822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diyfuturism.com\/index.php\/wp-json\/wp\/v2\/tags?post=822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}