Nextcloud (Dockerized behind Nginx reverse proxy) Dreaded error 504 on webdav and web client (Solved)

Good day to you all forum users ^^,

Nextcloud version : 22.2.0
Operating system and version : ubuntu 20.04 and nextcloud in docker container
Apache or nginx version : Apache/2.4.51 and nginx/1.20.1
PHP version : PHP 8.0.11 (cli) (built: Oct 14 2021 21:30:30) ( NTS )

I have a problem with NextCloud with basically all clients, it comes down to the dreaded 504 error.
I’ve tried making the timeouts longer, and I have come to no results it times out on 60 seconds nonetheless. (Reason being that the proxy config settings were not correct.)
I have seen the client do a full upload, time out, retry after that and do that 3 times. Then finally after wasting time, and bandwidth finalizes the upload which is not healthy.

As a general note, there may be other issues in here that could need fixing as well. some may have been done already but if you see them please comment on it.
As for the other clients (Windows and Filezilla pro) these still time out for some reason and fail the upload. I could try to see why these have issues also but I couldn’t find the issue. Though these also time out in their respectable UI’s.

Is this the first time you’ve seen this error? : No seen it on forums and GitHub bug threads

Steps to replicate it:

  1. install Nextcloud in a docker container with MySQL database also in a docker container. The file system below this is ZFS for the data storage.
  2. use Nginx as a reverse proxy in front of it to consolidate the traffic to one port. Config files made with digital ocean Nginx config maker.
  3. upload files larger than about 5 GB and you get timeouts in the clients and the web client
  4. make the timeouts larger and the biggest sizes that are allowed in config files, still get the same error. (Except the one in the proxy config file in Nginx)
  5. try with WebDAV able applications, these time out. (These still do time out not sure why)
  6. set the chunk size of chunked upload to 0 which will not disable this feature it will just upload 100MB files. (Checked in the uploading folder for the user in question.)
  7. don’t look at proxy settings in Nginx proxy settings and leave those at 60s

The output of your Nextcloud log in Admin > Logging:

I saw nothing at first in the logs though after a bit of waiting I see this in the logs of nextcloud:

{"reqId":"p5566DRC92Us9BjO1zZQ","level":3,"time":"2021-11-03T10:32:23+00:00","remoteAddr":"172.18.0.1","user":"(admin-user)","app":"PHP","method":"MOVE","url":"/remote.php/dav/uploads/(admin-user)/1274261856/.file","message":"fopen(/var/www/html/data/(admin-user)/uploads/1274261856/0000000000000068): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#363","userAgent":"Mozilla/5.0 (Windows) mirall/3.3.6stable-Win64 (build 20211028) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.0.2","exception":{"Exception":"Error","Message":"fopen(/var/www/html/data/(admin-user)/uploads/1274261856/0000000000000068): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#363","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fopen(/var/www/html/data/(admin-user)/uploads/1274261856/0000000000000068): Failed to open stream: No such file or directory","/var/www/html/lib/private/Files/Storage/Local.php",363]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":363,"function":"fopen","args":["/var/www/html/data/(admin-user)/uploads/1274261856/0000000000000068","r"]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":301,"function":"fopen","class":"OC\\Files\\Storage\\Local","type":"->","args":["uploads/1274261856/0000000000000068","r"]},{"file":"/var/www/html/lib/private/Files/View.php","line":1169,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["uploads/1274261856/0000000000000068","r"]},{"file":"/var/www/html/lib/private/Files/View.php","line":1005,"function":"basicOperation","class":"OC\\Files\\View","type":"->","args":["fopen","/1274261856/0000000000000068",["read"],"r"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":433,"function":"fopen","class":"OC\\Files\\View","type":"->","args":["1274261856/0000000000000068","r"]},{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":294,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":164,"function":"getStream","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[{"__class__":"OCA\\DAV\\Connector\\Sabre\\File"}]},{"function":"stream_read","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/lib/private/Files/Stream/HashWrapper.php","line":63,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/lib/private/Files/Stream/HashWrapper.php","line":63,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/lib/private/Files/Stream/HashWrapper.php","line":63,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php","line":96,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[8192]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":282,"function":"file_put_contents","args":["/var/www/html/data/(admin-user)/files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":570,"function":"file_put_contents","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null,null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":206,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":307,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":133,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->","args":[{"__class__":"OCA\\DAV\\Upload\\FutureFile"},{"__class__":"OCA\\DAV\\Files\\FilesHome"},"VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":163,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":94,"function":"move","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":76,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":603,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMove",["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MOVE",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":333,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"6182681e304c0"}

{"reqId":"p5566DRC92Us9BjO1zZQ","level":3,"time":"2021-11-03T10:32:23+00:00","remoteAddr":"172.18.0.1","user":"(admin-user)","app":"PHP","method":"MOVE","url":"/remote.php/dav/uploads/(admin-user)/1274261856/.file","message":"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#693","userAgent":"Mozilla/5.0 (Windows) mirall/3.3.6stable-Win64 (build 20211028) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.0.2","exception":{"Exception":"Error","Message":"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#693","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Cannot modify header information - headers already sent by (output started at /var/www/html/3rdparty/sabre/http/lib/Sapi.php:132)","/var/www/html/apps/dav/lib/Connector/Sabre/File.php",693]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":693,"function":"header","args":["X-Hash-SHA256: 6ced8a72908ba5d1b5cacb16350510b02105c9f7294182e5ac5c701a13ffb7e4"]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":194,"function":"header","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["X-Hash-SHA256: 6ced8a72908ba5d1b5cacb16350510b02105c9f7294182e5ac5c701a13ffb7e4"]},{"function":"OCA\\DAV\\Connector\\Sabre\\{closure}","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/Files/Stream/HashWrapper.php","line":70,"function":"call_user_func","args":[{"__class__":"Closure"},"*** sensitive parameter replaced ***"]},{"function":"stream_close","class":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":96,"function":"fclose","args":[null]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php","line":117,"function":"stream_close","class":"Icewind\\Streams\\Wrapper","type":"->","args":[]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"stream_close","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":333,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"6182681e2f955"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'enable_previews' => true,
  'APACHE_DISABLE_REWRITE_IP' => 1,
  '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,
    ),
  ),
  'overwritehost' => 'cloud.fqdn.net',
  'overwriteprotocol' => 'https',
  'overwritewebroot' => '/',
  'trusted_proxies' => 
  array (
    0 => '192.168.x.xx', #serverhost outside of docker nginx proxy more or less
  ),
  'instanceid' => 'private',
  'passwordsalt' => 'salt',
  'secret' => 'secret',
  'trusted_domains' => 
  array (
    0 => 'cloud.fqdn.net',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '22.2.0.2',
  'overwrite.cli.url' => 'https://cloud.fqdn.net',
  'dbname' => 'nextcloud',
  'dbhost' => 'mysql',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'nextcloud',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nextcloud',
  'mail_domain' => 'mailserverFQDN.net',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'mail.fqdn.xxx',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'nextcloud@FQDN.net',
  'mail_smtppassword' => 'Broker-Flap-Repayment-Ascertain2-Retry',
  'app_install_overwrite' => 
  array (
    0 => 'files_external_gdrive',
    1 => 'printer',
    2 => 'facerecognition',
    3 => 'occweb',
  ),
  'maintenance' => false,
  'loglevel' => 2,
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
);

Nginx Config for Nextcloud:

server {
    listen                  443 ssl http2;
    listen                  [::]:443 ssl http2;
    server_name             cloud.FQDN.net;
    fastcgi_request_buffering   off;
	fastcgi_buffers				64 4K;
    fastcgi_read_timeout        3600s;
	fastcgi_connect_timeout		3600s;
	fastcgi_send_timeout		3600s;
    client_max_body_size        0;
    proxy_max_temp_file_size    16384m;
	proxy_read_timeout			3600s;
	proxy_connect_timeout		3600s;
	proxy_send_timeout			3600s;
	send_timeout				3600s;

    # SSL
    ssl_certificate /etc/letsencrypt/live/plex.FQDN.net/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/plex.FQDN.net/privkey.pem; # managed by Certbot
    ssl_trusted_certificate /etc/letsencrypt/live/cloud.FQDN.net/chain.pem;

    # security
    include                 nginxconfig.io/security-Nextcloud.conf;

    # logging
    access_log              /var/log/nginx/cloud.FQDN.net.access.log;
    error_log               /var/log/nginx/cloud.FQDN.net.error.log warn;

    # index.php
    index                   index.php;
    # reverse proxy
    location / {
        proxy_pass http://127.0.0.1:8080;
        include    nginxconfig.io/proxy.conf;
    }

    # additional config
    include nginxconfig.io/general.conf;

}

# subdomains redirect
server {
    listen                  443 ssl http2;
    listen                  [::]:443 ssl http2;
    server_name             *.cloud.FQDN.net;

    # SSL
    ssl_certificate         /etc/letsencrypt/live/cloud.FQDN.net/fullchain.pem;
    ssl_certificate_key     /etc/letsencrypt/live/cloud.FQDN.net/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/cloud.FQDN.net/chain.pem;
    return                  301 https://cloud.FQDN.net$request_uri;
}

# HTTP redirect
server {
    if ($host = cloud.FQDN.net) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    listen      443 ssl http2;
    listen      [::]:443 ssl http2;
    server_name .cloud.FQDN.net;
    include     nginxconfig.io/letsencrypt.conf;

    location / {
        return 301 https://cloud.FQDN.net$request_uri;
    }
	location /.well-known/carddav {
    	return 301 https://cloud.FQDN.net/remote.php/dav;
	}

	location /.well-known/caldav {
    	return 301 https://cloud.FQDN.net/remote.php/dav;
}

nginx security headers(in referenced file):
# security headers
add_header X-Frame-Options           "SAMEORIGIN" always;
add_header X-XSS-Protection          "1; mode=block" always;
add_header X-Content-Type-Options    "nosniff" always;
add_header Referrer-Policy           "no-referrer-when-downgrade" always;
add_header Content-Security-Policy   "default-src 'self' http: https: data: blob: 'unsafe-inline'" always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;

# . files edited for nextcloud allow upload files
location ~ /\.(?!well-known)(?!file) {
        deny all;
}

}

Nginx Proxy settings referenced in reverse proxy (Realization dropped while making this):"
proxy_http_version                 1.1;
proxy_cache_bypass                 $http_upgrade;

# Proxy headers
proxy_set_header Upgrade           $http_upgrade;
proxy_set_header Connection        $connection_upgrade;
proxy_set_header Host              $host;
proxy_set_header X-Real-IP         $remote_addr;
proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host  $host;
proxy_set_header X-Forwarded-Port  $server_port;

# Proxy timeouts Herein lies the fault +_+
proxy_connect_timeout              60s; 
proxy_send_timeout                 60s;
proxy_read_timeout                 60s;

The output of your Apache/nginx/system log in /var/log/____:

In the Nginx logs, I see some things

Error log of the subdomain nginx logs:
/remote.php/dav/uploads/(admin-user)/1274261856/0000000000000073 HTTP/1.1", host: "cloud.FQDN.net"
2021/11/03 11:31:56 [error] 3378159#3378159: *19815 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.x.xxx, server: cloud.FQDN.net, request: "MOVE /remote.php/dav/uploads/(admin-user)/1274261856/.file HTTP/1.1", upstream: "http://127.0.0.1:8080/remote.php/dav/uploads/(admin-user)/1274261856/.file", host: "cloud.FQDN.net"

The apache logs in nextcloud logs I see:

{"reqId":"p5566DRC92Us9BjO1zZQ","level":4,"time":"2021-11-03T10:32:23+00:00","remoteAddr":"172.18.0.1","user":"(admin-user)","app":"webdav","method":"MOVE","url":"/remote.php/dav/uploads/(admin-user)/1274261856/.file","message":"Could not open file","userAgent":"Mozilla/5.0 (Windows) mirall/3.3.6stable-Win64 (build 20211028) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"22.2.0.2","exception":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":294,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":164,"function":"getStream","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[{"__class__":"OCA\\DAV\\Connector\\Sabre\\File"}]},{"function":"stream_read","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/lib/private/Files/Stream/HashWrapper.php","line":63,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/lib/private/Files/Stream/HashWrapper.php","line":63,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/lib/private/Files/Stream/HashWrapper.php","line":63,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->","args":[8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":[null,8192]},{"file":"/var/www/html/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php","line":96,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[8192]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":282,"function":"file_put_contents","args":["/var/www/html/data/(admin-user)/files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":570,"function":"file_put_contents","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":628,"function":"writeStream","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null,null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":206,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":307,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["VeeamBackup&Replication_11.0.0.837_20210525.iso",null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":133,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->","args":[{"__class__":"OCA\\DAV\\Upload\\FutureFile"},{"__class__":"OCA\\DAV\\Files\\FilesHome"},"VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":163,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":94,"function":"move","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":76,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":603,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMove",["uploads/(admin-user)/1274261856/.file","files/(admin-user)/VeeamBackup&Replication_11.0.0.837_20210525.iso"]]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MOVE",[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":333,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":166,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","Line":438,"CustomMessage":"--"}}

The title includes “(Solved)”. How was the issue solved?