We have a NextCloud 24.0.3 on a Ubuntu 20.0.4 LTS server (64 bit) on which we have issues uploading files > 10MB despite we modified the /etc/php/7.4/apache2/php.ini with the values below:
post_max_size = 12G
upload_max_filesize = 12G
max_file_uploads = 200
max_execution_time = 1800
max_input_time = 1800
upload files up to 10MB it runs ok, but e.g. trying to upload 100MB file the user receive the error
“Error while copying file to target location (copied: -1 bytes, expected filesize: 10485760 bytes)”
The logfile report the errors below:
Fatal|webdav|Sabre\DAV\Exception: Error while copying file to target location (copied: -1 bytes, expected filesize: 10485760 bytes)
Error|no app in context|Sabre\DAV\Exception: Error while copying file to target location (copied: -1 bytes, expected filesize: 10485760 bytes)
Error|PHP Error: file_put_contents(/var/www/html/nextcloud/data/3A9230DE-E0F2-427F-BF8A-7C58877FBBCC/uploads/web-file-upload-bf374453ef4dce4abb369d05e4de3004-1690200289119/41943040.ocTransferId1506023219.part): failed to open stream: No space left on device at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#296
Note that the “data” folder has 534GB of free space and we use only the web interface, not client or directly the webdav protocol.
What could be the problem?
ALex.