file upload: not enough free space

Hello everybody,

this night I received a weird error.
I am hosting the latest channel Nextcloud-AIO in a LXC with Docker. The share on my NAS all files get saved to is correctly mapped via /etc/fstab. Currently there are about 14GB of > 400GB used.

Now the weird thing is that I, the single user of the instance, get the error that there is not enough free space. I already checked the compose file upload limit and also what is set via the admin page under accounts for the corresponding one; it states under Quota: Unlimited (14.6 GB used) whereas the bar shows about 50% - which would actually be about 3-4% of the pools max size. When checking on LXC with df -h I can see that there are about 11% used overall as the backups get saved on the same share at the moment. (I am backing up the whole container to my NAS and then will sync it via ZFS to another NAS.)

The error only gets shown on the iOS mobile app when uploading the video - some 4GB video file - and on the browser it just gets uploaded but the file is never visible, nor an error in the browser.

I am using the following stuff:

  • LXC with Debian 12.2.0
  • LXC has a 16GB root partition
  • actual files are on NAS via CIFS-share of ~439GB total
  • Linux Kernel 6.8.12-2
  • Nextcloud AIO v10.1.1
  • Nextcloud Hub 9 (30.0.4)
  • laptop with Debian 12
  • laptop with Firefox 128.5.0esr (64-bit)
  • iPhone 11 Pro with “Nextcloud Hydrogen for iOS 6.2.1.0”

As I don’t know if I can post photos with my newly created account I didn’t even try it as its kinda late rn. Just tell me if you need more information.

Also I found years-old posts which never get solved, just closed for inactivity so I created a new post.

Please monitor your Nextcloud log while uploading.

Also, what is the exact error message? Maybe a screenshot?

Hey @jtr, here’s a screenshot:

Which log file should I monitor? I tried watching /mnt/ncdata/nextcloud.log via tail -f but nothing happened while uploading through the mobile app.

Edit: Found the Website’s Loggin tab which is cluttered by Errors about ClamAV not running. I saw that in the AIO interface the other day when updating the system; ClamAV starts but then just ends in a restart-loop.

Could this be related? ClamAV logs show that it cannot process files larger than 2GB which my video is :thinking:

Edit2: Tried to upload again and found the following messaged on the web log:

1st Error on PHP module
http_response_code(): Cannot set response code - headers already sent (output started at /var/www/html/3rdparty/sabre/http/lib/Sapi.php:130) at /var/www/html/lib/private/legacy/OC_Template.php#280 
2nd error on PHP module:
Cannot redeclare print_exception() (previously declared in /var/www/html/core/templates/print_xml_exception.php:8) at /var/www/html/core/templates/print_exception.php#8 
3rd error on PHP, changed actual username to varibale for anon reasons
	
rmdir(/mnt/ncdata/$USERNAME/uploads/web-file-upload-2788b57b304271fc): Directory not empty at /var/www/html/lib/private/Files/Storage/Local.php#122