Disk size and available are wrong?

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04.2 LTS
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.63
  • PHP version (e.g, 8.3):
    • 8.3.21
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • from install.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO

Summary of the issue you are facing:

I have an install of NC AIO, and used the AIO README instructions to store my docker files and ncdata on an external .ext4 volume mounted at /mnt/NextCloud. Everything works fine, and I can see that files are being stored there.

But … my ā€˜available space’ and ā€˜disk size’ displayed on the /settings/admin/serverinfo dashboard is incorrect. The dashboard is showing only ā€˜/mnt/ncdata’, and is not showing the actual full volume size (300gb), but instead saying the disk only has 150gb.

This is a cloud-based (Linode) virtual volume which can be resized (to make it bigger) - but resizing this volume does not change the dashboard ā€˜size’ or ā€˜available’ display. I’m running a fresh install of Ubuntu.

Running df -TPk from within the docker displays the same erroneous size and available data as the dashboard. I ran this using:

sudo docker exec --user www-data -it nextcloud-aio-nextcloud df -TPk

Is there something I need to do to ā€˜tell’ docker to use the entire volume?