Is there a way to clean up corrupted or free up storage from the Nextcloud instance ?
I have an instance/virtual machine with ubuntu with 80gb harddisk.
But I found that even I have deleted all files and permanent delete from the bin.
It’s still occupying 60gb for nothing, I guess it was due to I tried many times upload fail on my external storage, which somehow has eaten my local storage. And reboot the instance could not help. Does anyone has idea ? Thanks.
In general you should first understand what is using space. Depending on the this analysis you can continue to free up the space. Additionally VMs in general don’t free space once used - means once VM with dynamic expanding harddisk occupied the space once the disk doesn’t shrink itself if the space becomes empty inside of VM.
First use e.g. tools like ncdu to find the largest folders and files.
You must use occ files:scan --all if you delete files in filesystem but not in Nextcloud.
You can delete old backups at /path/to/nextcloud/data/updater-/backups*