I have a problem with the calculation of the quota for my account.
On a uber.space server I have Nextcloud running in the latest version. I joined another server via a Federated Cloud ID. After removing it, unfortunately, the quota of my account is no longer displayed correctly.
This is how it looks in the web interface:
After that my account occupies 3.7 GB. According to the files it is 1.4 GB. Also a query about du -h --max-depth 1 ./ results in an occupancy of 1.3 GB.
Can I have the quota recalculated? I have already tried via occ files:scan. Unfortunately this did not bring any improvement.
I think it’s the fderated cloud connection, which is now gone, but somehow still calculated.
And you see what file or folder it is? In case of a folder, can you check the subfolder?
The du should normally give you the size on your file system, perhaps that value is cached…
Perhaps some hidden files??
The calculation of size with du is correct.
In the webinterface the calculation on the right site below files and folders is correct. But on the left site, the calculation of quota it’s wrong.
And the trash is emtpy.
The Nextcloud server folder of each user contains more, than the recent files and folders as well as trash bin.
There also exists in the server’s file system a hidden folder namend file_versions it may contain several older file versions before their modification.
Hmmm - is it possible, the the brower cache still uses cached data?
Ether clear the browser-cache or reload the page. Or a different browser (if installed) might help.
In the admin interface of the users, the 3.7 GB is also displayed.
I think it’s because I accepted an invitation via Federated Cloud ID and then left. I uploaded data there and it seems to still be charged for somehow now.
Is there anything I can do to trigger a recalculation?
my issue was this: https://github.com/nextcloud/server/issues/25283
try to execute (make a backup before): UPDATE oc_filecache SET unencrypted_size=0 WHERE encrypted = 0
however you seems to do that every time or set up a cronjob
I disabled the encryption module as I am not using it, perhaps I would use cryfs instead if required.
not actively, but I only had the service side application turned on.
I have now turned it off.
If I need to encrypt the files I would use cryfs or such.