Fatal webdav Sabre\DAV\Exception\BadRequest: expected filesize 10240000 got 245760

Hello,
Have errors appearing on my installation.
With my limited knowledge looking at the log it seem that there is also solution listed in it. But juts want to ask before I do changes accordingly.


Should I replace existing valves to ones marked in bold?

For example at the moment I’ve got:

  1. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 156
    $result = $node->put($data);
    So where $data must replaced with null ?

  2. /var/www/nextcloud/apps/dav/lib/Upload/UploadFolder.php line 39
    $this->node->createFile($name, $data);
    and here $name, $data to replace with "0000000399360000-0000000409599999", null?
    Or I’m completely misunderstanding this?
    Thank you for any reply.

(Just in case picture I have attached is not visible here is real log copied)
[webdav] Fatal: Sabre\DAV\Exception\BadRequest: expected filesize 10240000 got 245760 at <>

 0. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 156
    put(null)
 1. /var/www/nextcloud/apps/dav/lib/Upload/UploadFolder.php line 39
    createFile("0000000399360000-0000000409599999", null)
 2. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1096
    createFile("0000000399360000-0000000409599999", null)
 3. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 525
    createFile("uploads/are/b1a ... 9", null, null)
 4. <<closure>>
    httpPut(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
 5. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    call_user_func_array([Sabre\DAV\CorePlugin {},"httpPut"], [Sabre\HTTP\Requ ... }])
 6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
    emit("method:PUT", [Sabre\HTTP\Requ ... }])
 7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
    invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
 8. /var/www/nextcloud/apps/dav/lib/Server.php line 301
    exec()
 9. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    exec()
10. /var/www/nextcloud/remote.php line 163
    require_once("/var/www/nextcl ... p")

PUT /remote.php/dav/uploads/are/b1a57c85e5ca5d22e25150cb0bb15f94/0000000399360000-0000000409599999
from 2.24.163.171 by are at 2019-05-04T12:02:44+00:00