The solution to this problem is to pick a finite quota for your users. E.g. 5 TB.
The problem: Nextcloud may sometimes report an inaccurate amount of available space on the user overview page. It does not report an exact number, but rather it shows a visual bar indicating that space is running out. I am not sure whether this has any actual affect or it is just a visual mishap. Before I found the solution the problem had actually been bothering me for several months.
I initially suspected this happened when I was resizing the volume or switching to s3fs storage for the data directory, but this does not seem to have anything to do with it.
Note. Doing a re-scan of all my users files did not fix the problem. E.g:
sudo -u www-data php occ files:scan --all
Then someone suggested I simply pick a storage limit for my users instead of leaving the setting on Unlimited, and — bam! — the problem went away. Now the Quota indicator appears to show an accurate amount of used and available space left for all users.
- Quota percent usage is incorrect #39465 - github.com