Nextcloud - Error uploading big files > 512MB

Jappe, I have the following errors:

“Error while copying file to target location” - This error appears in a pop-up in the upper right corner of the screen. Immediately after the error.

These are the log file errors (logs in nextcloud admin dashboard):
I don’t understand why it is reporting lack of space. I’m uploading a 3GB file to a clean external drive with 50G free.

Error PHP fwrite(): Write of 582 bytes failed with errno=28 No space left on device at /var/www/nextcloud/lib/private/Log/File.php#89 2023-10-09T11:08:14-0300
Error PHP file_put_contents(): Write of 4096 bytes failed with errno=28 No space left on device at /var/www/nextcloud/lib/private/Files/Storage/Local.php#313 2023-10-09T11:08:14-0300

|Error|PHP|file_put_contents(): Write of 4096 bytes failed with errno=28 No space left on device at /var/www/nextcloud/lib/private/Files/Storage/Local.php#313||2023-10-09T11:08:14-0300|

|Error|webdav|Sabre\DAV\Exception\InsufficientStorage: Insufficient space in /, 2641264640 required, 1244672000 available|

Your questions:

“Did you restart PHP-fpm?” Every time I make any changes I restart the server. Is this sufficient?

“What ini file did you modify?” I tried this:

How to upload big files to Nextcloud - https://www.youtube.com/watch?v=2-EbM9MyRBs

How to Increase the Max Upload File Size in Nextcloud - https://www.youtube.com/watch?v=9J-M6RY5If8&t=373s

[Uploading big files > 512MB — Nextcloud latest Administration Manual latest documentation] Uploading big files > 512MB — Nextcloud latest Administration Manual latest documentation

[Nextcloud slow upload and freezing when uploading big files - General Discussion - DietPi Community Forum] [Nextcloud slow upload and freezing when uploading big files] Nextcloud slow upload and freezing when uploading big files