Failing to upload big files

Nextcloud version (eg, 20.0.5): 20.0.5
Operating system and version (eg, Ubuntu 20.04): nextcloudpi (debian 10.7 32bit / Linux 5.4.83-v7l+)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Raspbian)
PHP version (eg, 7.4): PHP 7.4.13 (cli)

The issue you are facing:
I am having trouble uploading large files (in this case 9,76GB). After some attempts the file is uploaded. But it’s broken, only 1/3 is uploaded…
To be specific: Uploading works, only moving the file after that fails for some reason!
Maybe my proxy is configured badly aswell…
I have a main server which redirects all requests in my network with a reverse proxy.

This is the config to redirect to the nextcloud server from my main server:

<VirtualHost *:80>
    ServerName cloud.server**************
    DocumentRoot /var/www/html
    Redirect permanent / https://cloud.server***************/
</VirtualHost>

<IfModule mod_ssl.c>
  <VirtualHost _default_:443>
    ServerName cloud.server***************
    ProxyPreserveHost On
    DocumentRoot /var/www/nextcloud
    ProxyPass /.well-known !
    ProxyPass / http://192.168.178.71/
    ProxyPassReverse / http://192.168.178.71/
    SSLEngine on
    Include /etc/letsencrypt/options-ssl-apache.conf
    SSLCertificateFile /etc/letsencrypt/live/cloud.server***********/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cloud.server*********/privkey.pem
  </VirtualHost>
  <Directory /var/www/nextcloud/>
    Options +FollowSymlinks
    AllowOverride All
    <IfModule mod_dav.c>
      Dav off
    </IfModule>
    LimitRequestBody 0
    SSLRenegBufferSize 10486000
  </Directory>
</IfModule>

And this one redirects to nextcloud from the nextcloud Server

<VirtualHost *:80>
    ServerName cloud.server************
    ProxyPreserveHost On
    DocumentRoot /var/www/nextcloud
  <Directory /var/www/nextcloud/>
    Options +FollowSymlinks
    AllowOverride All
    <IfModule mod_dav.c>
      Dav off
    </IfModule>
    LimitRequestBody 0
    SSLRenegBufferSize 10486000
  </Directory>
</VirtualHost>

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:
Upload a large file either from NC Client or Web Gui

The output of your Nextcloud log in Admin > Logging:
image
I am only able to copy RAW, formatted doesn’t copy!!!

{"reqId":"YA64cyZORR@fdQIOLfHwuQAAAAA","level":3,"time":"2021-01-25T12:27:25+00:00","remoteAddr":"192.168.178.94","user":"Private","app":"no app in context","method":"MOVE","url":"/remote.php/dav/uploads/Private/web-file-upload-5dbfc82ef78c8dd0eb13b58df7a66ef2-1611576644903/.file","message":{"Exception":"Sabre\\DAV\\Exception","Message":"Error while copying file to target location (copied bytes: -1, expected filesize: -1 )","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":311,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":135,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":167,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php","line":95,"function":"move","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php","line":77,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":632,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":236,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36","version":"20.0.5.2","id":"600ecb3e4505d"}
{"reqId":"YA64cyZORR@fdQIOLfHwuQAAAAA","level":4,"time":"2021-01-25T12:27:26+00:00","remoteAddr":"192.168.178.94","user":"Private","app":"webdav","method":"MOVE","url":"/remote.php/dav/uploads/Private/web-file-upload-5dbfc82ef78c8dd0eb13b58df7a66ef2-1611576644903/.file","message":{"Exception":"Sabre\\DAV\\Exception","Message":"Error while copying file to target location (copied bytes: -1, expected filesize: -1 )","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":311,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":135,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":167,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php","line":95,"function":"move","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php","line":77,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":632,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":236,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36","version":"20.0.5.2","id":"600ecb9e57d3e"}
{"reqId":"YA7G75oJbIwDJY1vgB8e4AAAABU","level":3,"time":"2021-01-25T13:30:19+00:00","remoteAddr":"192.168.178.94","user":"Simon","app":"PHP","method":"MOVE","url":"/remote.php/dav/uploads/Simon/4130396990/.file","message":{"Exception":"Error","Message":"fopen(/media/myCloudDrive/ncdata/Simon/uploads/4130396990/00000034): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#355","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":355,"function":"fopen"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":300,"function":"fopen","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php","line":325,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1165,"function":"fopen","class":"OCA\\FilesAccessControl\\StorageWrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1001,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":434,"function":"fopen","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/AssemblyStream.php","line":294,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/AssemblyStream.php","line":164,"function":"getStream","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->"},{"function":"stream_read","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->"},{"file":"/var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":91,"function":"fread"},{"file":"/var/www/nextcloud/lib/private/Files/Stream/HashWrapper.php","line":64,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->"},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->"},{"file":"/var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":91,"function":"fread"},{"file":"/var/www/nextcloud/lib/private/Files/Stream/HashWrapper.php","line":64,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->"},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->"},{"file":"/var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":91,"function":"fread"},{"file":"/var/www/nextcloud/lib/private/Files/Stream/HashWrapper.php","line":64,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->"},{"function":"stream_read","class":"OC\\Files\\Stream\\HashWrapper","type":"->"},{"file":"/var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php","line":91,"function":"fread"},{"file":"/var/www/nextcloud/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php","line":98,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->"},{"function":"stream_read","class":"Icewind\\Streams\\CallbackWrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":559,"function":"file_put_contents"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":631,"function":"writeStream","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":631,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":207,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":155,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":311,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":135,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":167,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php","line":95,"function":"move","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php","line":77,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":632,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":474,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":251,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":319,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":167,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows) mirall/3.1.1stable-Win64 (build 20201222) (Nextcloud)","version":"20.0.5.2","id":"600ecb9e57374"}

The output of your Apache/nginx/system log in /var/log/____:
I think this may be part of the error notification…

[Mon Jan 25 14:27:42.593548 2021] [access_compat:error] [pid 27262] [client 192.168.178.94:57734] AH01797: client denied by server configuration: /var/www/nextcloud/config

My config.php:

<?php
$CONFIG = array (
  'passwordsalt' => '**********************************************',
  'secret' => '*******************************************',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    5 => 'nextcloudpi.local',
    7 => 'nextcloudpi',
    8 => 'nextcloudpi.lan',
    11 => '2a01:c22:9009:4800:4636:1eb1:63d5:1f22',
    1 => '192.168.178.71',
    20 => 'ncp.server***********',
    3 => 'simon***********',
    12 => 'www.server***********',
    21 => 'filme.server*********',
    22 => 'cloud.server*********',
  ),
  'datadirectory' => '/media/myCloudDrive/ncdata',
  'dbtype' => 'mysql',
  'version' => '20.0.5.2',
  'overwrite.cli.url' => 'https://www.server**********/',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => '*************************************',
  'installed' => true,
  'instanceid' => 'ocrnfg5r4p1o',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => false,
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => '',
  ),
  'tempdirectory' => '/media/myCloudDrive/ncdata/tmp',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'gmail.com',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'maintenance' => false,
  'logfile' => '/media/myCloudDrive/ncdata/nextcloud.log',
  'loglevel' => '2',
  'log_type' => 'file',
  'htaccess.RewriteBase' => '/',
  'theme' => '',
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\TXT',
    1 => 'OC\\Preview\\MarkDown',
    2 => 'OC\\Preview\\OpenDocument',
    3 => 'OC\\Preview\\PDF',
    4 => 'OC\\Preview\\MSOffice2003',
    5 => 'OC\\Preview\\MSOfficeDoc',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\Image',
    8 => 'OC\\Preview\\Photoshop',
    9 => 'OC\\Preview\\TIFF',
    10 => 'OC\\Preview\\SVG',
    11 => 'OC\\Preview\\Font',
    12 => 'OC\\Preview\\MP3',
    13 => 'OC\\Preview\\Movie',
    14 => 'OC\\Preview\\MKV',
    15 => 'OC\\Preview\\MP4',
    16 => 'OC\\Preview\\AVI',
  ),
  'app_install_overwrite' => 
  array (
    0 => 'folderplayer',
    1 => 'files_clipboard',
    2 => 'uploaddetails',
    3 => 'caniupdate',
    4 => 'occweb',
    5 => 'beame_insta_ssl',
    6 => 'ocr',
    7 => 'whiteboard',
    8 => 'dropit',
  ),
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'Server********',
  'mail_smtphost' => 'smtp.**********',
  'mail_smtpport' => '******',
  'updater.release.channel' => 'stable',
  'data-fingerprint' => '*************************',
  'trusted_proxies' => 
  array (
    0 => 'cloud.server********************',
  ),
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'Server***********@*****',
  'mail_smtppassword' => '***************',
);

Hi Simon,

just guessing here, but since your error message is

Error while copying file to target location (copied bytes: -1, expected filesize: -1 )

there might be something wrong with your filesystem.

  • Do you have enough free space on the target system?
  • Are the folder and file access permission rights properly set?
  • From your description I presume small files work fine?
  • What is the file size limit you set in your php processes?

/Simon

Tried to upload the file again and now my server is running reaaaally slow! I cant even load the website.
This is the error log. To me it looks like a miss configured config, maybe some wrong permissions?
I setup this server using the ncp Image so I guess www-data should be configured in the right way

Sorry, user www-data is not allowed to execute '/usr/bin/php /var/www/nextcloud/occ maintenance:mode' as www-data on nextcloudpi.
[Mon Jan 25 14:27:42.593548 2021] [access_compat:error] [pid 27262] [client 192.168.178.94:57734] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Mon Jan 25 15:18:17.690855 2021] [mpm_prefork:notice] [pid 1044] AH00171: Graceful restart requested, doing restart
[Mon Jan 25 15:18:17.858979 2021] [ssl:warn] [pid 1044] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 25 15:18:17.880277 2021] [http2:warn] [pid 1044] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Mon Jan 25 15:18:18.035411 2021] [mpm_prefork:notice] [pid 1044] AH00163: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Jan 25 15:18:18.035470 2021] [core:notice] [pid 1044] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jan 25 15:18:31.692420 2021] [mpm_prefork:notice] [pid 1044] AH00171: Graceful restart requested, doing restart
[Mon Jan 25 15:18:31.819655 2021] [ssl:warn] [pid 1044] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Jan 25 15:18:31.825480 2021] [http2:warn] [pid 1044] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Mon Jan 25 15:18:31.972508 2021] [mpm_prefork:notice] [pid 1044] AH00163: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1i configured -- resuming normal operations
[Mon Jan 25 15:18:31.972559 2021] [core:notice] [pid 1044] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jan 25 15:18:52.382378 2021] [access_compat:error] [pid 28387] [client 192.168.178.94:37318] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Mon Jan 25 15:34:20.578447 2021] [core:notice] [pid 1044] AH00052: child pid 28770 exit signal Bus error (7)
[Mon Jan 25 18:23:46.902779 2021] [access_compat:error] [pid 32423] [client 192.168.178.94:58686] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Mon Jan 25 18:30:04.874901 2021] [access_compat:error] [pid 28915] [client 192.168.178.94:60900] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Mon Jan 25 18:36:30.048352 2021] [access_compat:error] [pid 28915] [client 192.168.178.94:33456] AH01797: client denied by server configuration: /var/www/nextcloud/config
[Mon Jan 25 18:45:56.836113 2021] [access_compat:error] [pid 28981] [client 192.168.178.94:34326] AH01797: client denied by server configuration: /var/www/nextcloud/config
No site matches ncp-activation (disabled by site administrator)

Maybe you are right. Let me check your Questions:
I am using the BTRFS file system.

  • Do you have enough free space on the target system?
    Yes, definitely
  • Are the folder and file access permission rights properly set?
    I am not quite sure, since there are that many permissions to think of…
    My NC Data Directory has the following permissions and you also can see the failed upload parts:

    This is the original file size in Windows:
    image
  • From your description I presume small files work fine?
    Small files work fine!
  • What is the file size limit you set in your php processes?
    upload_max_filesize = 10240M
    max_file_uploads = 20
    (But my problems occur with the client as well, so that shouldn’t matter as far as I know)

I’m a bit out of ideas. You are using the Nextcloud desktop client right?

Yeah, I have no clue what to do here. I could resolve many problems I had but this one :frowning:
But I don’t really know anything as well so I thought someone here could maybe help.
Thank you for trying as well!

Yes I am using the desktop client.
My last resort would be to reinstall the whole system and set it up again. I learned a lot since the beginning and maybe I made a mistake somewhere that I wasn’t aware of then.
This is another issue I am facing and I think maybe it could be somehow related to this one as well but I really don’t know!

Thanks again, I really appreciate your input! I am sure I can learn a lot along the way.