Exception "Insufficient space"

Dear all,

I’ve Nextcloud 24.0.4 running without any reverse proxy. I want to upload an 185GB file via Desktop client. ~150Gb are transferred and after this I got the following error in the Nextcloud.log:

Fatal	webdav	Sabre\DAV\Exception\InsufficientStorage: Insufficient space in /xxxxxx, 190408947666 required, 66169569280 available
/srv/www/nextcloud/apps/dav/lib/Connector/Sabre/QuotaPlugin.php - line 138:
/srv/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 603:
/srv/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 472:
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:
/srv/www/nextcloud/apps/dav/lib/Server.php - line 358:
/srv/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
/srv/www/nextcloud/remote.php - line 166:
require_once("/srv/www/ne ... p")
  • I don’t have any quotas enabled
  • df -lh returns 239G free (before upload):
 root@raspberry:/home/pi# df -hl
 Filesystem      Size  Used Avail Use% Mounted on
 /dev/sda2       918G  641G  239G  73% /
  • The file size is 185GB

What is going wrong? What can I do to upload the file?

Best regards


Just a guess. But afaik the Nextcloud desktop Client does upload files in smaller chunks and then these chunks have to be reassembled on the server once they are all uploaded. In the process of doing that more space is needed than the actual file size of the file you’re trying to upload.

I would try to upload the file using some other method like e.g SSH and then move it manually to the Nextcloud data folder. After you’ve done that you can use the occ files:scan command to make Nextcloud aware of the newly added file. Using the occ command — Nextcloud latest Administration Manual latest documentation

You could also try to upload it via browser. But I’m not sure if this would fail for the same reason. But maybe it’s worth a try.