Open burner- opened 2 years ago
@szaimen is there any information what I can collect to help resolve this issue?
not sure how rclone works but maybe there's a delay on the rclone Webdav side that makes it so that the file doesn't immediately appear, so the direct PROPFIND that Nextcloud does after an upload fails at first
if that's the case there isn't much that can be done on the Nextcloud side apart from delaying the recheck further or polling for some time which I wouldn't recommend to implement because it would affect performance, especially with lots of files
@PVince81 That was my first tough also. And that why I start with opening ticket to rclone. They did fix one bug what may have effect to this but it did not resolve issue. Anyway by looking rclone log and NC log it looks that it is not reason for this. By NC log it looks that nc will some how drop whole server handle when it try get that metadata. Look that "Storage with mount id 3 is not available" And at server side there is no any error at that point. And at server side with verbose logging it looks that all request what it get was successfull.
Here is error log for this. So it looks that after upload when it try get meta data it thinks that remote is down. At remote log there is no any indication that it even try get that metadata. `{ "reqId": "6wX3tiAu2uLnopSD2oTq", "level": 3, "time": "2023-02-10T19:06:40+00:00", "remoteAddr": "xxxxxxxxxxxxxxxxxxxxx", "user": "tapsa", "app": "webdav", "method": "PROPFIND", "url": "/remote.php/dav/files/tapsa/work/test/Testfile", "message": "Storage with mount id 3 is not available", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36", "version": "25.0.3.2", "exception": { "Exception": "Sabre\DAV\Exception\ServiceUnavailable", "Message": "Storage with mount id 3 is not available", "Code": 0, "Trace": [ { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php", "line": 78, "function": "getChild", "class": "OCA\DAV\Connector\Sabre\Directory", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php", "line": 73, "function": "getNodeForPath", "class": "Sabre\DAV\Tree", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php", "line": 73, "function": "getNodeForPath", "class": "Sabre\DAV\Tree", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php", "line": 971, "function": "getNodeForPath", "class": "Sabre\DAV\Tree", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php", "line": 1662, "function": "getPropertiesIteratorForPath", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php", "line": 1647, "function": "writeMultiStatus", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php", "line": 346, "function": "generateMultiStatus", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php", "line": 89, "function": "httpPropFind", "class": "Sabre\DAV\CorePlugin", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php", "line": 472, "function": "emit", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php", "line": 253, "function": "invokeMethod", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php", "line": 321, "function": "start", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/apps/dav/lib/Server.php", "line": 360, "function": "exec", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php", "line": 35, "function": "exec", "class": "OCA\DAV\Server", "type": "->" }, { "file": "/var/www/nextcloud/remote.php", "line": 171, "args": [ "/var/www/nextcloud/apps/dav/appinfo/v2/remote.php" ], "function": "require_once" } ], "File": "/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php", "Line": 220, "message": "Storage with mount id 3 is not available", "exception": {
},
"CustomMessage": "Storage with mount id 3 is not available"
} }`
⚠️ This issue respects the following points: ⚠️
Bug description
"Could not fetch file details" error after uploading file via web ui to external webdav folder. File wont appear to list but if I refresh page it appear.
Steps to reproduce
Expected behavior
file should appear to folder without error message without need to refresh page.
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Could not fetch file details "20220718.244000.Johteenhovipiha.mp4"
Looks that log say that mount is not available. Anyhow it is. And with page refresh upoaded file appears. And I can remove it wihtout any problem.