Checksums does not match after uploading with client(Linux) or web

Nextcloud version: 21.0.1
Operating system and version : docker-ce 20.10.2
Docker Image : nextcloud:21.0.1-apache
nginx (as Proxy): jwilder/nginx-proxy:0.8.0
PHP version : 7.4.18(bundled with image)
Hardware : ‘Asustor AS6204T’

NextCloudClient 3.2.1git on Arch linux

Nextcloud version 3.2.1git
Git revision 5901a0f9835261a640cd8bc9397bcd3068f2acd8
Using Qt 5.15.2, built against Qt 5.15.2
Using Qt platform plugin ‘xcb’
Using ‘OpenSSL 1.1.1k 25 Mar 2021’
Running on Arch Linux, x86_64

The issue you are facing:
Bigger files (the smallest i think was ~260 MB) don’t have the same checksum after upload. Checked with Checkum Addon and after download with sha256sum. Also a 440MB file which had the correct checksum
Same Problem with 20.0.9.1
Tested with the client. I copied a folder with multiple big and small files. The i removed the folder within settings and downloaded again und checked the checksums… some files wont download.

Is this the first time you’ve seen this error?: Y

Steps to replicate it:

  1. Setup Nextcloud:
nextcloud reverse proxy docker compose yml
networks:
  nextcloudnet:
    external: false
  WebNet:
    external:
      name: WebNet      

volumes:
  nextcloud-data:
    driver: local
  nextcloud-db:
    driver: local

services:
  nextcloud-db:
    image: mariadb:10.5.9
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    restart: always
    volumes:
      - nextcloud-db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=Password
      - MYSQL_PASSWORD=Password
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud      
    networks:
      - nextcloudnet
  app:
    image: nextcloud:21.0.1-apache
    #expose:
      #- "32768"
    #ports:
      #- 32768:80
    links:
      - nextcloud-db
    volumes:
      - nextcloud-data:/var/www/html
    environment:
      - MYSQL_PASSWORD=Password
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud  
      - MYSQL_HOST=nextcloud-db  
      - NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.my-domain.de
      - VIRTUAL_HOST=nextcloud.my-domain.de
      #- VIRTUAL_PORT=32768
      - LETSENCRYPT_HOST=nextcloud.my-domain.de
      - LETSENCRYPT_EMAIL=mail@gmail.com
    networks:
      - nextcloudnet
      - WebNet
    restart: always
nginx reverse proxy docker compose yml
version: '2'
networks:
  WebNet:
    external: 
      name: WebNet
    

services:
  nginx-proxy-simple:
    image: jwilder/nginx-proxy:0.8.0
    container_name: nginx-proxy-simple
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - nginxconf:/etc/nginx/conf.d
      - nginxvhost:/etc/nginx/vhost.d
      - nginxhtml:/usr/share/nginx/html
      - nginxdhparam:/etc/nginx/dhparam
      - nginxcerts:/etc/nginx/certs:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
    restart: always
    networks:
      - WebNet

  letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion:2.0.2
    container_name: nginx-proxy-le-simple
    volumes_from:
      - nginx-proxy-simple
    volumes:
      - nginxcerts:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
    restart: always
    #environment:
      #- ACME_CA_URI=https://acme-staging-v02.api.letsencrypt.org/directory
      #- DEBUG=true
    networks:
      - WebNet
nginx vhost conf
## Start of configuration add by letsencrypt container location ^~ /.well-known/acme-challenge/ { auth_basic off; auth_request off; allow all; root /usr/share/nginx/html; try_files $uri =404; break; } ## End of configuration add by letsencrypt conFabian@PackEsel:/volume1/.@plugins/AppCentral/docker-ce/docker_lib/volumes/nginxvhost/_data $ cat nextcloud2.fabis-matrix.de 
## Start of configuration add by letsencrypt container
location ^~ /.well-known/acme-challenge/ {
    auth_basic off;
    auth_request off;
    allow all;
    root /usr/share/nginx/html;
    try_files $uri =404;
    break;
}
## End of configuration add by letsencrypt container
client_max_body_size 8g;
proxy_request_buffering off;
fastcgi_request_buffering off;
fastcgi_read_timeout 3000;
proxy_read_timeout 3000;
nginx config.php of Nextcloud 21.0.1.1
<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
  'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'nextcloud.MyDomain.de',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '21.0.1.1',
  'overwrite.cli.url' => 'nextcloud.MyDomain.de',
  'dbname' => 'nextcloud',
  'dbhost' => 'nextcloud-db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
  'installed' => true,
  'mail_domain' => 'gmail.com',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'myMail',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'myMail@gmail.com',
  'mail_smtppassword' => 'bvaziogojcaaizgu',
  'overwriteprotocol' => 'https',
  'default_phone_region' => 'DE',
);
nginx config.php of Nextcloud 20.0.9.1
<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
  'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'nextcloud2.MyDomain.de',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '20.0.9.1',
  'overwrite.cli.url' => 'http://nextcloud2.MyDomain.de',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => 'nextcloud-db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '2p89tuvFDHFgwnh7zver6187',
  'installed' => true,
);
  1. upload a big file
  2. Check Checksum

The output of your Nextcloud log in Admin > Logging:

[PHP] Error: Error: fread(): read of 8192 bytes failed with errno=5 Input/output error at /var/www/html/3rdparty/icewind/streams/src/Wrapper.php#91 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError(8, "fread(): read o ... r", "/var/www/html/3 ... p", 91, {count: 8192})
 1. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
 2. /var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php line 98
    Icewind\Streams\Wrapper->stream_read(8192)
 3. <<closure>>
    Icewind\Streams\CallbackWrapper->stream_read(8192)
 4. /var/www/html/apps/dav/lib/Upload/AssemblyStream.php line 151
    fread(null, 8192)
 5. <<closure>>
    OCA\DAV\Upload\AssemblyStream->stream_read(8192)
 6. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
 7. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 64
    Icewind\Streams\Wrapper->stream_read(8192)
 8. <<closure>>
    OC\Files\Stream\HashWrapper->stream_read(8192)
 9. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
10. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 64
    Icewind\Streams\Wrapper->stream_read(8192)
11. <<closure>>
    OC\Files\Stream\HashWrapper->stream_read(8192)
12. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
13. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 64
    Icewind\Streams\Wrapper->stream_read(8192)
14. <<closure>>
    OC\Files\Stream\HashWrapper->stream_read(8192)
15. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
16. /var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php line 98
    Icewind\Streams\Wrapper->stream_read(8192)
17. <<closure>>
    Icewind\Streams\CallbackWrapper->stream_read(8192)
18. /var/www/html/lib/private/Files/Storage/Local.php line 555
    file_put_contents("/var/www/html/d ... t", null)
19. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 627
    OC\Files\Storage\Local->writeStream("files/Studium A ... t", null, null)
20. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 207
    OC\Files\Storage\Wrapper\Wrapper->writeStream("files/Studium A ... t", null)
21. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 156
    OCA\DAV\Connector\Sabre\File->put(null)
22. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 311
    OCA\DAV\Connector\Sabre\Directory->createFile("MobileSecurity2020-s004.vmdk", null)
23. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 135
    Sabre\DAV\Tree->copyNode(OCA\DAV\Upload\FutureFile {}, OCA\DAV\Connector\Sabre\Directory {}, "MobileSecurity2020-s004.vmdk")
24. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 167
    Sabre\DAV\Tree->copy("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
25. /var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php line 95
    Sabre\DAV\Tree->move("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
26. /var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php line 77
    OCA\DAV\Upload\ChunkingPlugin->performMove("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
27. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Upload\ChunkingPlugin->beforeMove("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
28. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 632
    Sabre\DAV\Server->emit("beforeMove", ["uploads/fabian ... "])
29. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpMove(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
30. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 474
    Sabre\DAV\Server->emit("method:MOVE", [Sabre\HTTP\Requ ... }])
31. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 251
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
32. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Sabre\DAV\Server->start()
33. /var/www/html/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
34. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
35. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

MOVE /remote.php/dav/uploads/fabian/2135839795/.file
from 88.134.37.196 by fabian at 2021-05-20T20:29:34+00:00

[no app in context] Error: Exception: Stream from assembly node shorter than expected, got 75653120 bytes, expected 100000000 at <<closure>>

 0. <<closure>>
    OCA\DAV\Upload\AssemblyStream->stream_read(8192)
 1. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
 2. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 64
    Icewind\Streams\Wrapper->stream_read(8192)
 3. <<closure>>
    OC\Files\Stream\HashWrapper->stream_read(8192)
 4. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
 5. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 64
    Icewind\Streams\Wrapper->stream_read(8192)
 6. <<closure>>
    OC\Files\Stream\HashWrapper->stream_read(8192)
 7. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
 8. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 64
    Icewind\Streams\Wrapper->stream_read(8192)
 9. <<closure>>
    OC\Files\Stream\HashWrapper->stream_read(8192)
10. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 91
    fread(null, 8192)
11. /var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php line 98
    Icewind\Streams\Wrapper->stream_read(8192)
12. <<closure>>
    Icewind\Streams\CallbackWrapper->stream_read(8192)
13. /var/www/html/lib/private/Files/Storage/Local.php line 555
    file_put_contents("/var/www/html/d ... t", null)
14. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 627
    OC\Files\Storage\Local->writeStream("files/Studium A ... t", null, null)
15. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 207
    OC\Files\Storage\Wrapper\Wrapper->writeStream("files/Studium A ... t", null)
16. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 156
    OCA\DAV\Connector\Sabre\File->put(null)
17. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 311
    OCA\DAV\Connector\Sabre\Directory->createFile("MobileSecurity2020-s004.vmdk", null)
18. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 135
    Sabre\DAV\Tree->copyNode(OCA\DAV\Upload\FutureFile {}, OCA\DAV\Connector\Sabre\Directory {}, "MobileSecurity2020-s004.vmdk")
19. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 167
    Sabre\DAV\Tree->copy("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
20. /var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php line 95
    Sabre\DAV\Tree->move("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
21. /var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php line 77
    OCA\DAV\Upload\ChunkingPlugin->performMove("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
22. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Upload\ChunkingPlugin->beforeMove("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
23. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 632
    Sabre\DAV\Server->emit("beforeMove", ["uploads/fabian ... "])
24. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpMove(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
25. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 474
    Sabre\DAV\Server->emit("method:MOVE", [Sabre\HTTP\Requ ... }])
26. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 251
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
27. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Sabre\DAV\Server->start()
28. /var/www/html/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
29. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
30. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

MOVE /remote.php/dav/uploads/fabian/2135839795/.file
from 88.134.37.196 by fabian at 2021-05-20T20:29:34+00:00

[webdav] Fatal: Sabre\DAV\Exception: Stream from assembly node shorter than expected, got 75653120 bytes, expected 100000000 at <<closure>>

 0. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 260
    OCA\DAV\Connector\Sabre\File->convertToSabreException(Exception {})
 1. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 156
    OCA\DAV\Connector\Sabre\File->put(null)
 2. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 311
    OCA\DAV\Connector\Sabre\Directory->createFile("MobileSecurity2020-s004.vmdk", null)
 3. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 135
    Sabre\DAV\Tree->copyNode(OCA\DAV\Upload\FutureFile {}, OCA\DAV\Connector\Sabre\Directory {}, "MobileSecurity2020-s004.vmdk")
 4. /var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php line 167
    Sabre\DAV\Tree->copy("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
 5. /var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php line 95
    Sabre\DAV\Tree->move("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
 6. /var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php line 77
    OCA\DAV\Upload\ChunkingPlugin->performMove("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
 7. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Upload\ChunkingPlugin->beforeMove("uploads/fabian/2135839795/.file", "files/fabian/St ... k")
 8. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 632
    Sabre\DAV\Server->emit("beforeMove", ["uploads/fabian ... "])
 9. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpMove(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
10. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 474
    Sabre\DAV\Server->emit("method:MOVE", [Sabre\HTTP\Requ ... }])
11. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 251
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
12. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Sabre\DAV\Server->start()
13. /var/www/html/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
14. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
15. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

MOVE /remote.php/dav/uploads/fabian/2135839795/.file
from 88.134.37.196 by fabian at 2021-05-20T20:29:34+00:00

[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/html/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/html/apps/dav/lib/Connector/Sabre/File.php#691 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError(2, "Cannot modify h ... )", "/var/www/html/a ... p", 691, {string: "X-Hash ... "})
 1. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 691
    header("X-Hash-SHA256:  ... e")
 2. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 195
    OCA\DAV\Connector\Sabre\File->header("X-Hash-SHA256:  ... e")
 3. <<closure>>
    OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre\{closure}("*** sensitive parameters replaced ***")
 4. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 71
    call_user_func(Closure {}, "*** sensitive parameter replaced ***")
 5. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
 6. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
 7. /var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php line 119
    Icewind\Streams\Wrapper->stream_close()
 8. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Icewind\Streams\CallbackWrapper->stream_close()
 9. /var/www/html/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
10. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
11. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

MOVE /remote.php/dav/uploads/fabian/2135839795/.file
from 88.134.37.196 by fabian at 2021-05-20T20:29:34+00:00

[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/html/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/html/apps/dav/lib/Connector/Sabre/File.php#691 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError(2, "Cannot modify h ... )", "/var/www/html/a ... p", 691, {string: "X-Hash ... "})
 1. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 691
    header("X-Hash-SHA1: 63 ... a")
 2. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 192
    OCA\DAV\Connector\Sabre\File->header("X-Hash-SHA1: 63 ... a")
 3. <<closure>>
    OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre\{closure}("*** sensitive parameters replaced ***")
 4. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 71
    call_user_func(Closure {}, "*** sensitive parameter replaced ***")
 5. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
 6. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
 7. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
 8. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
 9. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
10. /var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php line 119
    Icewind\Streams\Wrapper->stream_close()
11. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Icewind\Streams\CallbackWrapper->stream_close()
12. /var/www/html/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
13. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
14. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

MOVE /remote.php/dav/uploads/fabian/2135839795/.file
from 88.134.37.196 by fabian at 2021-05-20T20:29:34+00:00

[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /var/www/html/3rdparty/sabre/http/lib/Sapi.php:132) at /var/www/html/apps/dav/lib/Connector/Sabre/File.php#691 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError(2, "Cannot modify h ... )", "/var/www/html/a ... p", 691, {string: "X-Hash ... "})
 1. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 691
    header("X-Hash-MD5: f70 ... 5")
 2. /var/www/html/apps/dav/lib/Connector/Sabre/File.php line 189
    OCA\DAV\Connector\Sabre\File->header("X-Hash-MD5: f70 ... 5")
 3. <<closure>>
    OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre\{closure}("*** sensitive parameters replaced ***")
 4. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 71
    call_user_func(Closure {}, "*** sensitive parameter replaced ***")
 5. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
 6. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
 7. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
 8. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
 9. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
10. /var/www/html/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
11. <<closure>>
    OC\Files\Stream\HashWrapper->stream_close()
12. /var/www/html/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
13. /var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php line 119
    Icewind\Streams\Wrapper->stream_close()
14. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Icewind\Streams\CallbackWrapper->stream_close()
15. /var/www/html/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
16. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
17. /var/www/html/remote.php line 167
    require_once("/var/www/html/a ... p")

MOVE /remote.php/dav/uploads/fabian/2135839795/.file
from 88.134.37.196 by fabian at 2021-05-20T20:29:34+00:00

The output of your Apache/nginx/system log in /var/log/____:
Did not find something relevant here…

For any hints i would be happy :slight_smile:

Update:
I think i found the problem:
The RAM i installed was DDR3 instead of DDR3L memory…
Shortly after i posted ja problem, i deleted the broken folder over webdav…
And the whole Filesystem crashed. In the btrfs docu i found that this error might be caused by bad RAM.
So i replaced the RAM with some from a Laptop… And now i couldn’t reproduce it anymore. :partying_face:
I will open an issue… I think it shouldn’t be that files are saved corrupt.