{"id":1264,"date":"2023-07-31T12:00:00","date_gmt":"2023-07-31T19:00:00","guid":{"rendered":"https:\/\/letsbuildroboticswithshadow8472.com\/?p=1264"},"modified":"2023-07-31T03:11:32","modified_gmt":"2023-07-31T10:11:32","slug":"nextcloud-soon","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/07\/31\/nextcloud-soon\/","title":{"rendered":"Nextcloud Soon?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472 and today I am pressing on towards my very own Nextcloud deployment beyond a proof of concept. Let\u2019s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preparing an Account<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Last week, I learned that Rootless Podman comes with certain challenges when trying to access a network drive. ButtonMash\u2019s Rocky 8 Linux hard drive is tiny, so I don\u2019t want to use it for storage. That leaves my retired laptop, \u201cRedLaptop\u201d for the job.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I use dedicated user accounts to isolate processes. The first order of business was to create a new account and log in through the Cockpit web interface. I had a bit of trouble when the underlying SSH couldn\u2019t connect because Debian doesn\u2019t like capital letters in its usernames, but the nonexistent, capital-containing username was flushed out while diagnosing user groups per advice on Discord. The account was additionally locked to prevent normal logins via password.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preparing Containers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019ve been developing a couple scripts for running Nextcloud on ButtonMash in a pod, so I copied them and the secrets directory (password storage) over to RedLaptop and tried them out. Errors galore! I downloaded the Nextcloud and MariaDB container images, but the older version of Podman (3.0.1 on Debian vs. 4.4.1 on Rocky 8) meant missing features \u2013 namely Podman secrets and mounting volumes on pod creation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The secrets were easy to revert. I just had to remove the &#8211;secret flags and reinstate the passwords in surrounded by quotation marks. Unlike best practices in later versions, volumes mounted nicely into their respective containers. I double checked one with<\/p>\n\n\n\n<pre class=\"wp-block-verse\">podman inspect &lt;container ID> | grep -i volume<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and found references to the correct volume.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">New Territory<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At long last, I made it to the Nextcloud installation screen where I need to make an admin account. From here on, all I know comes from the little scouting I did way back by using an SQLite database hosted offered from the Nextcloud container as opposed to a more capable one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I got an error about failing to connect to the database. I found a username with a capitalization error and I didn\u2019t actually have a named database created within MariaDB\u2019s container. But even with both of those fixed, I kept getting kicked back to Nextcloud\u2019s create-an-admin screen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And here my research for the week runs out of time. MariaDB\u2019s log shows two errors I suspect to be the root issue:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">&lt;timestamp> 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1<br>&lt;timestamp> 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaway<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I so want to be done with this project. That is all.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Question<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I am left without a solution for now. For all I know, it may be low RAM, which I\u2019m already maxed out on for my model of laptop \u2013 meaning I\u2019d need to start over again with something else. If anyone has any ideas, I\u2019d be happy to hear about them 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","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472 and today I am pressing on towards my very own Nextcloud deployment beyond a proof of concept. Let\u2019s get started! Preparing an Account Last week, I learned that Rootless Podman comes with certain challenges when trying to access a network drive. ButtonMash\u2019s Rocky 8 Linux hard &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2023\/07\/31\/nextcloud-soon\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Nextcloud Soon?&#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],"tags":[211,138],"class_list":["post-1264","post","type-post","status-publish","format-standard","hentry","category-linux","category-red-hat-server","tag-nextcloud","tag-podman"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1264","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=1264"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1264\/revisions"}],"predecessor-version":[{"id":1265,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/1264\/revisions\/1265"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=1264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=1264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}