{"id":1052,"date":"2019-10-22T15:49:54","date_gmt":"2019-10-22T13:49:54","guid":{"rendered":"http:\/\/www.thelins.se\/johan\/blog\/?p=1052"},"modified":"2019-10-22T15:49:54","modified_gmt":"2019-10-22T13:49:54","slug":"nextcloud-on-pi-adventures","status":"publish","type":"post","link":"https:\/\/www.thelins.se\/johan\/blog\/2019\/10\/nextcloud-on-pi-adventures\/","title":{"rendered":"NextCloud on Pi Adventures"},"content":{"rendered":"\n<p>I spent yesterday *finally* setting up a NextCloud instance of my own. It&#8217;s been on my todo since I installed fiber at home and got a decent Internet connection.<\/p>\n\n\n\n<p>I started out with <a href=\"https:\/\/raspbian.org\/FrontPage\">Rasbian Lite<\/a> and combined it with the NextCloudPi install script from <a href=\"https:\/\/ownyourbits.com\/nextcloudpi\/\">ownyourbits<\/a>. I then used certbot to install certificates from <a href=\"https:\/\/letsencrypt.org\/\">let&#8217;s encrypt<\/a> before migrating the data directory using <a href=\"https:\/\/pimylifeup.com\/raspberry-pi-nextcloud-server\/\">these instructions<\/a>.<\/p>\n\n\n\n<p>After that it was happy account creation time, before realizing that I could not upload files larger than ~10kB. Very annoying.<\/p>\n\n\n\n<p>After having duckduck-ed and browser issues and articles for hours, I finally found that that the \/etc\/php\/7.3\/fpm\/php.ini file contained a reference to the data directory.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><code>sys_temp_dir = \/new\/path\/to\/data\/tmp<\/code><\/p><\/blockquote>\n\n\n\n<p>This one-liner cost me about four hours to find, so hopefully this post saves someone else that time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent yesterday *finally* setting up a NextCloud instance of my own. It&#8217;s been on my todo since I installed fiber at home and got a decent Internet connection. I started out with Rasbian Lite and combined it with the NextCloudPi install script from ownyourbits. I then used certbot to install certificates from let&#8217;s encrypt &hellip; <a href=\"https:\/\/www.thelins.se\/johan\/blog\/2019\/10\/nextcloud-on-pi-adventures\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">NextCloud on Pi Adventures<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,7],"tags":[],"class_list":["post-1052","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-raspberrypi"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/1052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/comments?post=1052"}],"version-history":[{"count":3,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/1052\/revisions"}],"predecessor-version":[{"id":1055,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/1052\/revisions\/1055"}],"wp:attachment":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/media?parent=1052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/categories?post=1052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/tags?post=1052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}