Unable to upload large file to Nextcloud using desktop client

Nextcloud version (eg, 20.0.5): 25.0.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu Server 22.04
PHP version (eg, 7.4): 8.1

The issue you are facing:
“Upload of 49GB exceeds the quota for the folder” error from Nextcloud Desktop. Administration> System menu says:

sda1
Mount: /
Filesystem: ext4
Size: 193.61 GB
Available: 102.62 GB
Used: 47%

This means I have more than enough space. My PHP settings are

post_max_size: 100G

upload_max_filesize: 100G

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. Upload 49GB file
  2. It finally finishes uploading in the desktop client
  3. “Upload of 49GB exceeds the quota for the folder”

What settings do I need to change so I can upload this massive file?