You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the 👍 reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Steps to reproduce
Add a large folder (27 GB +) containing 11.000 pictures and videos in Nextcloud desktop.
Upload seems to run okay.
Expected behaviour
Everything should run smoothly, no error message should appear in Nextcloud desktop. No file should be deleted.
Actual behaviour
"File is empty, although server reported x size" message appears in Nextcloud desktop. File is removed locally in my computer but exists in the server.
Server configuration
Operating system: Debian 10
Web server: apache2
Database: PostgreSQL
PHP version: 7.4.X
Nextcloud version: 19.0.0 (but pretty sure it existed also in 18.0.X)
Updated from an older Nextcloud/ownCloud or fresh install: fresh install (but pretty sure it existed too on my last installation upgraded from 18 to 19).
S3 is used as backend system. But on my previous installation I had the same problem with a SFTP external storage.
Are you using encryption: yes
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 77
Operating system: Fedora
Logs
Web server error log
Web server error log
Can't find any relevant log
Nextcloud log (data/nextcloud.log)
Nextcloud log
[no app in context] Error: Couldn't re-calculate unencrypted size for files/Photos/0000 - Numérisations/Numérisations/NUM1161.jpeg
GET /remote.php/dav/files/xxx/Photos/0000%20-%20Num%C3%A9risations/Num%C3%A9risations/NUM1161.jpeg
from 82.XX.64.XXX by xxx at 2020-07-04T18:57:31+00:00
[webdav] Fatal: Sabre\DAV\Exception\BadRequest: Expected filesize of 293879 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 229376 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side. at <<closure>>
0. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 154
OCA\DAV\Connector\Sabre\File->put(null)
1. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1104
OCA\DAV\Connector\Sabre\Directory->createFile("NUM739.jpg", null)
2. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 527
Sabre\DAV\Server->createFile("files/xxx/P ... g", null, null)
3. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
4. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 474
Sabre\DAV\Server->emit("method:PUT", [Sabre\HTTP\Requ ... }])
5. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 251
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
6. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
Sabre\DAV\Server->start()
7. /var/www/html/apps/dav/lib/Server.php line 320
Sabre\DAV\Server->exec()
8. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
9. /var/www/html/remote.php line 167
require_once("/var/www/html/a ... p")
PUT /remote.php/dav/files/xxx/Photos/0000%20-%20Num%C3%A9risations/Num%C3%A9risations/NUM739.jpg
from 82.XX.64.XXX by xxx at 2020-07-04T18:55:51+00:00
[webdav] Fatal: Sabre\DAV\Exception\BadRequest: Expected filesize of 314560 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side. at <<closure>>
0. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 154
OCA\DAV\Connector\Sabre\File->put(null)
1. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1104
OCA\DAV\Connector\Sabre\Directory->createFile("NUM744.jpg", null)
2. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 527
Sabre\DAV\Server->createFile("files/xxx/P ... g", null, null)
3. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
4. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 474
Sabre\DAV\Server->emit("method:PUT", [Sabre\HTTP\Requ ... }])
5. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 251
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
6. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
Sabre\DAV\Server->start()
7. /var/www/html/apps/dav/lib/Server.php line 320
Sabre\DAV\Server->exec()
8. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
9. /var/www/html/remote.php line 167
require_once("/var/www/html/a ... p")
PUT /remote.php/dav/files/xxx/Photos/0000%20-%20Num%C3%A9risations/Num%C3%A9risations/NUM744.jpg
from 82.XX.64.XXX by xxx at 2020-07-04T18:59:19+00:00
Browser log
Browser log
Can't find any relevant log
Strange thing is that I don't have this problem with any other synced folder.
Thank you !
The text was updated successfully, but these errors were encountered:
How to use GitHub
Steps to reproduce
Expected behaviour
Everything should run smoothly, no error message should appear in Nextcloud desktop. No file should be deleted.
Actual behaviour
"File is empty, although server reported x size" message appears in Nextcloud desktop. File is removed locally in my computer but exists in the server.
Server configuration
Operating system: Debian 10
Web server: apache2
Database: PostgreSQL
PHP version: 7.4.X
Nextcloud version: 19.0.0 (but pretty sure it existed also in 18.0.X)
Updated from an older Nextcloud/ownCloud or fresh install: fresh install (but pretty sure it existed too on my last installation upgraded from 18 to 19).
Where did you install Nextcloud from:
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one:
S3 is used as backend system. But on my previous installation I had the same problem with a SFTP external storage.
Are you using encryption: yes
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 77
Operating system: Fedora
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
Strange thing is that I don't have this problem with any other synced folder.
Thank you !
The text was updated successfully, but these errors were encountered: