Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5): 25.0.7
Operating system and version (eg, Ubuntu 20.04): Debian 11 (Bullseye)
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.56
PHP version (eg, 7.4): 8.0.28
The issue you are facing:
After update from Nextcloud 25.0.6 I have got the issue:
Your web server is not yet properly set up to allow file synchronisation, because the WebDAV interface seems to be broken.
I have checked once again by restore snapshot before update and WebDAV works with no issue. After update I have got the issue.
Is this the first time you’ve seen this error? (Y/N): YES
Steps to replicate it:
- Upgrade Nextcloud 25.0.6 to 25.0.7
The output of your Nextcloud log in Admin > Logging:
[webdav] Error: Error: Cannot use object of type OC\Files\Node\LazyUserFolder as array at <<closure>>
0. /var/www/html/nextcloud/apps/end_to_end_encryption/lib/E2EEnabledPathCache.php line 56
OCA\EndToEndEncryption\E2EEnabledPathCache->getEncryptedStates()
1. /var/www/html/nextcloud/apps/end_to_end_encryption/lib/Connector/Sabre/APlugin.php line 105
OCA\EndToEndEncryption\E2EEnabledPathCache->isE2EEnabledPath()
2. /var/www/html/nextcloud/apps/end_to_end_encryption/lib/Connector/Sabre/RedirectRequestPlugin.php line 187
OCA\EndToEndEncryption\Connector\Sabre\APlugin->isE2EEnabledPath()
3. /var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
OCA\EndToEndEncryption\Connector\Sabre\RedirectRequestPlugin->propFind()
4. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
Sabre\DAV\Server->emit()
5. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 984
Sabre\DAV\Server->getPropertiesByNode()
6. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
Sabre\DAV\Server->getPropertiesIteratorForPath()
7. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
Sabre\DAV\Server->writeMultiStatus()
8. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
Sabre\DAV\Server->generateMultiStatus()
9. /var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPropFind()
10. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
Sabre\DAV\Server->emit()
11. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod()
12. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
13. /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php line 85
Sabre\DAV\Server->exec()
14. /var/www/html/nextcloud/remote.php line 172
require_once("/var/www/html/n ... p")
PROPFIND /remote.php/webdav
from x.x.x.x by XYZ at 2023-05-26T11:20:25+00:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xyz',
'passwordsalt' => '***',
'secret' => '***',
'trusted_domains' =>
array (
0 => 'x.x.x.x',
1 => 'x.domain.com',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'log_type' => 'file',
'logfile' => '/var/log/nextcloud.log',
'loglevel' => 2,
'dbtype' => 'mysql',
'version' => '25.0.7.1',
'overwrite.cli.url' => 'http://x.x.x.x',
'dbname' => 'DB_NAME',
'dbhost' => 'DB_HOST',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'DB_USER',
'dbpassword' => '***',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'maintenance' => false,
'theme' => '',
'updater.release.channel' => 'stable',
'app_install_overwrite' =>
array (
0 => 'occweb',
1 => 'emlviewer',
2 => 'workflow_pdf_converter',
3 => 'bruteforcesettings',
4 => 'end_to_end_encryption',
5 => 'twofactor_admin',
),
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'default_phone_region' => 'XX',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'xxx',
'mail_domain' => 'xxx',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'xxx',
'mail_smtpport' => '465',
'mail_smtpname' => 'xxx@xxx.xxx',
'mail_smtppassword' => '***',
'updater.secret' => '*****',
);
The output of your Apache/nginx/system log in /var/log/____
:
[Fri May 26 12:43:59.617596 2023] [access_compat:error] [pid 1205869] [client x.x.x.x:8988] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Fri May 26 12:46:49.656395 2023] [ssl:error] [pid 1205958] [client x.x.x.x:7996] AH02031: Hostname xxx.xxx.xx provided via SNI, but no hostname provided in HTTP request
[Fri May 26 12:46:55.890310 2023] [access_compat:error] [pid 1205958] [client x.x.x.x:9139] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Fri May 26 12:51:19.138278 2023] [access_compat:error] [pid 1205865] [client x.x.x.x:9351] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Fri May 26 13:05:15.777306 2023] [access_compat:error] [pid 1206117] [client x.x.x.x:9829] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Fri May 26 13:20:25.677554 2023] [access_compat:error] [pid 1205952] [client x.x.x.x:10382] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Fri May 26 13:30:40.234644 2023] [access_compat:error] [pid 1206029] [client x.x.x.x:10724] AH01797: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
NO nextcloud.log file in place '/var/log/nextcloud.log'