Open DSG5TRDD opened 1 year ago
Installation method Webinstallation on VPS
Nextcloud Server version 27.0.2
Operating system Ubuntu 22.0.4
PHP engine version PHP 8.1
Web server Apache
Database engine version MariaDB
Is this bug present after an update or on a fresh install? No
Are you using the Nextcloud Server Encryption module? No
Webbrowser
Windows Explorer
Connection to WebDAV:
What WebDAV implementation on the remote?
I'm afraid I don't know. The "1&1 OnlineSpeicher" is a free additional product to the DSL contract. It provides up to 100 GB of storage space, which can be connected via WebDAV, for example. Unfortunately, I could not find any further technical information.
https://hilfe-center.1und1.de/tarifoptionen-c85328/1und1-cloud-speicher-c84531/bedienen-c85548
Up to NextCloud 26.0.? the mounting worked without problems. I can't say exactly from which version the error occurred.
Okay, understood.
Are the folders with missing characters accessible from Nextcloud when you click them or does clicking on them fail?
If it fails, please set to your loglevel
to 2
and provide the stack trace/error from your Nextcloud log.
[webdav] Fehler: Sabre\DAV\Exception\ServiceUnavailable: Sabre\HTTP\ClientHttpException: Not Found at <<closure>>
0. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php line 78
OCA\DAV\Connector\Sabre\Directory->getChild()
1. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 971
Sabre\DAV\Tree->getNodeForPath()
2. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
Sabre\DAV\Server->getPropertiesIteratorForPath()
3. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
Sabre\DAV\Server->writeMultiStatus()
4. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
Sabre\DAV\Server->generateMultiStatus()
5. /var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPropFind()
6. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
Sabre\DAV\Server->emit()
7. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod()
8. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
9. /var/www/html/nextcloud/apps/dav/lib/Server.php line 364
Sabre\DAV\Server->exec()
10. /var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
11. /var/www/html/nextcloud/remote.php line 172
require_once("/var/www/html/n ... p")
PROPFIND /nextcloud/remote.php/dav/files/DSG5TRDD/Filme/arrer%20Braun
from 109.XXX.YYY.226 by DSG5TRDD at 2023-08-15T14:56:06+00:00
It fails in Webbrowser.
When I manually enter the address in Windows Explorer, I can open the subfolder.
Update to Nextcloud 27.1.1 successful, but the error is still there.
Thanks for the update. Two big clues you've provided are:
Up to NextCloud 26.0.? the mounting worked without problems. I can't say exactly from which version the error occurred.
It fails in Web browser When I manually enter the address in Windows Explorer, I can open the subfolder.
What WebDAV implementation on the remote?
I've reported the same issue with #40828 . I'm using a Synology NAS as remote storage for all my files.
Up to NextCloud 26.0.? the mounting worked without problems. I can't say exactly from which version the error occurred.
I've updated my server from NC 26.0.7 to NC 27.1.1. After the upgrade the issue appeared for the first time.
Are the folders with missing characters accessible from Nextcloud when you click them or does clicking on them fail?
I can confirm what @DSG5TRDD reported. The file/directory cannot be accessed by clicking on it using the Web GUI, but if I enter the correct path to the file in the Firefox address line, I can access it without any issue.
@joshtrichards Let me know if you need me to provide additional information. As described in my original incident report, the issue also appears if the "occ files:scan
" command is executed on the console. Therefore my assumption is, that there is an issue building the full path to a file or directory by combining the WebDAV path and the file name. I had in mind that we had a similar issue years ago and that something went wrong with the path length calculation, but I might be wrong.
cc @icewind1991
@joshtrichards @icewind1991 As described in my previous post, all files and directories below the mount point are displayed without the first two characters of their names. Today I found out, that a second mount, which I've created to directly access a directory below the initial one, shows its content without the first four character of their names.
mount1 -> mount-point-1/file-1 |
/file-2 | > first 2 characters not shown
mount2 -> mount-point-1/mount-point-2/file-3 |
/file-4 | > first 4 characters not shown
For me it looks like the function to build the directory paths contains an error and cuts of two character to much with every directory level. Additionally it seems that the database gets more and more corrupted with every directory scan. Directories cannot be accessed anymore and files are not found anymore.
@sorbaugh @joshtrichards @icewind1991 Could you already provide a rough estimation how likely it is that this issue will be fixed soon? I want to understand if it is worth to wait for a fix or if I should better try to downgrade my server to v26.x again to get the original function back. At the moment the file app functionality and desktop synchronization cannot be used reliable anymore and my users are already complaining about not being able to use the Nextcloud as they did in the past.
⚠️ This issue respects the following points: ⚠️
Bug description
An external storage is successfully mounted as WebDAV. The access works in principle. But in the subfolders the first two characters are missing. Both in Windows Explorer and in the browser.
Steps to reproduce
Expected behavior
I expected to be able to browse the folders and access the files.
Installation method
None
Nextcloud Server version
25
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response