Php Error: fread(): (172931 read, 8192 max)

I have problem
**[Nextcloud] version 21.0.1
when trying to sync files through a mobile app

|Error|PHP|Error: fread(): Icewind\SMB\Native\NativeReadStream::stream_read - read 164739 bytes more data than requested (172931 read, 8192 max) - excess data will be lost at /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php#55

  1. <>OC\Log\ErrorHandler::onError()
  2. /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php - line 55:fread()
  3. /var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php - line 96:Icewind\Streams\Wrapper->stream_read()
  4. <>Icewind\Streams\CallbackWrapper->stream_read()
  5. /var/www/nextcloud/3rdparty/sabre/http/lib/Sapi.php - line 112:stream_copy_to_stream()
  6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 490:Sabre\HTTP\Sapi::sendResponse()
  7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:Sabre\DAV\Server->invokeMethod()
  8. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:Sabre\DAV\Server->start()
  9. /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php - line 84:Sabre\DAV\Server->exec()
  10. /var/www/nextcloud/remote.php - line 167:require_once("/var/www/ne … p")|

Hi, Thanks for your report!
This looks like Files on SMB-share corrupted while up- and downloading · Issue #26457 · nextcloud/server · GitHub

is there a link to the final solution?

It is pretty down below. See Files on SMB-share corrupted while up- and downloading · Issue #26457 · nextcloud/server · GitHub

2 Likes

thank you very much !!!

Want to confirm that the solution linked by szaimen worked for me.

Thanks!