{"id":274,"date":"2020-10-01T15:01:28","date_gmt":"2020-10-01T13:01:28","guid":{"rendered":"https:\/\/blog.viking-studios.net\/en\/?p=274"},"modified":"2021-11-23T09:02:50","modified_gmt":"2021-11-23T07:02:50","slug":"nextcloud-hub-optimization-on-a-synology-diskstation-with-dsm-6","status":"publish","type":"post","link":"https:\/\/blog.viking-studios.net\/en\/nextcloud-hub-optimization-on-a-synology-diskstation-with-dsm-6\/","title":{"rendered":"Nextcloud Hub optimization on a Synology DiskStation with DSM 6 [Update April 2021]"},"content":{"rendered":"\n<p><strong>The <a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-hub-installation-on-synology-diskstation-with-dsm-6-2\/\" data-type=\"post\" data-id=\"203\">last post<\/a> was about installing Nextcloud on the DiskStation. After the installation, however, some adjustments should be made so that Nextcloud runs optimally and to increase security. In addition, depending on the environment, some error messages may appear. And that&#8217;s exactly what this post is about.<\/strong><\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_788b16-b7 .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_788b16-b7 .kt-blocks-info-box-link-wrap{border-color:#afcde3;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_788b16-b7 .kt-blocks-info-box-link-wrap:hover{border-color:#afcde3;background:#d8ecf7;}#kt-info-box_788b16-b7 .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_788b16-b7 .kt-info-svg-icon-flip, #kt-info-box_788b16-b7 .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_788b16-b7 .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-box_788b16-b7 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_788b16-b7 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;}#kt-info-box_788b16-b7 .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-box_788b16-b7 .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_788b16-b7\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fas_info-circle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 512 512\" height=\"50\" width=\"50\" 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\"><\/path><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Version hint<\/h4><p class=\"kt-blocks-info-box-text\">With the release of a new version of Nextcloud or DSM, optimization steps can be omitted or new ones can be added. The optimization steps in this article apply from Nextcloud 18.0 and DSM 6.2.2. If you are using an older version or receive optimization tips from Nextcloud that you cannot find here, the <a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-optimization-on-a-synology-diskstation-and-dsm-6\/\" data-type=\"post\" data-id=\"49\">previous version<\/a> of this article may help you.<\/p><\/div><\/div><\/div>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_22c5eb-7d .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_22c5eb-7d .kt-blocks-info-box-link-wrap{border-color:#b2ce96;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;background:#d9edc2;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:20px;margin-bottom:25px;margin-left:20px;}#kt-info-box_22c5eb-7d .kt-blocks-info-box-link-wrap:hover{border-color:#b2ce96;background:#d9edc2;}#kt-info-box_22c5eb-7d .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_22c5eb-7d .kt-info-svg-icon-flip, #kt-info-box_22c5eb-7d .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_22c5eb-7d .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-box_22c5eb-7d .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_22c5eb-7d .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;}#kt-info-box_22c5eb-7d .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-box_22c5eb-7d .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_22c5eb-7d\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fe_checkCircle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 24 24\" height=\"50\" width=\"50\" fill=\"none\" stroke=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"><\/path><polyline points=\"22 4 12 14.01 9 11.01\"><\/polyline><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Updates<\/h4><p class=\"kt-blocks-info-box-text\"><strong>&#8211; April 21:<\/strong> Nextcloud 21 security and setup warnings added<br\/><strong>&#8211; November 20:<\/strong> Nextcloud 20 optimizations added- Big Int conversion and missing primary keys<\/p><\/div><\/div><\/div>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_70c889-44 .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_70c889-44 .kt-blocks-info-box-link-wrap{border-color:#b2ce96;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;background:#d9edc2;padding-top:15px;padding-right:15px;padding-bottom:15px;padding-left:15px;margin-right:20px;margin-bottom:25px;margin-left:20px;}#kt-info-box_70c889-44 .kt-blocks-info-box-link-wrap:hover{border-color:#b2ce96;background:#d9edc2;}#kt-info-box_70c889-44 .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_70c889-44 .kt-info-svg-icon-flip, #kt-info-box_70c889-44 .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_70c889-44 .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-box_70c889-44 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_70c889-44 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;}#kt-info-box_70c889-44 .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-box_70c889-44 .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_70c889-44\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fe_checkCircle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 24 24\" height=\"50\" width=\"50\" fill=\"none\" stroke=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"><\/path><polyline points=\"22 4 12 14.01 9 11.01\"><\/polyline><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">PHP 7.4<\/h4><p class=\"kt-blocks-info-box-text\">Synology updated their PHP 7.4 package and added the support for zip module. The new version is already available on Synology&#8217;s home page and should be soon also available via update in the Package Center. Now Nextcloud can be finally updated to use PHP 7.4.<\/p><\/div><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Preperation<\/h2>\n\n\n\n<p>Nextcloud is installed and running on the DiskStation. You can read <a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-hub-installation-on-synology-diskstation-with-dsm-6-2\/\" data-type=\"post\" data-id=\"203\">here<\/a> how to install Nextcloud on a DiskStation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Optimization and troubleshooting<\/h2>\n\n\n\n<p>After the 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 notification messages in the menu under <em>Settings<\/em> &gt; <em>Overview<\/em> &gt; Security and setup warnings. Since the DiskStation does not always behave like a normal Linux server, it is important to find out where the configuration changes can be effectively made and what additional steps are required.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_nc_warns.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_nc_warns-1024x694.png\" alt=\"Nextcloud hints and warnings\" class=\"wp-image-279\" width=\"768\" height=\"521\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_nc_warns-1024x694.png 1024w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_nc_warns-300x203.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_nc_warns-150x102.png 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_nc_warns-768x520.png 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/opt_nc_warns.png 1193w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption>Hints and warnings from Nextcloud (sorry, I only have this image in German but you will most probably get different warnings)<\/figcaption><\/figure><\/div>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_c43c48-a1 .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_c43c48-a1 .kt-blocks-info-box-link-wrap{border-color:#fadf98;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_c43c48-a1 .kt-blocks-info-box-link-wrap:hover{border-color:#fadf98;background:#fef5c4;}#kt-info-box_c43c48-a1 .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_c43c48-a1 .kt-info-svg-icon-flip, #kt-info-box_c43c48-a1 .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_c43c48-a1 .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-box_c43c48-a1 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_c43c48-a1 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}#kt-info-box_c43c48-a1 .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-box_c43c48-a1 .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_c43c48-a1\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fe_alertCircle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 24 24\" height=\"50\" width=\"50\" fill=\"none\" stroke=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"><\/circle><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"><\/line><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"><\/line><\/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 the one specified here or 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-box_fe54c0-e3 .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_fe54c0-e3 .kt-blocks-info-box-link-wrap{border-color:#fadf98;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_fe54c0-e3 .kt-blocks-info-box-link-wrap:hover{border-color:#fadf98;background:#fef5c4;}#kt-info-box_fe54c0-e3 .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_fe54c0-e3 .kt-info-svg-icon-flip, #kt-info-box_fe54c0-e3 .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_fe54c0-e3 .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-box_fe54c0-e3 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_fe54c0-e3 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}#kt-info-box_fe54c0-e3 .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-box_fe54c0-e3 .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_fe54c0-e3\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fe_alertCircle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 24 24\" height=\"50\" width=\"50\" fill=\"none\" stroke=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"><\/circle><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"><\/line><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"><\/line><\/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\">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 permissions.<\/p><\/div><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Database update<\/h3>\n\n\n\n<p>The exact wording of the message depends on which version of Nextcloud you have installed. The solution is always the same. You have to make changes to the database via the command line. You will most likely get a similar message after every update from Nextcloud. This is because these changes to existing databases can take some time and must always be done via the command line. Therefore they are not part of the installation or update routine, which can also be called via the browser.<\/p>\n\n\n\n<p>You make the changes with the <strong>occ <\/strong>commands (Nextcloud&#8217;s command set for the command line). You can read the necessary commands directly in the message. The hurdle here is just getting this right on your DiskStation.<\/p>\n\n\n\n<p>Open PuTTY and connect to your DiskStation. The command line of your NAS does not know the occ commands, so you have to switch to your Nextcloud directory, where the occ commands are defined.<\/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=\"\">cd \/volume1\/web\/Nextcloud<\/pre>\n\n\n\n<p>So that you can use the occ commands, you still need the correct user (<em>sudo -u http<\/em>), the correct PHP version (<em>php74<\/em>) and you should also increase the memory limit (<em>-d memory_limit = 1024M<\/em>), since the default value is too low.<\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_ebba9d-7f .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_ebba9d-7f .kt-blocks-info-box-link-wrap{border-color:#afcde3;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_ebba9d-7f .kt-blocks-info-box-link-wrap:hover{border-color:#afcde3;background:#d8ecf7;}#kt-info-box_ebba9d-7f .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_ebba9d-7f .kt-info-svg-icon-flip, #kt-info-box_ebba9d-7f .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_ebba9d-7f .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-box_ebba9d-7f .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_ebba9d-7f .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;}#kt-info-box_ebba9d-7f .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-box_ebba9d-7f .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_ebba9d-7f\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fas_info-circle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 512 512\" height=\"50\" width=\"50\" 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\"><\/path><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">The correct PHP version<\/h4><p class=\"kt-blocks-info-box-text\">The occ commands are based on PHP scripts, so that you can execute them on the command line, you need the correct PHP version. This has nothing to do with the version on the web server and can differ from it. Synology still uses PHP 5.6 for the command line (even if you haven&#8217;t installed the package, as we said we are here on the command line and not on the web server). In order to be able to execute the commands, at least PHP 7.0 is required. So use phpXX for the correct call, where XX stands for the version number that you also use for the web server.<\/p><\/div><\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Missing indices<\/h4>\n\n\n\n<p>Now it is time to add the missing indices, use 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=\"\">sudo -u http php74 -d memory_limit=1024M occ db:add-missing-indices<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Big Int conversion<\/h4>\n\n\n\n<p>Message in Nextcloud:<br><em>&#8220;Some columns in the database can be converted to big int. Changing column types can take some time for large tables. Therefore, the conversion must be started manually with the command&#8221; occ db:convert-filecache-bigint &#8220;. To convert the Instance has to be offline. Details on the associated documentation page. &#8220;<\/em><\/p>\n\n\n\n<p>Afterwards you will see a list of columns that are affected. Which these are depends on which version you have installed or which version you have upgraded to. The command to convert the columns is again in the information text, so that you can execute it on the command line of your DiskStation you have to adapt the command a little:<\/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=\"\">sudo -u http php74 -d memory_limit=1024M occ db:convert-filecache-bigint<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Missing columns<\/h4>\n\n\n\n<p>It can also happen that the database gets expanded through an update, which must also be done later. The message then points out missing columns in the database. The command for this is:<\/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=\"\">sudo -u http php74 -d memory_limit=1024M occ db:add-missing-columns<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Missing primary keys<\/h4>\n\n\n\n<p>Message in Nextcloud:<br><em>&#8220;The database is missing some primary keys. Due to the fact that adding primary keys to large tables could take some time, they were not added automatically. By running&#8221; occ db: add-missing-primary-keys &#8220;, these missing primary keys can be added manually while the instance continues to run. &#8220;<\/em><\/p>\n\n\n\n<p>Followed by a list of affected tables. Which they are, is version dependent again. The occ command is again in the text and only needs to be adapted for the command line:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo -u http php74 -d memory_limit=1024M occ db:add-missing-primary-keys<\/pre>\n\n\n\n<p>Repeat the process for every occ command you can find in Nextcloud&#8217;s <em>security and setup warnings<\/em>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tweak PHP variables<\/h3>\n\n\n\n<p>So that larger files can also be uploaded via the web interface, some PHP variables must be adjusted. The RAM available for Nextcloud should also be increased. To do this, open the <em>Web Station<\/em> &gt; <em>PHP Settings<\/em> in DSM and edit the PHP profile that your Nextcloud uses (a virtual host and your own PHP profile for Nextcloud make sense). In the <em>Core<\/em> tab, look for the <code>memory_limit <\/code>variable and assign at least 512 MB (as the value <code>512M<\/code>). Of course, more is better, but it also depends on how much RAM your DiskStation has and whether other processes are running on your NAS (which of course also need RAM). Incidentally, 2 GB (<code>2G<\/code> as value) is recommended for OnlyOffice.<\/p>\n\n\n\n<p>Now look for the variables <code>post_max_size<\/code> and <code>upload_max_filesize<\/code> and enter a high value there (e.g. <code>16G<\/code>). This is not about memory, but about the file size that you can upload at once. Google will tell you the difference between the two variables, but in most cases the same value is sufficient for both variables. The web interface is rarely used for uploading large amounts of data anyway.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en.png\" alt=\"PHP variables\" class=\"wp-image-282\" width=\"563\" height=\"488\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en.png 750w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-300x260.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_php_variable_en-150x130.png 150w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/a><figcaption>More RAM and bigger upload limits for Nextcloud<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Activating HSTS\/http forward<\/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 shouldn&#8217;t even get this message. If you still get it, check whether you have activated <strong>HSTS<\/strong> and <strong>HTTP\/2<\/strong>. If you haven&#8217;t created a virtual host, you can create one now. To do this, select <em>virtual host<\/em> in the Web Station and create a new entry.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Enter the host name under which you want to reach your Nextcloud. (The host name must exist and point to your DiskStation, more on this 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><li>Selects the ports to which the virtual host applies (usually 80\/443).<\/li><li>Select the Nextcloud folder (<code>\/web\/Nextcloud<\/code>) as the document root.<\/li><li>Be sure to activate <strong>HSTS <\/strong>and <strong>HTTP\/2<\/strong>, this ensures that all <strong>http <\/strong>accesses to your cloud are redirected to <strong>https<\/strong>.<\/li><li>Select <strong>Apache 2.4<\/strong> as web server and the previously created <strong>PHP profile<\/strong>.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_vhost_en.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_vhost_en.png\" alt=\"Nextcloud vHost\" class=\"wp-image-280\" width=\"383\" height=\"428\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_vhost_en.png 510w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_vhost_en-268x300.png 268w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_vhost_en-134x150.png 134w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><\/a><figcaption>Activate HSTS via virtual Host<\/figcaption><\/figure><\/div>\n\n\n\n<p>If you don&#8217;t want to or can&#8217;t use a virtual host, you can 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-box_eac939-c9 .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_eac939-c9 .kt-blocks-info-box-link-wrap{border-color:#fadf98;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_eac939-c9 .kt-blocks-info-box-link-wrap:hover{border-color:#fadf98;background:#fef5c4;}#kt-info-box_eac939-c9 .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_eac939-c9 .kt-info-svg-icon-flip, #kt-info-box_eac939-c9 .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_eac939-c9 .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-box_eac939-c9 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_eac939-c9 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}#kt-info-box_eac939-c9 .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-box_eac939-c9 .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_eac939-c9\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fe_alertCircle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 24 24\" height=\"50\" width=\"50\" fill=\"none\" stroke=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"><\/circle><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"><\/line><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"><\/line><\/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\">Always create new files via the command line. Never create these on your computer and then upload them. In most cases, the coding of the text file does not match and the script cannot be executed or the configuration cannot be read.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Saves and closes the file and then restarts Nginx (<code>synoservice -restart nginx<\/code>).<\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_9b5e69-79 .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_9b5e69-79 .kt-blocks-info-box-link-wrap{border-color:#afcde3;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_9b5e69-79 .kt-blocks-info-box-link-wrap:hover{border-color:#afcde3;background:#d8ecf7;}#kt-info-box_9b5e69-79 .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_9b5e69-79 .kt-info-svg-icon-flip, #kt-info-box_9b5e69-79 .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_9b5e69-79 .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-box_9b5e69-79 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_9b5e69-79 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d8ecf7;border-color:#eeeeee;}#kt-info-box_9b5e69-79 .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-box_9b5e69-79 .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_9b5e69-79\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fas_info-circle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 512 512\" height=\"50\" width=\"50\" 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\"><\/path><\/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 is running on Apache? Nginx precedes Synology NAS devices as a proxy. Even if you use Apache as 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\">Activating PHP memory cache<\/h3>\n\n\n\n<p>The memory cache improves the performance of your cloud. If you have followed my installation instructions, you have already activated it and only need to enter it in the Nextcloud configuration. If you have not activated the cache, you can do so by ticking the &#8220;Activate PHP cache&#8221; box in the 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 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=\"\">'memcache.local' => '\\\\OC\\\\Memcache\\\\APCu',<\/pre>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_b9ae9c-db .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_b9ae9c-db .kt-blocks-info-box-link-wrap{border-color:#fadf98;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_b9ae9c-db .kt-blocks-info-box-link-wrap:hover{border-color:#fadf98;background:#fef5c4;}#kt-info-box_b9ae9c-db .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_b9ae9c-db .kt-info-svg-icon-flip, #kt-info-box_b9ae9c-db .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_b9ae9c-db .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-box_b9ae9c-db .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_b9ae9c-db .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#fef5c4;border-color:#eeeeee;}#kt-info-box_b9ae9c-db .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-box_b9ae9c-db .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_b9ae9c-db\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fe_alertCircle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 24 24\" height=\"50\" width=\"50\" fill=\"none\" stroke=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"10\"><\/circle><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"><\/line><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"16\"><\/line><\/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\">Rather type in entries by hand than copy them from websites. If you insert single or double quotation marks in the text editor of the command line, it can happen that these characters are not correctly encoded and are not recognized as such. The configuration is then not loaded.<\/p><\/div><\/div><\/div>\n\n\n\n<p>Save and close the file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Activate Redis<\/h3>\n\n\n\n<p>Redis improves file locking. To use Redis, you have to install the &#8220;Redis&#8221; package on your DiskStation. You can find it in the community repository. If Redis is installed and running, open the file <code>\/web\/Nextcloud\/Config\/config.php<\/code> in PuTTY and enter the following lines within 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=\"\">'memcache.locking' => '\\\\OC\\\\Memcache\\\\Redis',\n'redis' =>\narray\n(\n    'host' => '&lt;local NAS-IP or 127.0.0.1>',\n    'port' => '6379',\n    'timeout' => '0',\n    'dbindex' => '0',\n),<\/pre>\n\n\n\n<p>Save and close the file.<\/p>\n\n\n<style>#kt-layout-id_016a95-ca > .kt-row-column-wrap{align-content:start;}:where(#kt-layout-id_016a95-ca > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}#kt-layout-id_016a95-ca > .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-row-default-top, 25px );padding-bottom:var( --global-kb-row-default-bottom, 25px );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));}#kt-layout-id_016a95-ca > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){#kt-layout-id_016a95-ca > .kt-row-column-wrap{grid-template-columns:repeat(2, minmax(0, 1fr));}}@media all and (max-width: 767px){#kt-layout-id_016a95-ca > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}<\/style>\n<div class=\"wp-block-kadence-rowlayout alignnone\"><div id=\"kt-layout-id_016a95-ca\" class=\"kt-row-layout-inner kt-layout-id_016a95-ca\"><div class=\"kt-row-column-wrap kt-has-2-columns kt-gutter-default kt-v-gutter-default kt-row-valign-top kt-row-layout-equal kt-tab-layout-inherit kt-m-colapse-left-to-right kt-mobile-layout-row\"><style>.kadence-column_5555ef-ae > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-column_5555ef-ae > .kt-inside-inner-col,.kadence-column_5555ef-ae > .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-column_5555ef-ae > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column_5555ef-ae > .kt-inside-inner-col{flex-direction:column;}.kadence-column_5555ef-ae > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column_5555ef-ae > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column_5555ef-ae{position:relative;}@media all and (max-width: 1024px){.kadence-column_5555ef-ae > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column_5555ef-ae > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-1 kadence-column_5555ef-ae\"><div class=\"kt-inside-inner-col\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"851\" height=\"477\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en.png\" alt=\"Redis package\" class=\"wp-image-283\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en.png 851w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-300x168.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-150x84.png 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_redis_package_en-768x430.png 768w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/a><figcaption>You can find the package in the community package source<\/figcaption><\/figure><\/div>\n<\/div><\/div>\n\n\n<style>.kadence-column_f1a202-a5 > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-column_f1a202-a5 > .kt-inside-inner-col,.kadence-column_f1a202-a5 > .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-column_f1a202-a5 > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column_f1a202-a5 > .kt-inside-inner-col{flex-direction:column;}.kadence-column_f1a202-a5 > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column_f1a202-a5 > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column_f1a202-a5{position:relative;}@media all and (max-width: 1024px){.kadence-column_f1a202-a5 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column_f1a202-a5 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-2 kadence-column_f1a202-a5\"><div class=\"kt-inside-inner-col\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><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>Add Redis in the Nextcloud config<\/figcaption><\/figure><\/div>\n<\/div><\/div>\n<\/div><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Background processes via Cron<\/h3>\n\n\n\n<p>Nextcloud does many tasks via background processes, but these also have to be executed. By default, this happens when a page is loaded, i.e. when someone opens the web interface. If nobody does that, the background processes will not be executed. It is better to have your DiskStation run these regularly. We use the<strong> Task Scheduler<\/strong> for this. Open the <em>Control Panel<\/em> in DSM and then the <em>Task Scheduler<\/em>. Create a new task (<em>Create<\/em> &gt; <em>Scheduled Task<\/em> &gt; <em>Custom Script<\/em>).<\/p>\n\n\n<style>#kt-layout-id_e98912-de > .kt-row-column-wrap{align-content:start;}:where(#kt-layout-id_e98912-de > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}#kt-layout-id_e98912-de > .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-row-default-top, 25px );padding-bottom:var( --global-kb-row-default-bottom, 25px );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));}#kt-layout-id_e98912-de > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){#kt-layout-id_e98912-de > .kt-row-column-wrap{grid-template-columns:repeat(2, minmax(0, 1fr));}}@media all and (max-width: 767px){#kt-layout-id_e98912-de > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}<\/style>\n<div class=\"wp-block-kadence-rowlayout alignnone\"><div id=\"kt-layout-id_e98912-de\" class=\"kt-row-layout-inner kt-layout-id_e98912-de\"><div class=\"kt-row-column-wrap kt-has-2-columns kt-gutter-default kt-v-gutter-default kt-row-valign-top kt-row-layout-equal kt-tab-layout-inherit kt-m-colapse-left-to-right kt-mobile-layout-row\"><style>.kadence-column_614523-bc > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-column_614523-bc > .kt-inside-inner-col,.kadence-column_614523-bc > .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-column_614523-bc > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column_614523-bc > .kt-inside-inner-col{flex-direction:column;}.kadence-column_614523-bc > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column_614523-bc > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column_614523-bc{position:relative;}@media all and (max-width: 1024px){.kadence-column_614523-bc > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column_614523-bc > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-1 kadence-column_614523-bc\"><div class=\"kt-inside-inner-col\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><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>The task scheduler can execute Sehll commands and scripts.<\/figcaption><\/figure><\/div>\n<\/div><\/div>\n\n\n<style>.kadence-column_34b6dc-7d > .kt-inside-inner-col{border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;}.kadence-column_34b6dc-7d > .kt-inside-inner-col,.kadence-column_34b6dc-7d > .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-column_34b6dc-7d > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column_34b6dc-7d > .kt-inside-inner-col{flex-direction:column;}.kadence-column_34b6dc-7d > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column_34b6dc-7d > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column_34b6dc-7d{position:relative;}@media all and (max-width: 1024px){.kadence-column_34b6dc-7d > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column_34b6dc-7d > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column inner-column-2 kadence-column_34b6dc-7d\"><div class=\"kt-inside-inner-col\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en.png\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"530\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en.png\" alt=\"call Nextcloud cron\" class=\"wp-image-285\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en.png 530w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en-300x300.png 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_script_task2_en-150x150.png 150w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/a><figcaption>Execute the file cron.php<\/figcaption><\/figure><\/div>\n<\/div><\/div>\n<\/div><\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Enter a name.<\/li><li>Leave the user <strong>root<\/strong>.<\/li><li>Under <em>schedule<\/em> you specify that the task should be carried out every <strong>5 minutes<\/strong> on a <strong>daily<\/strong> basis.<\/li><li>It is helpful to be notified by e-mail (&#8220;Send execution details by e-mail&#8221;) if the task could not be executed correctly (&#8220;Send execution details if the script exits abnormally&#8221;).<\/li><li>Under &#8220;User-defined script&#8221; you enter the following line:<\/li><\/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 php74 \/var\/services\/web\/Nextcloud\/cron.php<\/pre>\n\n\n\n<p>Confirm the new task by clicking <em>OK<\/em>. Now open <em>Settings<\/em> &gt; Basic Settings&gt; <em>Background jobs<\/em> in the Nextcloud web interface and activate the option <strong>Cron<\/strong>. Now wait a little more than 5 minutes and reload the page. The dot next to the heading must be green and it must have been less than 5 minutes ago.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_cron_en-1024x310.png\" alt=\"Nextcloud Cron\" class=\"wp-image-281\" width=\"768\" height=\"233\" 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: 768px) 100vw, 768px\" \/><\/a><figcaption>Successfully executed background tasks<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Solve\/prevent upload issues<\/h3>\n\n\n\n<p>When files are uploaded, they are divided into chunks and stored in a temporary directory and only put together and moved to their destination after the upload is complete. This temporary directory can cause problems on a DiskStation, but this can be fixed quickly. Use the command line to create a new directory in your Nextcloud data directory and adjust the rights for it. E.g .:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">mkdir \/volume1\/NextcloudData\/upload-tmp\nchown http:http \/volume1\/NextcloudData\/upload-tmp\nchmod 750 \/volume1\/NextcloudData\/upload-tmp<\/pre>\n\n\n\n<p>Opens the PHP profile used (<em>Web Station<\/em> &gt; <em>PHP Settings<\/em>) and switches to the <em>Core<\/em> tab. Looks for the variable <code>upload_temp_dir<\/code> and inserts the path to the new directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/nextcloud_optimize_tmp_dir_en.png\" alt=\"temporary upload directory\" class=\"wp-image-287\" width=\"563\" height=\"488\"\/><figcaption>Enter the new directory in the PHP variables<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">open_basedir tweaks<\/h3>\n\n\n\n<p>Opens the PHP profile for Nextcloud and enter the paths <code>\/dev\/urandom<\/code> and <code>\/proc\/meminfo<\/code> under &#8220;Customize PHP open_basedir&#8221; (don&#8217;t forget the colon to separate individual paths).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The missing PHP extension imagick<\/h3>\n\n\n\n<p>If you have installed Nextcloud with the latest Web Station and PHP 7.3, you will no longer see the error.<\/p>\n\n\n\n<p>Synology not only released a package for PHP 7.4, but also decided to add support for ImageMagick. This also results in an update for PHP 7.3 and the Web Station. Update your Web Station and the PHP 7.3 package, then open <em>Web Station<\/em> &gt; <em>PHP Settings<\/em>, select the PHP profile for your Nextcloud and click on <em>Edit<\/em>. Now activate the <strong>imagick<\/strong> extension under &#8220;Extensions&#8221;. The message then disappears.<\/p>\n\n\n\n<p>The extenbsion is used to create <strong>favicons <\/strong>from uploaded logos in the theming area. In addition, the module is required by the <strong>gallery app<\/strong>, which displays different formats, such as RAW files. If you have deactivated\/not installed the gallery app and the theming app, the message should not appear at all.<br>Even with the theming and gallery apps you could do without imagick, but the warning message still bothered many.<\/p>\n\n\n\n<p>ImageMagick isn&#8217;t an official PHP extension and its use in Nextcloud is controversial because it is outdated and has security issues. Unfortunately, it is the only one that enables the features described above. ImageMagick is e.g. also used by WordPress. Imagick isn&#8217;t supported by every hosting provider either.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Assign standard phone region<\/h3>\n\n\n\n<p>In Nextcloud 21 there is a new message in the security and setup warnings section:<br>No standard telephone region is set for your installation.<\/p>\n\n\n\n<p>This one is fixed easily. Open your Nextcloud config and add following line between the curly brackets:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" 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>Replcae AT with DE, GB 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<h2 class=\"wp-block-heading\">Adjust permissions<\/h2>\n\n\n\n<p>During the installation, the permissions for the Nextcloud folder and the data directory were set very loosely. This is necessary during the installation. For security reasons, the permissions should be set as strictly as possible for operation. Since you have to loosen the permissions again for an update, it is advisable to adjust the permissions via scripts. So use PuTTY to create a file with the extension .sh on your DiskStation. Then paste 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 to the single and double quotation marks again. 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\/Pfad\/zum\/Script\/Betriebsberechtigungen.sh<\/pre>\n\n\n\n<p>If you want to update your Nextcloud, you can adjust the permissions using the script from<a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-hub-installation-on-synology-diskstation-with-dsm-6-2\/\" data-type=\"post\" data-id=\"203\"> this article<\/a> and the new script before and after the update.<\/p>\n\n\n<style>.wp-block-kadence-column.kb-section-dir-horizontal > .kt-inside-inner-col > #kt-info-box_990e44-29 .kt-blocks-info-box-link-wrap{max-width:unset;}#kt-info-box_990e44-29 .kt-blocks-info-box-link-wrap{border-color:#b2ce96;border-radius:20px;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;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-box_990e44-29 .kt-blocks-info-box-link-wrap:hover{border-color:#b2ce96;background:#d9edc2;}#kt-info-box_990e44-29 .kadence-info-box-icon-container .kt-info-svg-icon, #kt-info-box_990e44-29 .kt-info-svg-icon-flip, #kt-info-box_990e44-29 .kt-blocks-info-box-number{font-size:50px;}#kt-info-box_990e44-29 .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-box_990e44-29 .kt-blocks-info-box-media .kadence-info-box-image-intrisic img{border-radius:200px;}#kt-info-box_990e44-29 .kt-blocks-info-box-link-wrap:hover .kt-blocks-info-box-media{color:#444444;background:#d9edc2;border-color:#eeeeee;}#kt-info-box_990e44-29 .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-box_990e44-29 .kt-blocks-info-box-learnmore{background:transparent;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;}<\/style>\n<div id=\"kt-info-box_990e44-29\" class=\"wp-block-kadence-infobox\"><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 style=\"display:block;justify-content:center;align-items:center\" class=\"kt-info-svg-icon kt-info-svg-icon-fe_checkCircle\"><svg style=\"display:inline-block;vertical-align:middle\" viewbox=\"0 0 24 24\" height=\"50\" width=\"50\" fill=\"none\" stroke=\"currentColor\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"><\/path><polyline points=\"22 4 12 14.01 9 11.01\"><\/polyline><\/svg><\/span><\/div><\/div><\/div><\/div><div class=\"kt-infobox-textcontent\"><h4 class=\"kt-blocks-info-box-title\">Script improvements<\/h4><p class=\"kt-blocks-info-box-text\">Since the permissions of the data directory don&#8217;t have to be changed during an update, you can remove the lines, that concern the data directory, after the first execution. If the data directory contains many files and folders, the execution may take a few minutes. Time that you can save yourself during the updates.<\/p><\/div><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Issues that cannot be solved or can only be solved to a limited extent<\/h2>\n\n\n\n<p>So far, the security warnings and operating recommendations could be removed with relatively little effort. But now we come to the uncomfortable part. There are messages that cannot currently be resolved on the DiskStation, or only to a limited extent.<\/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 configured correctly to resolve&#8221; .\/well-known\/caldav &#8220;(or .\/well-known\/carddav).&#8221; Only appears if you have not configured a virtual host for Nextcloud. Since the default values for the URLs specified by Nextcloud are based on the document root, but Nextcloud is located in a subdirectory. If you have created a virtual host, the subdirectory is mage the root folder and therefore everything is fine. Usually there are many different ways to solve the problem simply by adding the subfolder to the URL. For reasons not yet known, this doesn&#8217;t work on Synology NAS devices. So you only have to set up a virtual host for Nextcloud, or to install Nextcloud directly in the document root (\/web). The former means you need a host (subdomain) for Nextcloud alone, the latter 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>If you have eliminated all messages (if they can be eliminated) and have adjusted the permissions, nothing stands in the way of operating your own cloud. At least until the next update. Because then new messages are probably waiting to be eliminated by you.<\/p>\n\n\n\n<p>The development cycle of Nextcloud is quite short and besides the regular updates, new major versions wait to be installed twice a year. The messages that you receive in the Nextcloud overview depend heavily on which version you are installing, whether you are performing an update and which versions you have 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 you can leave me a comment.<\/p>\n\n\n<div class=\"crp-list-container\"><h3 class=\"crp-list-title\">Related Posts<\/h3><div class=\"crp-list\"><div class=\"crp-list-item crp-list-item-image-left crp-list-item-has-image\"><div class=\"crp-list-item-image\"><a href=\"https:\/\/blog.viking-studios.net\/en\/nextcloud-and-synology-cron-stops-executing\/\"><img loading=\"lazy\" decoding=\"async\" data-pin-nopin=\"true\" style=\"max-width: 50px; height: auto;\" width=\"50\" height=\"25\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-150x75.jpg\" class=\"attachment-50x50 size-50x50\" alt=\"Nextcloud on Synology DiskStation\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-150x75.jpg 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-300x150.jpg 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-768x384.jpg 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno.jpg 900w\" sizes=\"auto, (max-width: 50px) 100vw, 50px\" \/><\/a><\/div><div class=\"crp-list-item-title\"><a href=\"https:\/\/blog.viking-studios.net\/en\/nextcloud-and-synology-cron-stops-executing\/\">Nextcloud and Synology: Cron stops executing<\/a><\/div><\/div><div class=\"crp-list-item crp-list-item-image-left crp-list-item-has-image\"><div class=\"crp-list-item-image\"><a href=\"https:\/\/blog.viking-studios.net\/en\/nextcloud-installation-on-a-synology-diskstation-with-dsm-7-0\/\"><img loading=\"lazy\" decoding=\"async\" data-pin-nopin=\"true\" style=\"max-width: 50px; height: auto;\" width=\"50\" height=\"25\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-150x75.jpg\" class=\"attachment-50x50 size-50x50\" alt=\"Nextcloud on Synology DiskStation\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-150x75.jpg 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-300x150.jpg 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-768x384.jpg 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno.jpg 900w\" sizes=\"auto, (max-width: 50px) 100vw, 50px\" \/><\/a><\/div><div class=\"crp-list-item-title\"><a href=\"https:\/\/blog.viking-studios.net\/en\/nextcloud-installation-on-a-synology-diskstation-with-dsm-7-0\/\">Nextcloud installation on a Synology DiskStation with DSM 7.0<\/a><\/div><\/div><div class=\"crp-list-item crp-list-item-image-left crp-list-item-has-image\"><div class=\"crp-list-item-image\"><a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-hub-installation-on-synology-diskstation-with-dsm-6-2\/\"><img loading=\"lazy\" decoding=\"async\" data-pin-nopin=\"true\" style=\"max-width: 50px; height: auto;\" width=\"50\" height=\"25\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-150x75.jpg\" class=\"attachment-50x50 size-50x50\" alt=\"Nextcloud on Synology DiskStation\" srcset=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-150x75.jpg 150w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-300x150.jpg 300w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno-768x384.jpg 768w, https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/Titel_Nextcloud_Syno.jpg 900w\" sizes=\"auto, (max-width: 50px) 100vw, 50px\" \/><\/a><\/div><div class=\"crp-list-item-title\"><a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-hub-installation-on-synology-diskstation-with-dsm-6-2\/\">Nextcloud Hub Installation on Synology DiskStation with DSM 6.2 [Update March 2021]<\/a><\/div><\/div><div class=\"crp-list-item crp-list-item-image-left crp-list-item-has-image\"><div class=\"crp-list-item-image\"><a href=\"https:\/\/blog.viking-studios.net\/en\/tutorial-series-synology-diskstation-dsm6\/\"><img loading=\"lazy\" decoding=\"async\" data-pin-nopin=\"true\" style=\"max-width: 50px; height: auto;\" width=\"50\" height=\"50\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2018\/11\/synology_ds215-150x150.png\" class=\"attachment-50x50 size-50x50\" alt=\"\" \/><\/a><\/div><div class=\"crp-list-item-title\"><a href=\"https:\/\/blog.viking-studios.net\/en\/tutorial-series-synology-diskstation-dsm6\/\">Tutorial series: Synology DiskStation (DSM6)<\/a><\/div><\/div><div class=\"crp-list-item crp-list-item-image-left crp-list-item-has-image\"><div class=\"crp-list-item-image\"><a href=\"https:\/\/blog.viking-studios.net\/en\/external-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6\/\"><img loading=\"lazy\" decoding=\"async\" data-pin-nopin=\"true\" style=\"max-width: 50px; height: auto;\" width=\"50\" height=\"50\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2016\/12\/syno_next-150x150.jpg\" class=\"attachment-50x50 size-50x50\" alt=\"\" \/><\/a><\/div><div class=\"crp-list-item-title\"><a href=\"https:\/\/blog.viking-studios.net\/en\/external-access-on-a-diskstation-nextcloud-on-a-diskstation-dsm6\/\">External access on a DiskStation (Nextcloud on a DiskStation\/DSM6)<\/a><\/div><\/div><div class=\"crp-list-item crp-list-item-image-left crp-list-item-has-image\"><div class=\"crp-list-item-image\"><a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-update-on-a-synology-diskstation-and-dsm-6\/\"><img loading=\"lazy\" decoding=\"async\" data-pin-nopin=\"true\" style=\"max-width: 50px; height: auto;\" width=\"50\" height=\"50\" src=\"https:\/\/blog.viking-studios.net\/en\/wp-content\/uploads\/2016\/12\/syno_next-150x150.jpg\" class=\"attachment-50x50 size-50x50\" alt=\"\" \/><\/a><\/div><div class=\"crp-list-item-title\"><a href=\"https:\/\/blog.viking-studios.net\/en\/your-own-cloud-nextcloud-update-on-a-synology-diskstation-and-dsm-6\/\">Your own cloud: Nextcloud update  on a Synology DiskStation and DSM 6<\/a><\/div><\/div><\/div><\/div>\n\n\n<p><\/p>\n<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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F\" data-timestamp=\"1637658170\" 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-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F&text=Nextcloud%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D\" 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-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F&text=Nextcloud%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D\" 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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F%20Nextcloud%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D\" 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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F&subject=Nextcloud%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D\" 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-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F&media=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fwp-content%2Fuploads%2FTitel_Nextcloud_Syno.jpg&description=Nextcloud%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D\" 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-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F&title=Nextcloud%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D\" 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%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D&url=https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-hub-optimization-on-a-synology-diskstation-with-dsm-6%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%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%2F&title=Nextcloud%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D\" 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%20Hub%20optimization%20on%20a%20Synology%20DiskStation%20with%20DSM%206%20%5BUpdate%20April%202021%5D%20https%3A%2F%2Fblog.viking-studios.net%2Fen%2Fnextcloud-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%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-hub-optimization-on-a-synology-diskstation-with-dsm-6%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 last post was about installing Nextcloud on the DiskStation. After the installation, however, some adjustments should be made so that Nextcloud runs optimally and to increase security. In addition, depending on the environment, some error messages may appear. And that&#8217;s exactly what this post is about.<\/p>\n","protected":false},"author":1,"featured_media":199,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44,50,19,93,7],"tags":[20,21,22,105,106,23,95,96,107,108,25],"class_list":["post-274","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-howto","category-network","category-synology-diskstation","category-technology","tag-cloud","tag-diskstation","tag-dsm-6","tag-hsts","tag-imagick","tag-nextcloud","tag-nextcloud-19","tag-nextcloud-hub","tag-php-cache","tag-redis","tag-synology"],"_links":{"self":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/274","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=274"}],"version-history":[{"count":8,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/posts\/274\/revisions\/336"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/media\/199"}],"wp:attachment":[{"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/media?parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/categories?post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.viking-studios.net\/en\/wp-json\/wp\/v2\/tags?post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}