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:
OCA\DAV\Connector\Sabre\QuotaPlugin->checkQuota()
/srv/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:
OCA\DAV\Connector\Sabre\QuotaPlugin->beforeMove()
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 603:
Sabre\DAV\Server->emit()
/srv/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:
Sabre\DAV\CorePlugin->httpMove()
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 472:
Sabre\DAV\Server->emit()
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:
Sabre\DAV\Server->invokeMethod()
/srv/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:
Sabre\DAV\Server->start()
/srv/www/nextcloud/apps/dav/lib/Server.php - line 358:
Sabre\DAV\Server->exec()
/srv/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:
OCA\DAV\Server->exec()
/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

Rainer

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.