{"id":10923,"date":"2025-06-18T01:02:00","date_gmt":"2025-06-18T05:02:00","guid":{"rendered":"https:\/\/www.both.org\/?p=10923"},"modified":"2025-06-17T12:41:47","modified_gmt":"2025-06-17T16:41:47","slug":"nextcloud-is-a-snap","status":"publish","type":"post","link":"https:\/\/www.both.org\/?p=10923","title":{"rendered":"Nextcloud is a snap"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"\" data-post-id=\"10923\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                        <i class=\"fas fa-thumbs-up\"><\/i>\r\n                <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><\/div>\n<p>Recently I have been tasked with assisting a local medical office with finding a new way to store medical images securely. The office needed a robust replacement for an aging Windows computer that was soon to become obsolete. I considered several solutions, among them TrueNAS, OwnCloud, Nextcloud, and a Samba share. Nextcloud is <a href=\"https:\/\/nextcloud.com\/compliance\/\">HIPAA compliant<\/a>, which seemed to fit the bill, but deploying it became a concern. I downloaded a Nextcloud iso file from Turnkey Linux and built a server with VirtualBox. I considered a Docker implementation, and then I discovered what proved to be the easiest, which was a\u00a0snap\u00a0installation on Fedora KDE Plasma. <\/p>\n\n\n\n<p>First I had to install snap on Fedora KDE Plasma 42:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo dnf install snapd\n<\/code><\/pre>\n\n\n\n<p>Install the Nextcloud snap package:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo snap install nextcloud\n<\/code><\/pre>\n\n\n\n<p>Now that snap is installed I opened a browser and pointed. Logout and log back in to make sure log out and back in again, or restart your system, to ensure snap\u2019s paths are updated correctly. Once that is accomplished point your browser at http:\/\/localhost and login. Enter your own admin user and password and click on \u2018Install.\u2019<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1281\" height=\"946\" src=\"http:\/\/www.both.org\/wp-content\/uploads\/2025\/06\/NextcloudFirstLogin.png\" alt=\"\" class=\"wp-image-10924\" style=\"width:711px;height:auto\"\/><figcaption class=\"wp-element-caption\">Screen picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p>Once the installation was complete, the next display appeared, allowing me to accept the default applications.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"921\" height=\"589\" src=\"http:\/\/www.both.org\/wp-content\/uploads\/2025\/06\/RecommendedApps.png\" alt=\"\" class=\"wp-image-10925\" style=\"width:728px;height:auto\"\/><figcaption class=\"wp-element-caption\">Screen picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p>Once the recommended applications are downloaded and setup my new Nextcloud installation is ready to use.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"478\" src=\"http:\/\/www.both.org\/wp-content\/uploads\/2025\/06\/ReadyToStartUsing-1536x478-1.png\" alt=\"\" class=\"wp-image-10926\" style=\"width:749px;height:auto\"\/><figcaption class=\"wp-element-caption\">Screen picture by Don Watkins CC by SA 4.0<\/figcaption><\/figure>\n\n\n\n<p>The default installation is for \u2018localhost\u2019, which is fine for the local user, but I wanted to configure this Nextcloud installation for use by other computers on the local area network, which means changing the config.php file to the IP address of the local machine. I was familiar with that process from previous installs using the Turnkey Linux iso file, but how was that different with the snap installation?<\/p>\n\n\n\n<p>I did some research and fortunately for all of us there is a <a href=\"https:\/\/github.com\/nextcloud-snap\/nextcloud-snap\">Github repository<\/a> with all the answers. Open a terminal and enter the following command to change the hostname to the IP address or hostname where your Nextcloud installation will reside.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo nextcloud.occ config:system:set overwritehost --value=\"youripaddress\"<\/code><\/pre>\n\n\n\n<p>This snap installation of Nextcloud is open-source, licensed under the GPL v. 3.0 license. The project has excellent documentation. Ensure that port 80 and 443 if you configure for secure traffic, is open on your firewall to allow other devices on your network to access the Nextcloud application. This snappy Nextcloud includes Nextcloud 31, Apache 2.4. PHP 8.3, MySQL 8.0, and Redis 7.2. For more information, be sure to consult the project <a href=\"https:\/\/github.com\/nextcloud-snap\/nextcloud-snap\/wiki\">wiki<\/a>.<\/p>\n\n\n\n<p>My installation was on Fedora but the the snap installation is available for other distributions including Arch, Ubuntu, RHEL, Ubuntu, Debian, openSuse, Centos and more. Be sure to open the necessary ports on your firewall to ensure that others on your LAN have access to your Nextcloud server.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I have been tasked with assisting a local medical office with finding a new way to store<\/p>\n","protected":false},"author":32,"featured_media":10926,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-10923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"modified_by":"David Both","_links":{"self":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/10923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10923"}],"version-history":[{"count":5,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/10923\/revisions"}],"predecessor-version":[{"id":10946,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/posts\/10923\/revisions\/10946"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=\/wp\/v2\/media\/10926"}],"wp:attachment":[{"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.both.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}