How to increase disk space for nextcloud?


I have an Ubuntu server at home with nextcloud installed. The RAID has 4 TB, Hyper V uses the entire RAID, but nextcloud only has 100 GB of space and I can’t fit more data into it. Even if I set unlimited space, 3 TB space … whatever, it still tells me that I only have 86 GB available. The server sees the full capacity, but I don’t know how to expand nextcloud to use the full RAID capacity.

Thank you for the advice

Please post more details. You have set the datadirectory in config/config.php
'datadirectory' => '/var/www/nextcloud/data',

Post the size of this partition (change the path):
df -h /var/www/nextcloud/data

Maybe you must move the datadirectory to another path.

I have no www folder on the server in the var folder.

You must use your Nextcloud path and there is config/config.php with the entry
'datadirectory' => '...'

I see : /var/snap/nextcloud/00000/nextcloud/config

~# df -h /var/snap/nextcloud/00000/nextcloud/
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu–vg-ubuntu–lv 98G 63G 31G 67% /

RAID all space for cloud is 3,63 TB