Nextcloud shows wrong quota percentage

How to solve a problem that causes Nextcloud to report inaccurate amount of free space.

11 views
d

By. Jacob

Edited: 2023-09-10 20:40

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.

  1. Quota percent usage is incorrect #39465 - github.com

Tell us what you think:

  1. How to toggle maintenance mode on or off for your Nextcloud server
  2. Prevent your Nextcloud data directory from being accessible from the internet.
  3. How to change the domain name for your Nextcloud server.
  4. How to setup a redirect for webfinger and nodeinfo in your server configuration to make Nextcloud stop complaining about it.

More in: Nextcloud