{"id":1291,"date":"2023-10-02T12:00:00","date_gmt":"2023-10-02T19:00:00","guid":{"rendered":"https:\/\/letsbuildroboticswithshadow8472.com\/?p=1291"},"modified":"2023-10-02T03:43:09","modified_gmt":"2023-10-02T10:43:09","slug":"i-have-a-cloud","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/10\/02\/i-have-a-cloud\/","title":{"rendered":"I Have a Cloud!!!"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today I am celebrating my Project of the Year. I have Nextcloud installed! Let\u2019s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">My NextCloud Experience in Brief<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This week, I achieved a major milestone for my homelab \u2013 one I\u2019ve been poking since at least early March of this year when I noted, \u201cNextcloud has been a wish list item since I gave up using Google\u2019s ecosystem,\u201d [1].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As I learned more about the tech I\u2019m working with, I added specifications for storing scanned pictures on high capacity, but slow hard disks while making smaller files available with the speed of solid state \u2013 only to learn later how rootless Podman is incompatible with NFS. I studied \u201cDocker Secrets\u201d to learn best practices for password management \u2013 only to move the project to an older version of Podman without that feature. One innovation to survive this torrent of course corrections is running the containers in a pod, but even that was shifted around in the switch from Rocky 8 to Debian.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Two major trials kept me occupied for a lot of this time. The first involved getting the containers to talk to each other, which they weren\u2019t willing to do over localhost, but they were when given a mostly equivalent IPv4 loopback address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second was the apparent absence of a database despite multiple attempts to debug my startup script. Nextcloud was talking to MariaDB, but it was like MariaDB didn\u2019t have the database specified in the command to create its container. For this, I created an auxiliary MariaDB container in client mode (Thank-you-dev-team-for-this-feature!) and saw enough to make me think there was none. I wasn\u2019t sure though.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">One Final Piece<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>#remove MariaDB\u2019s \u201cdirty\u201d volume\npodman volume rm MariaDBVolume\n#reset everything\n.\/resetVolumes\n.\/servicestart<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">There was no huge push this week. I came across an issue on GitHub [2] wondering why there was no database being created. By starting a bash shell within the MariaDB container, I found there were some files from some long-forgotten attempt at starting a database. All I had to do was completely reset the Podman volume instead of pruning empty volumes as I had been doing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Future Nextcloud Work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that I have the scripts to produce fresh instances, I still have a few work items I want to keep in mind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I expect to wipe this one clean and create a proper admin account separate from my main username, a practice I want to better get into when setting up services.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Adjacent, but I\u2019ll want access on my tablet, which will entail getting the Bitwarden client to cooperate with my home server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I still want my data on GoldenOakLibry. I\u2019m hoping I can create a virtual disk or two to satisfy Podman which in turn RedLaptop can relay over NFS to network storage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Question<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Have you taken the time to set up your own personal cloud? I look forward to hearing about your setup in the comments below or on my <a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/discord-invite\/\" target=\"_blank\" rel=\"noreferrer noopener\">Socials<\/a>!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Works Cited<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">[1] Shadow_8472, \u201cI Studied Podman Volumes,\u201d<em>letsbuildroboticswithshadow8472.com<\/em>,March 6, 2023. [Online]. Available: <a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/03\/06\/i-studied-podman-volumes\/\">https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/03\/06\/i-studied-podman-volumes\/<\/a>. [Accessed Oct. 2, 2023].<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[2] rosshettel, thaJeztah, et. all, \u201cMYSQL_DATABASE does not create database,\u201d<em> github.com<\/em>, July 9, 2016. [Online].Available: <a href=\"https:\/\/github.com\/MariaDB\/mariadb-docker\/issues\/68\">https:\/\/github.com\/MariaDB\/mariadb-docker\/issues\/68<\/a>. [Accessed Oct. 2, 2023].<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today I am celebrating my Project of the Year. I have Nextcloud installed! Let\u2019s get started! My NextCloud Experience in Brief This week, I achieved a major milestone for my homelab \u2013 one I\u2019ve been poking since at least early March of this year when &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/10\/02\/i-have-a-cloud\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;I Have a Cloud!!!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2,90,195],"tags":[287,277,211,138],"class_list":["post-1291","post","type-post","status-publish","format-standard","hentry","category-linux","category-red-hat-server","category-server","tag-finally-working","tag-mariadb","tag-nextcloud","tag-podman"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=1291"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1291\/revisions"}],"predecessor-version":[{"id":1292,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1291\/revisions\/1292"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=1291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=1291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}