Nextcloud version : 19.0.0
Operating system and version: UBUNTU 18.04.4 LTS (Bionic Beaver)
PHP version: 7.2.24
The issue you are facing:
We used to use webdav client (Raidrive, Windows) to access files on nextcloud trough drive Letter (eg. Z:). We have updated from 18.0.5 to 19.0.0 and problems occures. All files copied via connected disk drive are 0 size. The 0 appears although in webinterface.
I have opened oc_filecache table and there is also 0 for files copied via webdav. The size was not updated. On nextcloud physical storage the size of files are ok and also the content is ok. The problem probably is in updating of record in oc_filecache if webdav interface is used.
Web interface does not have this bug. There is all ok.
Is there any solution to solve size updating if webdav is used for copying files to nextcloud?
Where is the place in source code to do any change?
Is this the first time you’ve seen this error?: Yes
Steps to replicate it:
- Run WebDAV client and create connection to NC instance
- Copy some files to NC
- Files have zero size, the 0 is in also in oc_filecache
- The physical storage show the proper size of files and content is OK
The output of your Nextcloud log in Admin > Logging:
Nothing relevant. Also any errors if log is recreated.
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
Nothing relevant, changes weren’t changed before and after update.
The output of your Apache/nginx/system log in
Nothing relevant. The webdav properly copies files to server, but after that the oc_filecache is not properly updated.