Settings error appears to be regarding webdav

without changing anything, I got the following warning on the overview page:
“Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken.”

One site suggested an upgrade so I upgraded to the latest verion of Nextcloud and not improvement. The site works from the web and seems to work from the client but still have the error I can’t get rid of.

[/details]

Nextcloud version (eg, 18.0.6):
Operating system and version Centos 7:
Apache or nginx version Apache/2.4.43:
PHP version (eg, 7.3):

Is this the first time you’ve seen this error? Y:

Steps to replicate it:

  1. Run overview from the web

The output of your Nextcloud log in Admin > Logging:

This seems to be relevant to the issue.
Permissions seem to be OK.

{"reqId":"Xv@cvvT3f6KDHy5H5Y5rCgAAAMk","level":3,"time":"2020-07-03T21:01:50+00:00","remoteAddr":"67.60.168.59","user":"joe","app":"PHP","method":"GET","url":"/index.php/settings/admin/overview","message":"file_get_contents(/var/nc_data/news/config/config.ini): failed to open stream: No such file or directory at /home/d4x/public_html/nextcloud/lib/private/Files/Storage/Local.php#218","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.6.0"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '*****************',
  'passwordsalt' => '*****************************',
  'secret' => '**************************',
  'trusted_domains' => 
  array (
    0 => 'cl.d4x.biz',
  ),
  'datadirectory' => '/var/nc_data',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'dbtype' => 'mysql',
  'version' => '18.0.6.0',
  'overwrite.cli.url' => 'https://cl.d4x.biz',
  'dbname' => '*********',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '********',
  'dbpassword' => '******',
  'installed' => true,
  'loglevel' => 2,
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'cissa',
  'mail_domain' => 'bram.net',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'mail.bram.net',
  'mail_smtpport' => '587',
  'mail_smtpname' => 'cissa@bram.net',
  'mail_smtppassword' => 'Kendos48@',
  'updater.secret' => '*******************',
  'theme' => '',
  'app_install_overwrite' => 
  array (
    0 => 'admin_notifications',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

[Fri Jul 03 14:58:40.409698 2020] [authz_core:error] [pid 30625:tid 47131857569536] [client 46.229.168.161:21934] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 14:58:53.556918 2020] [authz_core:error] [pid 30597:tid 47131744302848] [client 46.229.168.136:40314] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 14:59:35.644308 2020] [authz_core:error] [pid 30597:tid 47131863873280] [client 46.229.168.137:3414] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 14:59:47.195071 2020] [authz_core:error] [pid 30709:tid 47131744302848] [client 46.229.168.129:60012] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 14:59:47.696621 2020] [access_compat:error] [pid 30653:tid 47131744302848] [client 67.60.168.59:54830] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 14:59:49.758381 2020] [authz_core:error] [pid 30625:tid 47131744302848] [client 46.229.168.142:52504] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:00:05.365929 2020] [authz_core:error] [pid 30653:tid 47131746404096] [client 46.229.168.145:31290] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:00:15.963408 2020] [authz_core:error] [pid 30625:tid 47131750606592] [client 46.229.168.130:18674] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:00:19.162675 2020] [access_compat:error] [pid 30709:tid 47131750606592] [client 67.60.168.59:54833] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:00:37.641916 2020] [authz_core:error] [pid 30653:tid 47131748505344] [client 46.229.168.143:2128] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:00:44.736817 2020] [authz_core:error] [pid 30676:tid 47131750606592] [client 46.229.168.132:7798] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:00:50.614793 2020] [access_compat:error] [pid 30625:tid 47131754809088] [client 67.60.168.59:54836] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:01:13.756803 2020] [authz_core:error] [pid 30597:tid 47131756910336] [client 46.229.168.130:56648] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:01:22.657724 2020] [access_compat:error] [pid 30653:tid 47131752707840] [client 67.60.168.59:54840] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:01:54.683767 2020] [access_compat:error] [pid 30709:tid 47131832354560] [client 67.60.168.59:54874] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:01:55.047431 2020] [:error] [pid 30653:tid 47131761112832] [client 67.60.168.59:54862] [client 67.60.168.59] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(?i)((?:\\\\bx(?:link:href|html|mlns)|!ENTITY\\\\b.*?\\\\b(?:SYSTEM|PUBLIC)|\\\\bdata:text\\\\/html))" at ARGS:<?xml version. [file "/etc/apache2/conf.d/modsec_vendor_configs/comodo_apache/07_XSS_XSS.conf"] [line "173"] [id "213060"] [rev "5"] [msg "COMODO WAF: XSS Filter - Category 3: Attribute Vector||cl.d4x.biz|F|2"] [severity "CRITICAL"] [tag "CWAF"] [tag "XSS"] [hostname "cl.d4x.biz"] [uri "/remote.php/webdav"] [unique_id "Xv@cw7cDBaJrFJESUkwWJwAAAIg"]
[Fri Jul 03 15:01:55.220886 2020] [:error] [pid 30709:tid 47131834455808] [client 67.60.168.59:54877] [client 67.60.168.59] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(?i)((?:\\\\bx(?:link:href|html|mlns)|!ENTITY\\\\b.*?\\\\b(?:SYSTEM|PUBLIC)|\\\\bdata:text\\\\/html))" at ARGS:<?xml version. [file "/etc/apache2/conf.d/modsec_vendor_configs/comodo_apache/07_XSS_XSS.conf"] [line "173"] [id "213060"] [rev "5"] [msg "COMODO WAF: XSS Filter - Category 3: Attribute Vector||cl.d4x.biz|F|2"] [severity "CRITICAL"] [tag "CWAF"] [tag "XSS"] [hostname "cl.d4x.biz"] [uri "/index.php/apps/files/"] [unique_id "Xv@cw0DSBM1BDE4xQ2FiugAAAQo"]
[Fri Jul 03 15:02:07.512473 2020] [authz_core:error] [pid 30625:tid 47131836557056] [client 46.229.168.134:38428] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:02:26.510003 2020] [access_compat:error] [pid 30597:tid 47131840759552] [client 67.60.168.59:54884] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:02:28.612790 2020] [authz_core:error] [pid 30625:tid 47131842860800] [client 46.229.168.136:16398] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:02:58.653074 2020] [access_compat:error] [pid 30597:tid 47131832354560] [client 67.60.168.59:54887] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:03:10.410996 2020] [authz_core:error] [pid 30625:tid 47131847063296] [client 46.229.168.146:29962] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:03:30.500718 2020] [access_compat:error] [pid 30625:tid 47131834455808] [client 67.60.168.59:54890] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:03:50.767478 2020] [authz_core:error] [pid 30597:tid 47131849164544] [client 46.229.168.161:18412] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:03:58.082819 2020] [authz_core:error] [pid 30709:tid 47131851265792] [client 46.229.168.146:39120] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:04:02.638220 2020] [access_compat:error] [pid 30597:tid 47131847063296] [client 67.60.168.59:54902] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:04:05.488397 2020] [access_compat:error] [pid 30625:tid 47131849164544] [client 67.60.168.59:54903] AH01797: client denied by server configuration: /home/d4x/public_html/nextcloud/config
[Fri Jul 03 15:04:08.417773 2020] [authz_core:error] [pid 30709:tid 47131847063296] [client 46.229.168.143:58480] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:04:48.933140 2020] [authz_core:error] [pid 30653:tid 47131842860800] [client 46.229.168.142:22496] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:04:59.893994 2020] [authz_core:error] [pid 30676:tid 47131855468288] [client 46.229.168.136:35614] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:05:17.179681 2020] [authz_core:error] [pid 30709:tid 47131861772032] [client 46.229.168.151:48320] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:05:19.776943 2020] [authz_core:error] [pid 30625:tid 47131861772032] [client 46.229.168.137:52860] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:05:29.621679 2020] [authz_core:error] [pid 30653:tid 47131861772032] [client 46.229.168.134:36644] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:05:34.986864 2020] [authz_core:error] [pid 30597:tid 47131863873280] [client 46.229.168.132:31796] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:05:57.320303 2020] [authz_core:error] [pid 30625:tid 47131744302848] [client 46.229.168.150:9346] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:06:07.199811 2020] [authz_core:error] [pid 30709:tid 47131746404096] [client 46.229.168.161:56256] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:06:35.661614 2020] [authz_core:error] [pid 30653:tid 47131750606592] [client 46.229.168.147:38240] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:07:29.671594 2020] [authz_core:error] [pid 30625:tid 47131754809088] [client 46.229.168.162:43238] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:08:32.016434 2020] [authz_core:error] [pid 30676:tid 47131759011584] [client 46.229.168.162:40626] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:08:55.729245 2020] [authz_core:error] [pid 30709:tid 47131832354560] [client 46.229.168.150:30336] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:09:00.759913 2020] [authz_core:error] [pid 30597:tid 47131834455808] [client 46.229.168.148:56348] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:09:25.911191 2020] [authz_core:error] [pid 30597:tid 47131838658304] [client 46.229.168.150:44008] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:09:40.579188 2020] [authz_core:error] [pid 30709:tid 47131761112832] [client 46.229.168.152:11820] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:09:48.142832 2020] [authz_core:error] [pid 30625:tid 47131836557056] [client 46.229.168.133:41420] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:10:21.559937 2020] [authz_core:error] [pid 30653:tid 47131840759552] [client 46.229.168.136:33476] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:10:37.035012 2020] [authz_core:error] [pid 30709:tid 47131842860800] [client 46.229.168.138:36862] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:10:44.079522 2020] [authz_core:error] [pid 30597:tid 47131844962048] [client 46.229.168.150:40928] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:10:52.229782 2020] [authz_core:error] [pid 30709:tid 47131844962048] [client 46.229.168.134:45902] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:11:10.308865 2020] [authz_core:error] [pid 30625:tid 47131844962048] [client 46.229.168.151:11402] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:11:20.903427 2020] [:error] [pid 30676:tid 47131842860800] [client 67.60.168.59:50433] [client 67.60.168.59] ModSecurity: Access denied with code 403 (phase 2). Invalid URL Encoding: Non-hexadecimal digits used at REQUEST_URI. [file "/etc/apache2/conf.d/modsec_vendor_configs/comodo_apache/12_HTTP_Protocol.conf"] [line "82"] [id "210381"] [rev "6"] [msg "COMODO WAF: URL Encoding Abuse Attack Attempt||cl.d4x.biz|F|4"] [data "REQUEST_URI=/remote.php/dav/files/cissa/Pictures/iPhoto Library.photolibrary/Database/Versions/2000/01/01/20000101-040202/GYnPAkFoRPy6Y%ovDnYyXw"] [severity "WARNING"] [tag "CWAF"] [tag "Protocol"] [hostname "cl.d4x.biz"] [uri "/remote.php/dav/files/cissa/Pictures/iPhoto Library.photolibrary/Database/Versions/2000/01/01/20000101-040202/GYnPAkFoRPy6Y%ovDnYyXw"] [unique_id "Xv@e@PT3f6KDHy5H5Y5suQAAAM4"]
[Fri Jul 03 15:11:24.578213 2020] [authz_core:error] [pid 30676:tid 47131849164544] [client 46.229.168.133:13390] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:11:32.422620 2020] [authz_core:error] [pid 30625:tid 47131851265792] [client 46.229.168.136:13436] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:12:02.625535 2020] [authz_core:error] [pid 30653:tid 47131842860800] [client 46.229.168.141:49228] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:13:05.505946 2020] [authz_core:error] [pid 30709:tid 47131859670784] [client 46.229.168.129:37772] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:13:52.626376 2020] [authz_core:error] [pid 30653:tid 47131861772032] [client 46.229.168.129:43088] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:14:00.902927 2020] [authz_core:error] [pid 30676:tid 47131744302848] [client 46.229.168.133:54014] AH01630: client denied by server configuration: /home/d4x/public_html/error_log
[Fri Jul 03 15:14:19.952204 2020] [authz_core:error] [pid 30709:tid 47131746404096] [client 46.229.168.137:50652] AH01630: client denied by server configuration: /home/d4x/public_html/error_log