{"id":366,"date":"2023-11-23T15:10:18","date_gmt":"2023-11-23T13:10:18","guid":{"rendered":"https:\/\/blog.viking-studios.net\/en\/?p=366"},"modified":"2023-11-23T15:10:23","modified_gmt":"2023-11-23T13:10:23","slug":"nextcloud-installation-on-a-synology-diskstation-with-dsm-7-2","status":"publish","type":"post","link":"https:\/\/blog.viking-studios.net\/en\/nextcloud-installation-on-a-synology-diskstation-with-dsm-7-2\/","title":{"rendered":"Nextcloud installation on a Synology DiskStation with DSM 7.2"},"content":{"rendered":"\n<p><strong>The 2nd major update for DSM 7 is here and in addition to some new functions, the WebStation has been revised. That&#8217;s why I have created these revised guide. The demand for Nextcloud is still high. Although Synology offers its own cloud solution, Synology Drive, it is nowhere near as comprehensive and flexible as Nextcloud. Be it calendar and contact synchronization or the apps and web interface, there are many reasons to use Nextcloud on a DiskStation. The article explains step by step how to install Nextcloud on a Synology NAS.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preperation<\/h2>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#d8ecf7;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:20px;margin-bottom:25px;margin-left:20px;}.kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap:hover{background:#d8ecf7;}.kt-info-box366_66ec3c-ec .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_66ec3c-ec .kt-info-svg-icon-flip, .kt-info-box366_66ec3c-ec .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_66ec3c-ec .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_66ec3c-ec .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;}.kt-info-box366_66ec3c-ec .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_66ec3c-ec .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_66ec3c-ec .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}@media all and (max-width: 767px){.kt-info-box366_66ec3c-ec .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_66ec3c-ec\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fas_info-circle kt-info-svg-icon\"><svg viewBox=\"0 0 512 512\"  fill=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><path d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Hint<\/h4><p class=\"kt-blocks-info-box-text\">Always type commands for the command line by yourself, do not copy them from the post. Double and single quotation marks are formatted differently in the text than in the command line. If you copy the characters, you adopt the wrong formatting, the characters are not recognized and the commands do not work.<br\/>Also create scripts directly via the command line (with vi). If you create scripts with an editor on your computer and upload them to your DiskStation, they may contain control characters that prevent execution.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Before we can start, check if you already have installed the <strong>Web Station<\/strong>, if not do so. You also need SSH access (to be found in the <em>Control Panel <\/em>under <em>Terminal &amp; SNMP<\/em>) on your NAS (e.g. with PuTTY).<br><strong>Important:<\/strong> If you are currently using Nginx as a web server, you have to switch to <strong>Apache HTTP Server 2.4<\/strong> in the Web Station under <em>Web Service<\/em> &gt; <em>Default Service &gt; Edit<\/em>. Nextcloud does not run under Nginx without configuring it beforehand. So far there is no working configuration for Synology in the community. You can <a href=\"https:\/\/blog.viking-studios.net\/en\/external-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6\/\" data-type=\"post\" data-id=\"151\">set up a vhost<\/a> for Nextcloud that uses Apache, then you can switch the rest of your DS back to Nginx.<\/p>\n\n\n\n<p>You have to install following packages from the Package Center:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP 8.2 or higher<\/li>\n\n\n\n<li>phpMyAdmin (only needed in case of installation issues)<\/li>\n\n\n\n<li>Apache (2.4)<\/li>\n\n\n\n<li>MariaDB 10<\/li>\n<\/ul>\n\n\n\n<p>Open <strong>MariaDB 10 <\/strong>and tick &#8220;activate TCP\/IP connection&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Shared Folder<\/h2>\n\n\n\n<p>Creates a new shared folder to store the data. Nextcloud saves the data by default in the <code>data <\/code>folder under <code>\/web\/Nextcloud<\/code>. For security reasons, Nextcloud recommends creating the storage location outside of the <code>\/web <\/code>folder. This also makes it easier to upgrade from Nextcloud at a later date. Nobody else should have access to the shared folder and even as an administrator you should only make changes there if they affect your Nextcloud installation. You should then make these changes via PuTTY as <strong>root<\/strong>, otherwise the ownership will change and Nextcloud can no longer access the folder\/files. Create the shared folder via <em>DSM<\/em> &gt; <em>Control Panel<\/em> &gt; <em>Shared Folder<\/em>, if you create the folder via PuTTY, DSM does not recognize it and you cannot save it e.g. via Hyper Backup.<\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#d9edc2;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap:hover{background:#d9edc2;}.kt-info-box366_6f0206-06 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_6f0206-06 .kt-info-svg-icon-flip, .kt-info-box366_6f0206-06 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_6f0206-06 .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_6f0206-06 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;}.kt-info-box366_6f0206-06 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_6f0206-06 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_6f0206-06 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;}}@media all and (max-width: 767px){.kt-info-box366_6f0206-06 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_6f0206-06\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_checkCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"\/><polyline points=\"22 4 12 14.01 9 11.01\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Using the folder \/data within the DiskStation<\/h4><p class=\"kt-blocks-info-box-text\">In general, only Nextcloud should manipulate data in the data folder. If you added or changed files via the DS or not via the cloud, Nextcloud wouldn&#8217;t notice. If you want to edit your files or a specific folder outside of Nextcloud, you have to insert it as<a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-combine-your-nextcloud-and-photo-station-running-on-a-synology-diskstation-dsm-6\/\" data-type=\"post\" data-id=\"143\"> external storage<\/a>.<\/p><\/div><\/div><\/div>\n\n\n\n<p>So that PHP can also access the shared folder, the path must be entered in <em>open_basedir<\/em>. Details can be found in the section &#8220;<a href=\"#php_profile\" data-type=\"internal\" data-id=\"#php_profile\">PHP Profile<\/a>&#8220;.<\/p>\n\n\n\n<p>Open PuTTY and connect to your DS. Log in as an administrator. To execute the commands as root enter <code>sudo \u2013i <\/code>and press (Enter). Enter your administrator password again. Enter the following two commands so that Nextcloud or the user of the web server can also access it:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">chown http:http \/volume1\/nextcloudData\nchmod -R 777 \/volume1\/nextcloudData<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"php_profile\">PHP profile<\/h3>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#d8ecf7;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap:hover{background:#d8ecf7;}.kt-info-box366_123a6f-d4 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_123a6f-d4 .kt-info-svg-icon-flip, .kt-info-box366_123a6f-d4 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_123a6f-d4 .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_123a6f-d4 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;}.kt-info-box366_123a6f-d4 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_123a6f-d4 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_123a6f-d4 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}@media all and (max-width: 767px){.kt-info-box366_123a6f-d4 .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_123a6f-d4\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fas_info-circle kt-info-svg-icon\"><svg viewBox=\"0 0 512 512\"  fill=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><path d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Virtual Host<\/h4><p class=\"kt-blocks-info-box-text\">I recommend using a virtual host for your cloud. Nextcloud can thus be better secured, causes fewer problems afterwards and you can then use an individual PHP profile. Without a virtual host, all websites and applications use the same web server and the same PHP profile, which can lead to configuration conflicts. More on this below.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Open the <strong>Web Station<\/strong> and create a new profile under <em>Script Language Settings<\/em>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter a name and a description.<\/li>\n\n\n\n<li>Select <strong>PHP 8.2<\/strong> (or higher).<\/li>\n\n\n\n<li>Tick &#8220;Enable PHP cache&#8221;.<\/li>\n\n\n\n<li>Tick &#8220;Customized&#8221; under &#8220;Customize PHP open_basedir&#8221; and enter <code>\/tmp:\/var\/services\/tmp:\/var\/services\/web<\/code><code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">.<\/code> Now add the path  to the shared folder created above (don&#8217;t forget the : ). It could look like following line: <code>\/tmp:\/var\/services\/tmp:\/var\/services\/web:\/volume1\/nextcloudData<\/code><\/li>\n\n\n\n<li>Activate following PHP extensions:  <em>bcmath,<\/em> <em>bz2, curl, exif, ftp, gd, gmp, iconv, imagick, intl, mysqli, openssl, pdo_mysql, posix, sodium, ssh2, sysvsem, zip<\/em>,<em> zlib<\/em><\/li>\n\n\n\n<li>You can leave the FPM settings as they are. In the next step, the PHP variables can be adjusted. First look for <strong>memory_limit<\/strong> and enter the RAM that you want to make available to Nextcloud. At least 2GB is currently required. Depending on the available RAM on your NAS, you can of course allocate more. The allocated storage is not automatically occupied, you only set the limit that Nextcloud can use. Then look for the variables <strong>post_max_size<\/strong> and <strong>upload_max_filesize<\/strong> and enter a high value there (e.g.: 16G). This is not about RAM, but rather the size of the file that you can upload at once. Google will tell you the difference between the two variables, but in most cases the same value for both variables is sufficient. The web interface is rarely used to upload large amounts of data anyway.<\/li>\n\n\n\n<li>Close the dialog.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"897\" height=\"557\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-1.png\" alt=\"more RAM and bigger upload sizes for Nextcloud\" class=\"wp-image-370\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-1.png 897w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-1-300x186.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-1-150x93.png 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-1-768x477.png 768w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/a><figcaption class=\"wp-element-caption\">more RAM and bigger upload sizes for Nextcloud<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">Installation<\/h2>\n\n\n\n<p>Download the latest version of Nextcloud as a .zip or .tar <a href=\"https:\/\/nextcloud.com\/install\/#instructions-server\" data-type=\"URL\" data-id=\"https:\/\/nextcloud.com\/install\/#instructions-server\">here<\/a> (under <em>Community Projects &gt; Archive &gt; Get ZIP file<\/em>). Upload the zip file to your DiskStation and extract it into the <code>\/web<\/code> folder.<\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#d9edc2;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap:hover{background:#d9edc2;}.kt-info-box366_c2cf5e-42 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_c2cf5e-42 .kt-info-svg-icon-flip, .kt-info-box366_c2cf5e-42 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;}.kt-info-box366_c2cf5e-42 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_c2cf5e-42 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;}}@media all and (max-width: 767px){.kt-info-box366_c2cf5e-42 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_c2cf5e-42\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_checkCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"\/><polyline points=\"22 4 12 14.01 9 11.01\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Tipp<\/h4><p class=\"kt-blocks-info-box-text\">To increase security, you can rename the Nextcloud folder. This prevents it from being found by crawlers searching web roots for standard names.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Now would be the right time to create the virtual host. You can also create the vHost after the installation.<br>To do this, select <em>Web Service <\/em>in the Web Station and create a new entry. Select &#8220;Native script language website&#8221; and select the PHP version and the recently created PHP profile. In the following step, the values below have to be provided:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost1_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"555\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost1_en.png\" alt=\"select PHP package and profile\" class=\"wp-image-371\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost1_en.png 710w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost1_en-300x235.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost1_en-150x117.png 150w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/a><figcaption class=\"wp-element-caption\">select PHP package and profile<\/figcaption><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Assign any name (only lowercase letters, numbers, &#8211; and _ ) and a description.<\/li>\n\n\n\n<li>Select the Nextcloud folder (<code>\/web\/nextcloud<\/code>) as the document root.<\/li>\n\n\n\n<li>Choose <strong>Apache 2.4<\/strong> as the HTTP backend server.<\/li>\n\n\n\n<li>Increases all three timeouts to at least 600, preferably 3600. (Yes, the values actually do something now, no more hacks in config files)<\/li>\n\n\n\n<li>Selects the ports for which the virtual host applies (typically <strong>80\/443<\/strong>).<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost2_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"559\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost2_en.png\" alt=\"configure document root, web server and timeout\" class=\"wp-image-372\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost2_en.png 717w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost2_en-300x234.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost2_en-150x117.png 150w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><figcaption class=\"wp-element-caption\">configure document root, web server and timeout<\/figcaption><\/figure><\/div>\n\n\n<p>Complete the dialogue. If you can&#8217;t use a vHost, you have to edit the default service and change the HTTP backend server from Nginx to Apache 2.4 and select the PHP profile you created previously.<br>Switch to the area <em>Web Portal<\/em>. Here too, create a new entry with the following information:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select \u201cWeb services portal\u201d.<\/li>\n\n\n\n<li>As a service, select the entry previously created under <em>Web Service<\/em>.<\/li>\n\n\n\n<li>Enter the host name under which you want to access your Nextcloud. (The hostname must exist and point to your DiskStation, more on that in <a href=\"https:\/\/blog.viking-studios.net\/en\/external-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6\/\" data-type=\"post\" data-id=\"151\">this article<\/a>.)<\/li>\n\n\n\n<li>Be sure to activate \u201cHSTS\u201d, which ensures that all <strong>http <\/strong>requests to your cloud is redirected to <strong>https<\/strong>. However, this requires a valid SSL certificate that was issued for the domain used. You can also find instructions for this in the previously linked article.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost3_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"496\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost3_en.png\" alt=\"finally select domain and ports\" class=\"wp-image-373\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost3_en.png 612w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost3_en-300x243.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_inst_vhost3_en-150x122.png 150w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><figcaption class=\"wp-element-caption\">finally select domain and ports<\/figcaption><\/figure><\/div>\n\n\n<p>Change the privileges of the Nextcloud folder. Enter following commands on the command line:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/bin\/bash\nchown -R http:http \/volume1\/web\/Nextcloud\/\nchmod -R 777 \/volume1\/web\/Nextcloud\/<\/pre>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#d8ecf7;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap:hover{background:#d8ecf7;}.kt-info-box366_328c43-77 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_328c43-77 .kt-info-svg-icon-flip, .kt-info-box366_328c43-77 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_328c43-77 .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_328c43-77 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;}.kt-info-box366_328c43-77 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_328c43-77 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_328c43-77 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}@media all and (max-width: 767px){.kt-info-box366_328c43-77 .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_328c43-77\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fas_info-circle kt-info-svg-icon\"><svg viewBox=\"0 0 512 512\"  fill=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><path d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Hint<\/h4><p class=\"kt-blocks-info-box-text\">The privileges are only intended for installation, for safe operation the access rights should be kept as strict as possible. Read <a href=\"#runtime-permissions\" data-type=\"internal\" data-id=\"#runtime-permissions\">here <\/a>how to adjust the privileges after the installation.<\/p><\/div><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Execute the installation assistant<\/h3>\n\n\n\n<p>Open Nextcloud in the browser. Make sure to use the address you have given for the virtual host (e.g. cloud.mydomain.com), if you have not configured a virtual host, use the IP, the name of the DiskStation or a domain that points to the DiskStation, followed by the Nextcloud- Directory (e.g. mynas.synology.me\/Nextcloud) The address you use here is entered as a <strong>trusted domain <\/strong>during the installation. If you want to allow Nextcloud from other domains you have to enter this later in the config.php. This is the case if, for example, you want to access the cloud later via your own domain or DynDNS, but use the local name or the local IP of the DiskStation during installation.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_install.png\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"1024\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_install-550x1024.png\" alt=\"Nextcloud installation assistant\" class=\"wp-image-374\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_install-550x1024.png 550w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_install-161x300.png 161w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_install-81x150.png 81w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_install.png 686w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><figcaption class=\"wp-element-caption\">Nextcloud installation assistant<\/figcaption><\/figure><\/div>\n\n\n<p>Enter a username and password for the Nextcloud admin (the NC admin has nothing to do with the DiskStation admin). Under <em>Storage &amp; Database &gt; Data Directory<\/em>, \/volumeX\/web\/nextcloud\/data is entered by default, enter the path to the shared folder that you created earlier.<\/p>\n\n\n\n<p>In the last section, enter the root (or other user who is allowed to create users and databases) and password. The assistant creates your own user and password for NC operation; the data specified here is not saved. Entrer a database name. &#8220;localhost&#8221; is pre-entered for the database domain, you still have to add the port, MariaDB has 3306 by default. You can change the port in MariaDB 10.<\/p>\n\n\n\n<p>Click the \u201cInstall\u201d button to complete the setup. Now sit back and wait for the installation to complete.<br>You still have the option to install the recommended apps. Skip this step and install the required apps by hand. Not all apps can run on every DiskStation and with Office and Talk some very large apps are installed that you may not need or won&#8217;t be able to use.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"688\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_4.png\" alt=\"\" class=\"wp-image-214\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_4.png 933w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_4-300x221.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_4-150x111.png 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_4-768x566.png 768w\" sizes=\"auto, (max-width: 933px) 100vw, 933px\" \/><\/a><figcaption class=\"wp-element-caption\">Welcome tour of the web interface<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Activate OnlyOffice<\/h2>\n\n\n\n<p>Coming soon<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Nextcloud optimization<\/h2>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap{border-top:2px solid #e79696;border-right:2px solid #e79696;border-bottom:2px solid #e79696;border-left:2px solid #e79696;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#ffd8d8;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:82px;}.kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap:hover{background:#ffd8d8;}.kt-info-box366_a8d69c-76 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_a8d69c-76 .kt-info-svg-icon-flip, .kt-info-box366_a8d69c-76 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_a8d69c-76 .kt-blocks-info-box-media{color:#444444;background:#ffd8d8;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_a8d69c-76 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#ffd8d8;border-color:#eeeeee;}.kt-info-box366_a8d69c-76 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_a8d69c-76 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_a8d69c-76 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap{border-top:2px solid #e79696;border-right:2px solid #e79696;border-bottom:2px solid #e79696;border-left:2px solid #e79696;}}@media all and (max-width: 767px){.kt-info-box366_a8d69c-76 .kt-blocks-info-box-link-wrap{border-top:2px solid #e79696;border-right:2px solid #e79696;border-bottom:2px solid #e79696;border-left:2px solid #e79696;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_a8d69c-76\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_xCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"15\" y1=\"9\" x2=\"9\" y2=\"15\"\/><line x1=\"9\" y1=\"9\" x2=\"15\" y2=\"15\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Important<\/h4><p class=\"kt-blocks-info-box-text\">Nextcloud is not yet fully functional ()for actual usage). Some of the following steps are necessary for error-free operation and for a functioning cloud update and of course for a secure use.<\/p><\/div><\/div><\/div>\n\n\n\n<p>After installation, some adjustments to the settings are necessary. Some of them are even suggested to you by your Nextcloud. You can find these error and advisory messages in the menu under <em>Administrator Settings &gt; Overview &gt; Security and Configuration Warnings<\/em>. Since the DiskStation does not always behave like a normal Linux server, it is important to find out where the configuration changes can be made effectively and what additional steps are required.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"579\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_7-1024x579.png\" alt=\"\" class=\"wp-image-222\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_7-1024x579.png 1024w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_7-300x170.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_7-150x85.png 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_7-768x434.png 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud18_install_7.png 1300w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Warnings and hints at the admin area<\/figcaption><\/figure><\/div>\n\n\n<p>In the admin area under Overview you will most likely see some errors. You will find out how your Nextcloud is optimized and configured for actual use next time.<\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#fef5c4;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap:hover{background:#fef5c4;}.kt-info-box366_59a8ec-64 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_59a8ec-64 .kt-info-svg-icon-flip, .kt-info-box366_59a8ec-64 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_59a8ec-64 .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_59a8ec-64 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}.kt-info-box366_59a8ec-64 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_59a8ec-64 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_59a8ec-64 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}@media all and (max-width: 767px){.kt-info-box366_59a8ec-64 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_59a8ec-64\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_alertCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"\/><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Beware the path<\/h4><p class=\"kt-blocks-info-box-text\">Make sure to adjust any path information if your \/web directory is on a different volume than specified here or if the installation directory is not called &#8220;Nextcloud&#8221;.<\/p><\/div><\/div><\/div>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#fef5c4;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap:hover{background:#fef5c4;}.kt-info-box366_090f2f-3b .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_090f2f-3b .kt-info-svg-icon-flip, .kt-info-box366_090f2f-3b .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_090f2f-3b .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_090f2f-3b .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}.kt-info-box366_090f2f-3b .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_090f2f-3b .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_090f2f-3b .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}@media all and (max-width: 767px){.kt-info-box366_090f2f-3b .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_090f2f-3b\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_alertCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"\/><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Attention<\/h4><p class=\"kt-blocks-info-box-text\">Always make changes to the files mentioned here via the command line as root (sudo -i) and never via the DiskStation&#8217;s text editor. In contrast to the command line, the text editor changes the owner and the permissions.<\/p><\/div><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Activate PHP memory cache<\/h3>\n\n\n\n<p>The memory cache improves the performance of your cloud. If you followed my installation instructions, you have already activated it and just need to enter it in the Nextcloud configuration. If you haven&#8217;t activated the cache, you can do so by checking &#8220;Activate PHP cache&#8221; in your PHP profile.<\/p>\n\n\n\n<p>To enter the cache in the Nextcloud configuration, open the file <code>\/web\/Nextcloud\/Config\/config.php<\/code> with PuTTy and add the following line at the end of the file (before the closing bracket):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">'memcache.local' => '\\OC\\Memcache\\APCu',<\/pre>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#fef5c4;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap:hover{background:#fef5c4;}.kt-info-box366_d86167-a6 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_d86167-a6 .kt-info-svg-icon-flip, .kt-info-box366_d86167-a6 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_d86167-a6 .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_d86167-a6 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}.kt-info-box366_d86167-a6 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_d86167-a6 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_d86167-a6 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}@media all and (max-width: 767px){.kt-info-box366_d86167-a6 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_d86167-a6\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_alertCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"\/><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Attention<\/h4><p class=\"kt-blocks-info-box-text\">Type input by hand rather than copying it from websites. If you insert single or double quotation marks into the text editor on the command line, it may happen that these characters are not encoded correctly and are not recognized as such. The configuration will then not be loaded.<br\/><br\/>It can also happen that I make a mistake. The mean thing is that if you make a mistake in the cache config, there is no error message. Nextcloud runs fine, just without cache.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Save and close the file.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Activate Redis<\/h4>\n\n\n\n<p>Redis improves file locking and can be used as a distributed cache. To use Redis, you need to install the &#8220;Redis&#8221; package on your DiskStation. You can find it in the community repository.<\/p>\n\n\n\n<p>Unfortunately, it doesn&#8217;t work without a workaround under DSM 7.2 either. You now have the Redis server, but you also need the Redis client as a PHP module. Redis is delivered with the Synology PHP packages, but you cannot activate Redis in the WebStation. You have to do this via the command line.<\/p>\n\n\n\n<p>Die erste \u00c4nderung gilt f\u00fcr Redis im Webserver, ohne diese \u00c4nderung erhaltet ihr einen &#8220;Internal Server Error&#8221;. \u00d6ffnet die Datei <code>\/volume1\/@appstore\/PHP8.2\/misc\/php-fpm.ini<\/code> und f\u00fcgt dort ganz am Ende folgende Zeilen hinzu:<\/p>\n\n\n\n<p>The first change applies to Redis in the web server, without this change you will get an \u201cInternal Server Error\u201d. Open the file <code>\/volume1\/@appstore\/PHP8.2\/misc\/php-fpm.ini<\/code> (or whatever PHP version you use) and add the following lines at the very end:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[Redis]\nextension = redis.so<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Activate the cache on the command line<\/h4>\n\n\n\n<p>You have to do something similar in the configuration for the CLI version of PHP, otherwise the cron won&#8217;t run.<\/p>\n\n\n\n<p>You have already activated the PHP cache, but this only applies on the server side, i.e. when PHP is called by the web server. So that you can call up the cloud&#8217;s background tasks via Cron (see below) and execute Nextcloud&#8217;s command line commands (occ commands, which are required for updating the cloud), you must also activate the cache on the command line. Like so many things, this doesn&#8217;t work on the DiskStation like it does on a normal Linux server, or rather not where you might expect.<\/p>\n\n\n\n<p>Create the file<code> \/usr\/local\/etc\/php82\/cli\/conf.d\/user_settings.ini<\/code> via the command line (e.g. with PuTTY) and insert the following content there:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">extension = apcu.so\nextension = redis.so\n\n[apc]\napc.shm_size = 512M\napc.enable_cli = 1<\/pre>\n\n\n\n<p>Save and close the file. Now you have to adjust the permissions:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">chmod -R 644 \/usr\/local\/etc\/php82\/cli\/conf.d\/user_settings.ini<\/pre>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#d9edc2;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap:hover{background:#d9edc2;}.kt-info-box366_12a0d1-d5 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_12a0d1-d5 .kt-info-svg-icon-flip, .kt-info-box366_12a0d1-d5 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;}.kt-info-box366_12a0d1-d5 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_12a0d1-d5 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;}}@media all and (max-width: 767px){.kt-info-box366_12a0d1-d5 .kt-blocks-info-box-link-wrap{border-top:2px solid #b2ce96;border-right:2px solid #b2ce96;border-bottom:2px solid #b2ce96;border-left:2px solid #b2ce96;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_12a0d1-d5\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_checkCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"\/><polyline points=\"22 4 12 14.01 9 11.01\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Thank you, Guido<\/h4><p class=\"kt-blocks-info-box-text\">My solution just lasted until reboot. Thanks Guido for an alternative and longer lasting solution. The CLI config also survives a DSM update, the php-fpm.ini may not. An update of the corresponding PHP package could also overwrite the changes.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Open the file <code>\/web\/Nextcloud\/Config\/config.php<\/code> in PuTTY and enter the following lines (preferably below <code>'memcache.local' \u2026<\/code>):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">'memcache.distributed' => '\\OC\\Memcache\\Redis',\n'memcache.locking' => '\\OC\\Memcache\\Redis',\n'redis' =>\narray (\n    \u2018host\u2019 => \u2018localhost\u2019,\n    'port' => '6379',\n    \u2018timeout\u2019 => 0.0,\n    \u2018password\u2019 => \u201d,\n    \u2018dbindex\u2019 => 0,\n),<\/pre>\n\n\n\n<p>Save and close the file. Now you have to restart the web server, which is a bit complicated. You can restart the DiskStation or set up a start and a stop task for Apache using the task scheduler. The last alternative is to change the PHP version in a vHost, which will also restart Apache.<\/p>\n\n\n<style>.kb-row-layout-id366_c99160-6f > .kt-row-column-wrap{align-content:start;}:where(.kb-row-layout-id366_c99160-6f > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}.kb-row-layout-id366_c99160-6f > .kt-row-column-wrap{column-gap:var(--global-kb-gap-md, 2rem);row-gap:var(--global-kb-gap-md, 2rem);padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);grid-template-columns:repeat(2, minmax(0, 1fr));}.kb-row-layout-id366_c99160-6f > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){.kb-row-layout-id366_c99160-6f > .kt-row-column-wrap{grid-template-columns:repeat(2, minmax(0, 1fr));}}@media all and (max-width: 767px){.kb-row-layout-id366_c99160-6f > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}<\/style><div class=\"kb-row-layout-wrap kb-row-layout-id366_c99160-6f alignnone wp-block-kadence-rowlayout\"><div class=\"kt-row-column-wrap kt-has-2-columns kt-row-layout-equal kt-tab-layout-inherit kt-mobile-layout-row kt-row-valign-top\">\n<style>.kadence-column366_594974-17 > .kt-inside-inner-col,.kadence-column366_594974-17 > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column366_594974-17 > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column366_594974-17 > .kt-inside-inner-col{flex-direction:column;}.kadence-column366_594974-17 > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column366_594974-17 > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column366_594974-17{position:relative;}@media all and (max-width: 1024px){.kadence-column366_594974-17 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column366_594974-17 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column366_594974-17\"><div class=\"kt-inside-inner-col\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"670\" height=\"508\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-1.png\" alt=\"Redis package found in the community package source\" class=\"wp-image-375\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-1.png 670w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-1-300x227.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-1-150x114.png 150w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/a><figcaption class=\"wp-element-caption\">Redis package found in the community package source<\/figcaption><\/figure><\/div><\/div><\/div>\n\n\n<style>.kadence-column366_33af56-8b > .kt-inside-inner-col,.kadence-column366_33af56-8b > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column366_33af56-8b > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column366_33af56-8b > .kt-inside-inner-col{flex-direction:column;}.kadence-column366_33af56-8b > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column366_33af56-8b > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column366_33af56-8b{position:relative;}@media all and (max-width: 1024px){.kadence-column366_33af56-8b > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column366_33af56-8b > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column366_33af56-8b\"><div class=\"kt-inside-inner-col\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_redis2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"418\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_redis2.png\" alt=\"configure Redis\" class=\"wp-image-288\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_redis2.png 661w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_redis2-300x190.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_redis2-150x95.png 150w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/a><figcaption class=\"wp-element-caption\">Add Redis in the Nextcloud config<\/figcaption><\/figure><\/div><\/div><\/div>\n\n<\/div><\/div>\n\n\n<h3 class=\"wp-block-heading\">Background jobs via Cron<\/h3>\n\n\n\n<p>Nextcloud handles many tasks via background processes, but these also have to be executed. By default, this happens when a page loads, i.e. when someone opens the web interface. But if no one does this, the background processes will not be executed. It is better to have your DiskStation run this regularly. For this we use the <strong>Task Scheduler<\/strong>. Open the <em>Control Panel<\/em> in DSM and there, the <em>Task Scheduler<\/em>. Creates a new task (<em>Create &gt; Scheduled Task &gt; User-defined Script<\/em>).<\/p>\n\n\n<style>.kb-row-layout-id366_e46aa0-18 > .kt-row-column-wrap{align-content:start;}:where(.kb-row-layout-id366_e46aa0-18 > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}.kb-row-layout-id366_e46aa0-18 > .kt-row-column-wrap{column-gap:var(--global-kb-gap-md, 2rem);row-gap:var(--global-kb-gap-md, 2rem);padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);grid-template-columns:repeat(2, minmax(0, 1fr));}.kb-row-layout-id366_e46aa0-18 > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){.kb-row-layout-id366_e46aa0-18 > .kt-row-column-wrap{grid-template-columns:repeat(2, minmax(0, 1fr));}}@media all and (max-width: 767px){.kb-row-layout-id366_e46aa0-18 > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}<\/style><div class=\"kb-row-layout-wrap kb-row-layout-id366_e46aa0-18 alignnone wp-block-kadence-rowlayout\"><div class=\"kt-row-column-wrap kt-has-2-columns kt-row-layout-equal kt-tab-layout-inherit kt-mobile-layout-row kt-row-valign-top\">\n<style>.kadence-column366_c0b6bb-48 > .kt-inside-inner-col,.kadence-column366_c0b6bb-48 > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column366_c0b6bb-48 > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column366_c0b6bb-48 > .kt-inside-inner-col{flex-direction:column;}.kadence-column366_c0b6bb-48 > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column366_c0b6bb-48 > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column366_c0b6bb-48{position:relative;}@media all and (max-width: 1024px){.kadence-column366_c0b6bb-48 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column366_c0b6bb-48 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column366_c0b6bb-48 inner-column-1\"><div class=\"kt-inside-inner-col\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"273\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task_en.png\" alt=\"script task scheduler\" class=\"wp-image-284\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task_en.png 690w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task_en-300x119.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task_en-150x59.png 150w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><figcaption class=\"wp-element-caption\">The task scheduler can execute Sehll commands and scripts.<\/figcaption><\/figure><\/div><\/div><\/div>\n\n\n<style>.kadence-column366_7d16e1-10 > .kt-inside-inner-col,.kadence-column366_7d16e1-10 > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column366_7d16e1-10 > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column366_7d16e1-10 > .kt-inside-inner-col{flex-direction:column;}.kadence-column366_7d16e1-10 > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column366_7d16e1-10 > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column366_7d16e1-10{position:relative;}@media all and (max-width: 1024px){.kadence-column366_7d16e1-10 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column366_7d16e1-10 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column366_7d16e1-10\"><div class=\"kt-inside-inner-col\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"544\" height=\"600\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en-1.png\" alt=\"call the cron.php\" class=\"wp-image-376\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en-1.png 544w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en-1-272x300.png 272w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en-1-136x150.png 136w\" sizes=\"auto, (max-width: 544px) 100vw, 544px\" \/><\/a><figcaption class=\"wp-element-caption\">call the cron.php<\/figcaption><\/figure><\/div><\/div><\/div>\n\n<\/div><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Enter a name.<\/li>\n\n\n\n<li>Leave the user <strong>root<\/strong>.<\/li>\n\n\n\n<li>Under Schedule you specify that the task should be carried out every <strong>5 minutes<\/strong> and that <strong>every day<\/strong>.<\/li>\n\n\n\n<li>It is helpful to be notified by email (\u201cSend execution details by email\u201d) if the task could not be executed correctly (\u201cSend run details when script exits abnormally\u201d).<\/li>\n\n\n\n<li>Under \u201cUser-defined script\u201d enter the following line:<\/li>\n<\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo -u http php82 \/var\/services\/web\/nextcloud\/cron.php<\/pre>\n\n\n\n<p>Confirmr the new task by clicking <em>OK<\/em>.<\/p>\n\n\n\n<p>Now open <em>Settings &gt; Basic Settings &gt; Background Tasks<\/em> in the Nextcloud web interface and activate the Cron option. Now wait a little more than 5 minutes and reload the page. The dot next to the heading must be green and the last execution must be less than 5 minutes ago.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"310\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en-1024x310.png\" alt=\"Nextcloud Cron\" class=\"wp-image-281\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en-1024x310.png 1024w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en-300x91.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en-150x45.png 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en-768x232.png 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en.png 1091w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Successfully executed background tasks<\/figcaption><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Activate HSTS\/https redirect<\/h3>\n\n\n\n<p>If you used my instructions for the installation and followed my recommendation to set up your own virtual host for Nextcloud, you should not receive this message at all. If so, check whether you have <strong>HSTS <\/strong>activated. If you have not created a virtual host, you can create one now (see above).<\/p>\n\n\n\n<p>If you don&#8217;t want to or can&#8217;t use a virtual host, you can also activate HSTS globally on your web server. In PuTTY as root, create the file <code>\/etc\/nginx\/conf.d\/http.hsts.conf<\/code> and insert the following line:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"nginx\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">add_header Strict-Transport-Security \"max-age=15768000; includeSubDomains; preload;\";<\/pre>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#fef5c4;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap:hover{background:#fef5c4;}.kt-info-box366_77f55b-62 .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_77f55b-62 .kt-info-svg-icon-flip, .kt-info-box366_77f55b-62 .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_77f55b-62 .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_77f55b-62 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}.kt-info-box366_77f55b-62 .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_77f55b-62 .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_77f55b-62 .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}@media all and (max-width: 767px){.kt-info-box366_77f55b-62 .kt-blocks-info-box-link-wrap{border-top:2px solid #fadf98;border-right:2px solid #fadf98;border-bottom:2px solid #fadf98;border-left:2px solid #fadf98;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_77f55b-62\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fe_alertCircle kt-info-svg-icon\"><svg viewBox=\"0 0 24 24\"  fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"\/><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Attention<\/h4><p class=\"kt-blocks-info-box-text\">Always create new files via the command line. Never create these on your computer and then upload them. The encoding of the text file is usually incorrect and the script cannot be executed or the configuration cannot be read.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Save and close the file and restart Nginx afterwards (<code>synosystemctl -restart nginx<\/code>).<\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > .kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap{max-width:unset;}.kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background:#d8ecf7;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:30px;margin-bottom:25px;margin-left:67px;}.kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap:hover{background:#d8ecf7;}.kt-info-box366_49f6a0-1c .kadence-info-box-icon-container .kt-info-svg-icon, .kt-info-box366_49f6a0-1c .kt-info-svg-icon-flip, .kt-info-box366_49f6a0-1c .kt-blocks-info-box-number{font-size:50px;}.kt-info-box366_49f6a0-1c .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;border-radius:200px;overflow:hidden;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;margin-top:0px;margin-right:20px;margin-bottom:0px;margin-left:0px;}.kt-info-box366_49f6a0-1c .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}.kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;}.kt-info-box366_49f6a0-1c .kt-infobox-textcontent h4.kt-blocks-info-box-title{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:5px;margin-left:0px;}.kt-info-box366_49f6a0-1c .kt-infobox-textcontent .kt-blocks-info-box-text{color:#555555;}.kt-info-box366_49f6a0-1c .kt-blocks-info-box-learnmore{background:transparent;border-color:#555555;border-width:0px 0px 0px 0px;padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px;margin-top:10px;margin-right:0px;margin-bottom:10px;margin-left:0px;}.kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-learnmore,.kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap .kt-blocks-info-box-learnmore:focus{color:#ffffff;background:#444444;border-color:#444444;}@media all and (max-width: 1024px){.kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}@media all and (max-width: 767px){.kt-info-box366_49f6a0-1c .kt-blocks-info-box-link-wrap{border-top:2px solid #afcde3;border-right:2px solid #afcde3;border-bottom:2px solid #afcde3;border-left:2px solid #afcde3;}}<\/style>\n<div class=\"wp-block-kadence-infobox kt-info-box366_49f6a0-1c\"><div class=\"kt-blocks-info-box-link-wrap kt-blocks-info-box-media-align-left kt-info-halign-left\"><div class=\"kt-blocks-info-box-media-container\"><div class=\"kt-blocks-info-box-media kt-info-media-animate-none\"><div class=\"kadence-info-box-icon-container kt-info-icon-animate-none\"><div class=\"kadence-info-box-icon-inner-container\"><span class=\"kb-svg-icon-wrap kb-svg-icon-fas_info-circle kt-info-svg-icon\"><svg viewBox=\"0 0 512 512\"  fill=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"  aria-hidden=\"true\"><path d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"\/><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Proxy<\/h4><p class=\"kt-blocks-info-box-text\">Why configure Nginx when Nextcloud runs on Apache? Nginx is used as a proxy on Synology NAS devices. Even if you use Apache as a web server, all requests will always go through Nginx, so activating HSTS is sufficient here.<\/p><\/div><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Extend open basedir<\/h3>\n\n\n\n<p>Open the PHP profile for Nextcloud and under &#8220;Customize PHP open_basedir&#8221; add the paths <code>\/dev\/urandom, \/proc\/meminfo, \/proc\/cpuinfo, \/proc\/uptime<\/code> and <code>\/sys\/class\/net\/eth0<\/code> (forget the colon to separate individual paths).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Standard phone region<\/h3>\n\n\n\n<p>Simply open your Nextcloud config and add the following entry in the curly brackets:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">'default_phone_region' => 'AT',<\/pre>\n\n\n\n<p>Replace AT with EN or any other <a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1_alpha-2#Officially_assigned_code_elements\" data-type=\"URL\" data-id=\"https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1_alpha-2#Officially_assigned_code_elements\" target=\"_blank\" rel=\"noreferrer noopener\">ISO country code<\/a> you want.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mail server configuration<\/h3>\n\n\n\n<p>In order to use certain Nextcloud functions, you must configure an email address. To do this, go to the settings and enter the settings of your email account under &#8220;email server&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"runtime-permissions\">Runtime permissions<\/h2>\n\n\n\n<p>During the installation, the permissions for the Nextcloud folder and the data directory were only set very loosely. This is necessary to perform the installation. However, for security reasons, the permissions for operation should be set as strictly as possible. Since you have set wider permissions again for an update, it is advisable to adjust the permissions using scripts. So use PuTTY to create a file with the ending .sh on your DiskStation. Then insert the following code:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/bin\/bash\nncpath='\/volume1\/web\/nextcloud'\nncdatapath='\/volume1\/nextcloudData'\nhtuser='http'\nhtgroup='http'\nrootuser='root'\n\nprintf \"chmod Files and Directories\\n\"\nfind ${ncpath}\/ -type f -print0 | xargs -0 chmod 0640\nfind ${ncpath}\/ -type d -print0 | xargs -0 chmod 0750\nfind ${ncdatapath} -type f -print0 | xargs -0 chmod 0640\nfind ${ncdatapath} -type d -print0 | xargs -0 chmod 0750\n\nprintf \"chown Directories\\n\"\nchown -R ${rootuser}:${htgroup} ${ncpath}\/\nchown -R ${htuser}:${htgroup} ${ncpath}\/apps\/\nchown -R ${htuser}:${htgroup} ${ncpath}\/config\/\nchown -R ${htuser}:${htgroup} ${ncpath}\/themes\/\nchown -R ${htuser}:${htgroup} ${ncpath}\/updater\/\nchmod +x ${ncpath}\/occ\n\nprintf \"chmod\/chown .htaccess\\n\"\nif [ -f ${ncpath}\/.htaccess ]\nthen\n    chmod 0644 ${ncpath}\/.htaccess\n    chown ${htuser}:${htgroup} ${ncpath}\/.htaccess\nfi\n    chown ${htuser}:${htgroup} ${ncpath}\/.user.ini<\/pre>\n\n\n\n<p>Please pay attention again to the single and double quotation marks. You can now run the script with the following command:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sh \/volumeX\/path\/to\/script\/runtimepermission.sh<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Issues, that can not be solved or only to some extent<\/h2>\n\n\n\n<p>So far, the safety warnings and operating recommendations have been able to be eliminated with relatively little effort. Now we come to the unpleasant part. There are messages that cannot currently be resolved or can only be resolved to a limited extent on the DiskStation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CalDAV and CardDAV URLs<\/h3>\n\n\n\n<p>The message &#8220;Your web server is not properly configured to resolve &#8220;.\/well-known\/caldav&#8221; (or .\/well-known\/carddav).&#8221; Only appears if you have <strong>not <\/strong>configured a virtual host for Nextcloud. Because the default values for the URLs specified by Nextcloud come from the document root, but Nextcloud is located in a subdirectory. If you have created a virtual host, the subdirectory is configured as document root and everything is fine. Usually the problem could be solved in many different ways by simply adding the subfolder to the URL. However, for reasons not yet known, this does not work on Synology&#8217;s NAS devices, or to be more precise, not for all users. There are several solutions to the problem but they don&#8217;t always work for everyone. Ask the search engine of your choice for the solutions and try them out. If that doesn&#8217;t work, your only option is to set up a virtual host for Nextcloud or install Nextcloud directly in the document root (\/web). The first means you need a host (subdomain) just for Nextcloud, the second means you cannot operate any other website in the document root.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Once you have eliminated all messages (if they can be eliminated) and adjusted the permissions, nothing stands in the way of operating your own cloud. At least until the next update. Because then there will probably be new messages waiting for you to remove them.<\/p>\n\n\n\n<p>Nextcloud&#8217;s development cycle is quite short and in addition to regular updates, new major versions are waiting to be installed twice a year. The messages you receive in the Nextcloud overview depend heavily on which version you installed, whether you updated and which versions you left out and, above all, on how your web server is already configured. It may well be that you have reports that I have not yet come across. If that is the case, you will either find it in the previous version of this article or leave me a comment.<\/p>\n\n\n\n<p>Now you can use Nextcloud directly in the browser, or you can download the client. The client works very similarly to Dropbox. You can synchronize your entire cloud with your computer or just individual folders. Synchronizing individual folders is also very helpful if you already have an existing folder structure for your data (images, videos, files, etc.) &#8211; e.g. on different drives &#8211; and you want to keep it. The client also allows the use of multiple Nextcloud instances. The client app for smartphones also offers the option to upload images automatically. Not all of the data itself is downloaded to the smartphone until you access individual files via the app.<\/p>\n\n\n\n<div class=\"wp-block-columns promo_book_container is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column promo_book_left is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.viking-studios.net\/wp-content\/uploads\/dsm71_cover-727x1024.png\" alt=\"\" class=\"wp-image-1608\" style=\"width:241px;height:340px\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column promo_book_right is-layout-flow wp-block-column-is-layout-flow\">\n<p>Would you like more detailed step-by-step instructions for your Synology NAS, with a lot more background information, tips and tricks? Then get my knowledge as a comprehensive practical manual. You won&#8217;t find more information in any book about Synology and everything in the quality you always get from me.<\/p>\n\n\n\n<p>Die 3rd Edition contains uptades for DSM 7.1 and the revised Web Station, Surveillance Station and Synology Photos.<\/p>\n\n\n\n<p>The book directly from the <a href=\"https:\/\/tinyurl.com\/bdfxjeuv\" data-type=\"URL\" data-id=\"https:\/\/tinyurl.com\/bdfxjeuv\" target=\"_blank\" rel=\"noreferrer noopener\">publisher<\/a> (German only).<\/p>\n<\/div>\n<\/div>\n\n\n<div class=\"crp-list-container\"><h3 class=\"crp-list-title\">Related Posts<\/h3><p>None found<\/p><\/div><div class=\"shariff shariff-align-flex-start shariff-widget-align-flex-start\" style=\"display:none\" data-services=\"facebook%7Creddit%7Ctumblr%7Cpinterest%7Cvk\" data-url=\"https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" data-timestamp=\"1700752223\" data-hidezero=\"1\" data-backendurl=\"https:\/\/blog.viking-studios.net\/en\/wp-json\/shariff\/v1\/share_counts?\"><div class=\"ShariffHeadline\"><h3 class=\"shariff_headline\">Share the knowledge!<\/h3><\/div><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-medium\"><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span data-service=\"facebook\" style=\"color:#3b5998\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F&text=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on Reddit\" aria-label=\"Share on Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span data-service=\"reddit\" style=\"color:#ff4500\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F&text=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2\" title=\"Share on Telegram\" aria-label=\"Share on Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button whatsapp shariff-nocustomcolor\" style=\"background-color:#5cbe4a\"><a href=\"https:\/\/api.whatsapp.com\/send?text=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F%20Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2\" title=\"Share on Whatsapp\" aria-label=\"Share on Whatsapp\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#34af23; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#34af23\" d=\"M17.6 17.4q0.2 0 1.7 0.8t1.6 0.9q0 0.1 0 0.3 0 0.6-0.3 1.4-0.3 0.7-1.3 1.2t-1.8 0.5q-1 0-3.4-1.1-1.7-0.8-3-2.1t-2.6-3.3q-1.3-1.9-1.3-3.5v-0.1q0.1-1.6 1.3-2.8 0.4-0.4 0.9-0.4 0.1 0 0.3 0t0.3 0q0.3 0 0.5 0.1t0.3 0.5q0.1 0.4 0.6 1.6t0.4 1.3q0 0.4-0.6 1t-0.6 0.8q0 0.1 0.1 0.3 0.6 1.3 1.8 2.4 1 0.9 2.7 1.8 0.2 0.1 0.4 0.1 0.3 0 1-0.9t0.9-0.9zM14 26.9q2.3 0 4.3-0.9t3.6-2.4 2.4-3.6 0.9-4.3-0.9-4.3-2.4-3.6-3.6-2.4-4.3-0.9-4.3 0.9-3.6 2.4-2.4 3.6-0.9 4.3q0 3.6 2.1 6.6l-1.4 4.2 4.3-1.4q2.8 1.9 6.2 1.9zM14 2.2q2.7 0 5.2 1.1t4.3 2.9 2.9 4.3 1.1 5.2-1.1 5.2-2.9 4.3-4.3 2.9-5.2 1.1q-3.5 0-6.5-1.7l-7.4 2.4 2.4-7.2q-1.9-3.2-1.9-6.9 0-2.7 1.1-5.2t2.9-4.3 4.3-2.9 5.2-1.1z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F&subject=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button tumblr shariff-nocustomcolor\" style=\"background-color:#529ecc\"><a href=\"https:\/\/www.tumblr.com\/widgets\/share\/tool?posttype=link&canonicalUrl=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F&tags=blog.viking-studios.net\" title=\"Share on tumblr\" aria-label=\"Share on tumblr\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#36465d; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#36465d\" d=\"M18 14l0 7.3c0 1.9 0 2.9 0.2 3.5 0.2 0.5 0.7 1.1 1.2 1.4 0.7 0.4 1.5 0.6 2.4 0.6 1.6 0 2.6-0.2 4.2-1.3v4.8c-1.4 0.6-2.6 1-3.7 1.3-1.1 0.3-2.3 0.4-3.6 0.4-1.5 0-2.3-0.2-3.4-0.6-1.1-0.4-2.1-0.9-2.9-1.6-0.8-0.7-1.3-1.4-1.7-2.2s-0.5-1.9-0.5-3.4v-11.2h-4.3v-4.5c1.3-0.4 2.7-1 3.6-1.8 0.9-0.8 1.6-1.7 2.2-2.7 0.5-1.1 0.9-2.4 1.1-4.1h5.2l0 8h8v6h-8z\"\/><\/svg><\/span><span data-service=\"tumblr\" style=\"color:#36465d\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button pinterest shariff-nocustomcolor\" style=\"background-color:#e70f18\"><a href=\"https:\/\/www.pinterest.com\/pin\/create\/link\/?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F&media=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fwp-content%2Fuploads%2FTitel_Nextcloud_Syno-1.jpg&description=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2\" title=\"Pin it on Pinterest\" aria-label=\"Pin it on Pinterest\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#cb2027; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#cb2027\" d=\"M27.4 16q0 3.7-1.8 6.9t-5 5-6.9 1.9q-2 0-3.9-0.6 1.1-1.7 1.4-2.9 0.2-0.6 1-3.8 0.4 0.7 1.3 1.2t2 0.5q2.1 0 3.8-1.2t2.7-3.4 0.9-4.8q0-2-1.1-3.8t-3.1-2.9-4.5-1.2q-1.9 0-3.5 0.5t-2.8 1.4-2 2-1.2 2.3-0.4 2.4q0 1.9 0.7 3.3t2.1 2q0.5 0.2 0.7-0.4 0-0.1 0.1-0.5t0.2-0.5q0.1-0.4-0.2-0.8-0.9-1.1-0.9-2.7 0-2.7 1.9-4.6t4.9-2q2.7 0 4.2 1.5t1.5 3.8q0 3-1.2 5.2t-3.1 2.1q-1.1 0-1.7-0.8t-0.4-1.9q0.1-0.6 0.5-1.7t0.5-1.8 0.2-1.4q0-0.9-0.5-1.5t-1.4-0.6q-1.1 0-1.9 1t-0.8 2.6q0 1.3 0.4 2.2l-1.8 7.5q-0.3 1.2-0.2 3.2-3.7-1.6-6-5t-2.3-7.6q0-3.7 1.9-6.9t5-5 6.9-1.9 6.9 1.9 5 5 1.8 6.9z\"\/><\/svg><\/span><span data-service=\"pinterest\" style=\"color:#cb2027\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button rss shariff-nocustomcolor\" style=\"background-color:#ff8c00\"><a href=\"https:\/\/blog.viking-studios.net\/en\/feed\/rss\/\" title=\"RSS feed\" aria-label=\"RSS feed\" role=\"button\" class=\"shariff-link\" style=\"; background-color:#fe9312; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#fe9312\" d=\"M4.3 23.5c-2.3 0-4.3 1.9-4.3 4.3 0 2.3 1.9 4.2 4.3 4.2 2.4 0 4.3-1.9 4.3-4.2 0-2.3-1.9-4.3-4.3-4.3zM0 10.9v6.1c4 0 7.7 1.6 10.6 4.4 2.8 2.8 4.4 6.6 4.4 10.6h6.2c0-11.7-9.5-21.1-21.1-21.1zM0 0v6.1c14.2 0 25.8 11.6 25.8 25.9h6.2c0-17.6-14.4-32-32-32z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button xing shariff-nocustomcolor\" style=\"background-color:#29888a\"><a href=\"https:\/\/www.xing.com\/spi\/shares\/new?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on XING\" aria-label=\"Share on XING\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#126567; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 25 32\"><path fill=\"#126567\" d=\"M10.7 11.9q-0.2 0.3-4.6 8.2-0.5 0.8-1.2 0.8h-4.3q-0.4 0-0.5-0.3t0-0.6l4.5-8q0 0 0 0l-2.9-5q-0.2-0.4 0-0.7 0.2-0.3 0.5-0.3h4.3q0.7 0 1.2 0.8zM25.1 0.4q0.2 0.3 0 0.7l-9.4 16.7 6 11q0.2 0.4 0 0.6-0.2 0.3-0.6 0.3h-4.3q-0.7 0-1.2-0.8l-6-11.1q0.3-0.6 9.5-16.8 0.4-0.8 1.2-0.8h4.3q0.4 0 0.5 0.3z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button printer shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"javascript:window.print()\" title=\"print\" aria-label=\"print\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 30 32\"><path fill=\"#999\" d=\"M6.8 27.4h16v-4.6h-16v4.6zM6.8 16h16v-6.8h-2.8q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-11.4v11.4zM27.4 17.2q0-0.5-0.3-0.8t-0.8-0.4-0.8 0.4-0.3 0.8 0.3 0.8 0.8 0.3 0.8-0.3 0.3-0.8zM29.7 17.2v7.4q0 0.2-0.2 0.4t-0.4 0.2h-4v2.8q0 0.7-0.5 1.2t-1.2 0.5h-17.2q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-4q-0.2 0-0.4-0.2t-0.2-0.4v-7.4q0-1.4 1-2.4t2.4-1h1.2v-9.7q0-0.7 0.5-1.2t1.2-0.5h12q0.7 0 1.6 0.4t1.3 0.8l2.7 2.7q0.5 0.5 0.9 1.4t0.4 1.6v4.6h1.1q1.4 0 2.4 1t1 2.4z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button diaspora shariff-nocustomcolor\" style=\"background-color:#b3b3b3\"><a href=\"https:\/\/share.diasporafoundation.org\/?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F&title=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2\" title=\"Share on diaspora*\" aria-label=\"Share on diaspora*\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 33 32\"><path fill=\"#999\" d=\"M20.6 28.2c-0.8-1.2-2.1-2.9-2.9-4-0.8-1.1-1.4-1.9-1.4-1.9s-1.2 1.6-2.8 3.8c-1.5 2.1-2.8 3.8-2.8 3.8 0 0-5.5-3.9-5.5-3.9 0 0 1.2-1.8 2.8-4s2.8-4 2.8-4.1c0-0.1-0.5-0.2-4.4-1.5-2.4-0.8-4.4-1.5-4.4-1.5 0 0 0.2-0.8 1-3.2 0.6-1.8 1-3.2 1.1-3.3s2.1 0.6 4.6 1.5c2.5 0.8 4.6 1.5 4.6 1.5s0.1 0 0.1-0.1c0 0 0-2.2 0-4.8s0-4.7 0.1-4.7c0 0 0.7 0 3.3 0 1.8 0 3.3 0 3.4 0 0 0 0.1 1.4 0.2 4.6 0.1 5.2 0.1 5.3 0.2 5.3 0 0 2-0.7 4.5-1.5s4.4-1.5 4.4-1.5c0 0.1 2 6.5 2 6.5 0 0-2 0.7-4.5 1.5-3.4 1.1-4.5 1.5-4.5 1.6 0 0 1.2 1.8 2.6 3.9 1.5 2.1 2.6 3.9 2.6 3.9 0 0-5.4 4-5.5 4 0 0-0.7-0.9-1.5-2.1z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button flipboard shariff-nocustomcolor\" style=\"background-color:#373737\"><a href=\"https:\/\/share.flipboard.com\/bookmarklet\/popout?v=2&title=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2&url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on Flipboard\" aria-label=\"Share on Flipboard\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#f52828; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"24px\" height=\"24px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#f52828\" d=\"M0 0h8v24H0V0zm9 9h7v7H9V9zm0-9h15v8H9V0z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mastodon shariff-nocustomcolor\" style=\"background-color:#563ACC\"><a href=\"https:\/\/s2f.kytta.dev\/?text=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2 https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on Mastodon\" aria-label=\"Share on Mastodon\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#6364FF; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"75\" height=\"79\" viewBox=\"0 0 75 79\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M37.813-.025C32.462-.058 27.114.13 21.79.598c-8.544.621-17.214 5.58-20.203 13.931C-1.12 23.318.408 32.622.465 41.65c.375 7.316.943 14.78 3.392 21.73 4.365 9.465 14.781 14.537 24.782 15.385 7.64.698 15.761-.213 22.517-4.026a54.1 54.1 0 0 0 .01-6.232c-6.855 1.316-14.101 2.609-21.049 1.074-3.883-.88-6.876-4.237-7.25-8.215-1.53-3.988 3.78-.43 5.584-.883 9.048 1.224 18.282.776 27.303-.462 7.044-.837 14.26-4.788 16.65-11.833 2.263-6.135 1.215-12.79 1.698-19.177.06-3.84.09-7.692-.262-11.52C72.596 7.844 63.223.981 53.834.684a219.453 219.453 0 0 0-16.022-.71zm11.294 12.882c5.5-.067 10.801 4.143 11.67 9.653.338 1.48.471 3 .471 4.515v21.088h-8.357c-.07-7.588.153-15.182-.131-22.765-.587-4.368-7.04-5.747-9.672-2.397-2.422 3.04-1.47 7.155-1.67 10.735v6.392h-8.307c-.146-4.996.359-10.045-.404-15.002-1.108-4.218-7.809-5.565-10.094-1.666-1.685 3.046-.712 6.634-.976 9.936v14.767h-8.354c.109-8.165-.238-16.344.215-24.5.674-5.346 5.095-10.389 10.676-10.627 4.902-.739 10.103 2.038 12.053 6.631.375 1.435 1.76 1.932 1.994.084 1.844-3.704 5.501-6.739 9.785-6.771.367-.044.735-.068 1.101-.073z\"\/><defs><linearGradient id=\"paint0_linear_549_34\" x1=\"37.0692\" y1=\"0\" x2=\"37.0692\" y2=\"79\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#6364FF\"\/><stop offset=\"1\" stop-color=\"#563ACC\"\/><\/linearGradient><\/defs><\/svg><\/span><\/a><\/li><li class=\"shariff-button pocket shariff-nocustomcolor\" style=\"background-color:#444\"><a href=\"https:\/\/getpocket.com\/save?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F&title=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2\" title=\"Save to Pocket\" aria-label=\"Save to Pocket\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff0000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 28\"><path fill=\"#ff0000\" d=\"M24.5 2q1 0 1.7 0.7t0.7 1.7v8.1q0 2.8-1.1 5.3t-2.9 4.3-4.3 2.9-5.2 1.1q-2.7 0-5.2-1.1t-4.3-2.9-2.9-4.3-1.1-5.2v-8.1q0-1 0.7-1.7t1.7-0.7h22zM13.5 18.6q0.7 0 1.3-0.5l6.3-6.1q0.6-0.5 0.6-1.3 0-0.8-0.5-1.3t-1.3-0.5q-0.7 0-1.3 0.5l-5 4.8-5-4.8q-0.5-0.5-1.3-0.5-0.8 0-1.3 0.5t-0.5 1.3q0 0.8 0.6 1.3l6.3 6.1q0.5 0.5 1.3 0.5z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button threema shariff-nocustomcolor shariff-mobile\" style=\"background-color:#4fbc24\"><a href=\"threema:\/\/compose?text=Nextcloud%20installation%20on%20a%20Synology%20DiskStation%20with%20DSM%207.2%20https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on Threema\" aria-label=\"Share on Threema\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#1f1f1f; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#1f1f1f\" d=\"M30.8 10.9c-0.3-1.4-0.9-2.6-1.8-3.8-2-2.6-5.5-4.5-9.4-5.2-1.3-0.2-1.9-0.3-3.5-0.3s-2.2 0-3.5 0.3c-4 0.7-7.4 2.6-9.4 5.2-0.9 1.2-1.5 2.4-1.8 3.8-0.1 0.5-0.2 1.2-0.2 1.6 0 0.4 0.1 1.1 0.2 1.6 0.4 1.9 1.3 3.4 2.9 5 0.8 0.8 0.8 0.8 0.7 1.3 0 0.6-0.5 1.6-1.7 3.6-0.3 0.5-0.5 0.9-0.5 0.9 0 0.1 0.1 0.1 0.5 0 0.8-0.2 2.3-0.6 5.6-1.6 1.1-0.3 1.3-0.4 2.3-0.4 0.8 0 1.1 0 2.3 0.2 1.5 0.2 3.5 0.2 4.9 0 5.1-0.6 9.3-2.9 11.4-6.3 0.5-0.9 0.9-1.8 1.1-2.8 0.1-0.5 0.2-1.1 0.2-1.6 0-0.7-0.1-1.1-0.2-1.6-0.3-1.4 0.1 0.5 0 0zM20.6 17.3c0 0.4-0.4 0.8-0.8 0.8h-7.7c-0.4 0-0.8-0.4-0.8-0.8v-4.6c0-0.4 0.4-0.8 0.8-0.8h0.2l0-1.6c0-0.9 0-1.8 0.1-2 0.1-0.6 0.6-1.2 1.1-1.7s1.1-0.7 1.9-0.8c1.8-0.3 3.7 0.7 4.2 2.2 0.1 0.3 0.1 0.7 0.1 2.1v0 1.7h0.1c0.4 0 0.8 0.4 0.8 0.8v4.6zM15.6 7.3c-0.5 0.1-0.8 0.3-1.2 0.6s-0.6 0.8-0.7 1.3c0 0.2 0 0.8 0 1.5l0 1.2h4.6v-1.3c0-1 0-1.4-0.1-1.6-0.3-1.1-1.5-1.9-2.6-1.7zM25.8 28.2c0 1.2-1 2.2-2.1 2.2s-2.1-1-2.1-2.1c0-1.2 1-2.1 2.2-2.1s2.2 1 2.2 2.2zM18.1 28.2c0 1.2-1 2.2-2.1 2.2s-2.1-1-2.1-2.1c0-1.2 1-2.1 2.2-2.1s2.2 1 2.2 2.2zM10.4 28.2c0 1.2-1 2.2-2.1 2.2s-2.1-1-2.1-2.1c0-1.2 1-2.1 2.2-2.1s2.2 1 2.2 2.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button vk shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/vk.com\/share.php?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Share on VK\" aria-label=\"Share on VK\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#527498; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 34 32\"><path fill=\"#527498\" d=\"M34.2 9.3q0.4 1.1-2.7 5.3-0.4 0.6-1.2 1.5-1.4 1.8-1.6 2.3-0.3 0.7 0.3 1.4 0.3 0.4 1.4 1.5h0l0.1 0.1q2.5 2.3 3.4 3.9 0.1 0.1 0.1 0.2t0.1 0.5 0 0.6-0.4 0.5-1.1 0.2l-4.6 0.1q-0.4 0.1-1-0.1t-0.9-0.4l-0.4-0.2q-0.5-0.4-1.2-1.1t-1.2-1.4-1.1-1-1-0.3q-0.1 0-0.1 0.1t-0.3 0.3-0.4 0.5-0.3 0.9-0.1 1.4q0 0.3-0.1 0.5t-0.1 0.3l-0.1 0.1q-0.3 0.3-0.9 0.4h-2.1q-1.3 0.1-2.6-0.3t-2.3-0.9-1.8-1.2-1.3-1l-0.4-0.4q-0.2-0.2-0.5-0.5t-1.3-1.6-1.9-2.7-2.2-3.8-2.3-4.9q-0.1-0.3-0.1-0.5t0.1-0.3l0.1-0.1q0.3-0.3 1-0.3l4.9 0q0.2 0 0.4 0.1t0.3 0.2l0.1 0.1q0.3 0.2 0.4 0.6 0.4 0.9 0.8 1.8t0.7 1.5l0.3 0.5q0.5 1.1 1 1.9t0.9 1.2 0.7 0.7 0.6 0.3 0.5-0.1q0 0 0.1-0.1t0.2-0.4 0.2-0.8 0.2-1.4 0-2.2q0-0.7-0.2-1.3t-0.2-0.8l-0.1-0.2q-0.4-0.6-1.5-0.8-0.2 0 0.1-0.4 0.3-0.3 0.7-0.5 0.9-0.5 4.3-0.4 1.5 0 2.4 0.2 0.4 0.1 0.6 0.2t0.4 0.4 0.2 0.6 0.1 0.8 0 1 0 1.3 0 1.5q0 0.2 0 0.8t0 0.9 0.1 0.7 0.2 0.7 0.4 0.4q0.1 0 0.3 0.1t0.5-0.2 0.7-0.6 0.9-1.2 1.2-1.9q1.1-1.9 1.9-4 0.1-0.2 0.2-0.3t0.2-0.2l0.1-0.1 0.1 0t0.2-0.1 0.4 0l5.1 0q0.7-0.1 1.1 0t0.6 0.3z\"\/><\/svg><\/span><span data-service=\"vk\" style=\"color:#527498\" class=\"shariff-count shariff-hidezero\"><\/span>&nbsp;<\/a><\/li><li class=\"shariff-button wallabag shariff-nocustomcolor\" style=\"background-color:#2bbbad\"><a href=\"https:\/\/app.wallabag.it\/bookmarklet?url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-installation-on-a-synology-diskstation-with-dsm-7-2%2F\" title=\"Save to wallabag\" aria-label=\"Save to wallabag\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#26a69a; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 600 500\"><path fill=\"#26a69a\" d=\"M381 474l-5 7c-15 19-29 20-45 2-14-15-30-28-47-38a75 75 0 0 1-15-12c-8-8-10-19-8-30 2-8-2-12-8-16l-3 12c-8 33-31 51-64 57-36 6-73 7-109 5l-57-4c-9-1-9-1-7-9h46c28 0 55-1 82-9 45-14 67-49 62-96l-4-25 43 13q101 24 197-11c6-2 10-2 14 5l-49 53-15 15c-8 8-8 15 1 23l24 18 50 34c-8 20-26 26-43 14l-43-34c-14-10-23-25-31-39-3-4-6-6-10-5h-36c-5-1-8 1-9 6zM409 4l-6 49c-2 19-9 35-28 45l40 50c-13 9-26 11-40 12-19 0-36-6-54-11-16-4-34-9-51-11-10-2-20 0-31 1l30-38c-16-9-25-23-28-41l-1-15-3-41c21 5 38 16 51 33l11 16 22 29c10-9 19-18 24-29 12-26 32-42 60-48l4-1zm-19 187c12 9 17 20 16 35l-2 47c-3 31-26 48-57 40a114 114 0 0 1-11-3 44 44 0 0 0-28-1 110 110 0 0 1-28 5c-16 0-28-8-33-24-6-16-6-33-6-50v-14c-2-15 2-28 17-35 10 6 19 13 17 27v32c-1 14 5 25 16 33 15-12 16-28 15-45v-30c0-11 4-15 12-16 8-2 11 0 15 10 6 13 10 27 8 41-2 17 4 30 16 40 11-10 16-23 14-38v-16c0-21 1-24 19-38z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button info shariff-nocustomcolor\" style=\"background-color:#eee\"><a href=\"http:\/\/ct.de\/-2467514\" title=\"More information\" aria-label=\"More information\" role=\"button\" rel=\"noopener \" class=\"shariff-link\" style=\"; background-color:#fff; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 11 32\"><path fill=\"#999\" d=\"M11.4 24v2.3q0 0.5-0.3 0.8t-0.8 0.4h-9.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h1.1v-6.8h-1.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h6.8q0.5 0 0.8 0.4t0.4 0.8v10.3h1.1q0.5 0 0.8 0.4t0.3 0.8zM9.2 3.4v3.4q0 0.5-0.4 0.8t-0.8 0.4h-4.6q-0.4 0-0.8-0.4t-0.4-0.8v-3.4q0-0.4 0.4-0.8t0.8-0.4h4.6q0.5 0 0.8 0.4t0.4 0.8z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>The 2nd major update for DSM 7 is here and in addition to some new functions, the WebStation has been revised. That&#8217;s why I have created these revised guide. The demand for Nextcloud is still high. Although Synology offers its own cloud solution, Synology Drive, it is nowhere near as comprehensive and flexible as Nextcloud. Be it calendar and contact synchronization or the apps and web interface, there are many reasons to use Nextcloud on a DiskStation. The article explains step by step how to install Nextcloud on a Synology NAS.<\/p>\n","protected":false},"author":1,"featured_media":369,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,73,50,19,93,7],"tags":[20,21,112,98,23,96,97,25],"class_list":["post-366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-hardware","category-howto","category-network","category-synology-diskstation","category-technology","tag-cloud","tag-diskstation","tag-dsm-7","tag-nas","tag-nextcloud","tag-nextcloud-hub","tag-onlyoffice","tag-synology"],"_links":{"self":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/comments?post=366"}],"version-history":[{"count":4,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/366\/revisions"}],"predecessor-version":[{"id":387,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/366\/revisions\/387"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/media\/369"}],"wp:attachment":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/media?parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/categories?post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/tags?post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}