Ok so I’m not sure what happened but ever since I’ve upgraded to Version 20 I’ve been getting download failures on pretty much any of my external devices. (SMB/CIFS)
I got frustrated enough to drop the nextcloud database and start from scratch. I did a fresh install of Version 21 and got it up and running again with a new database. So fresh setup I added a smb share successfully. Tried to download a file and It failed.
I keep getting the following error messages in my nextcloud log:
[PHP] Error: Error: fread(): Icewind\SMB\Native\NativeReadStream::stream_read - read 93575 bytes more data than requested (101767 read, 8192 max) - excess data will be lost at /var/www/html/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php#55 at <<closure>>
0. <<closure>>
OC\Log\ErrorHandler::onError(2, "fread(): Icewin ... t", "/var/www/html/n ... p", 55, {count: 8192})
1. /var/www/html/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php line 55
fread(null, 8192)
2. /var/www/html/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php line 96
Icewind\Streams\Wrapper->stream_read(8192)
3. <<closure>>
Icewind\Streams\CallbackWrapper->stream_read(8192)
4. /var/www/html/nextcloud/3rdparty/sabre/http/lib/Sapi.php line 112
stream_copy_to_stream(null, null, 355719)
5. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 490
Sabre\HTTP\Sapi::sendResponse(Sabre\HTTP\Response {})
6. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
7. /var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
8. /var/www/html/nextcloud/apps/dav/appinfo/v1/webdav.php line 84
Sabre\DAV\Server->exec()
9. /var/www/html/nextcloud/remote.php line 167
require_once("/var/www/html/n ... p")
GET /nextcloud/remote.php/webdav/KeePassDB/Database.kdbx?downloadStartSecret=5tvtv6f60cv
from 10.0.0.1 by admin at 2021-04-15T21:09:01+00:00
My config.php file:
<?php
$CONFIG = array (
'instanceid' => '****',
'passwordsalt' => '****
'trusted_domains' =>
array (
0 => '*****',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'mysql',
'version' => '21.0.1.1',
'overwrite.cli.url' => 'https://****/nextcloud',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'oc_admin2',
'dbpassword' => '*****',
'installed' => true,
);
Any help would be appreciated!