Nextcloud version: 25.0.5
Operating system and version: Linux nextcloudpi 5.15.84-v8
Apache or nginx version: Server version: Apache/2.4.56 (Debian)
PHP version: 8.1.14
Any webdav request to move/delete/rename any file or folder ends with a 503 server error.
After renaming from a webdav mount in windows 11, the server in
/var/log/apache2/nc-access.log line says
MOVE /remote.php/dav/files/gilles/Documents/Etude%20SIDAS HTTP/2.0" 503 652 "-" "Microsoft-WebDAV-MiniRedir/10.0.19044
After renaming from “files” web app , the server in
/var/log/apache2/nc-access.log line says
MOVE /remote.php/dav/files/gilles/Documents/Etude%20SIDAS HTTP/2.0" 503 652 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
The files app in the NC web interface does not work better and ends with a notification like “Unable to rename “FILE XXX””
Is this the first time you’ve seen this error? : Y
Steps to replicate it:
- use the “files” NC web app to rename a file or folder
The output of your Nextcloud log in Admin > Logging:
Unfortunalely, no log at levels warning, error, fatal... appear !
My /var/www/nextcloud/config/config.php:
<?php
$CONFIG = array (
[...]
'trusted_domains' =>
array ( [many URLs, IP v4 or v6 addresses]
),
'datadirectory' => '/media/hd3/data',
'dbtype' => 'mysql',
'version' => '25.0.5.1',
'overwrite.cli.url' => 'https://XXX.ovh/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => 'secret',
'installed' => true,
'instanceid' => 'ocwn0g3teaag',
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'tempdirectory' => '/media/hd3/data/tmp',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'preview_max_memory' => '4096',
'preview_max_filesize_image' => '256',
'jpeg_quality' => '60',
'forcessl' => true,
'overwriteprotocol' => 'https',
'auth.bruteforce.protection.enabled' => false,
'csrf.optout' =>
array (
0 => '/^WebDAVFS/',
1 => '/^Microsoft-WebDAV-MiniRedir/',
),
'maintenance' => false,
'theme' => '',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_smtphost' => 'smtp.XXX',
'mail_smtpport' => '465',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'XXX',
'mail_domain' => 'XXX',
'updater.release.channel' => 'stable',
'trusted_proxies' =>
array (
11 => '127.0.0.1',
12 => '::1',
13 => 'XXX',
[...]
),
'debug' => false,
'logfile' => '/media/hd3/data/nextcloud.log',
'loglevel' => 1,
'data-fingerprint' => '396f49904c922a82d5e2d5b5596dae8f',
);
The output of Apache2 NC log in /var/log/apache2/nc-access.log
:
192.168.0.254 - - [15/Apr/2023:21:14:56 +0200] "PROPFIND /remote.php/dav/files/gilles HTTP/2.0" 207 6044 "-" "Microsoft-WebDAV-MiniRedir/10.0.19044"
192.168.0.254 - - [15/Apr/2023:21:14:56 +0200] "PROPFIND /remote.php/dav/files/gilles/Documents/Etude%20SIDAS HTTP/2.0" 207 1335 "-" "Microsoft-WebDAV-MiniRedir/10.0.19044"
192.168.0.254 - - [15/Apr/2023:21:14:56 +0200] "MOVE /remote.php/dav/files/gilles/Documents/Etude%20SIDAS HTTP/2.0" 503 652 "-" "Microsoft-WebDAV-MiniRedir/10.0.19044"
192.168.0.254 - - [15/Apr/2023:21:14:56 +0200] "PROPFIND /remote.php/dav/files/gilles/Documents/Etude%20SIDAS HTTP/2.0" 207 1335 "-" "Microsoft-WebDAV-MiniRedir/10.0.19044"
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.
Nothing related to the error...