opencloud icon indicating copy to clipboard operation
opencloud copied to clipboard

Admin quota is displayed incorrectly. 5GB lost somewhere

Open ScharfViktor opened this issue 5 months ago • 1 comments

Describe the bug

During the testing https://github.com/opencloud-eu/desktop/issues/342 I noticed that admin quota is displayed incorrectly.

What I did:

  • uploaded files via web client
  • uploaded file via desktop client
  • reduced the quota after uploading files
  • deleted and restores files

Steps to reproduce

Expected behavior

A clear and concise description of what you expected to happen.

Actual behavior

admin user has 192M used storage

~ $ du -sh storage/users/users/e0e211c2-f38f-42d2-843c-0178a18de4df/
196.2M  storage/users/users/e0e211c2-f38f-42d2-843c-0178a18de4df/

but in the web and in the client admin has 5.4Gb used quota

Image

Image

with @rhafer we tried to find inconsistency using opencloud decomposedfs check-treesize -r /var/lib/opencloud/storage/users -n d4338881-94a6-4bd1-8a4f-c91e7 778c182!86a094a1-560f-4042-a933-88f917873e16 but it doesn't work with posixfs

backup: please offer to share it upon request.

Setup

https://github.com/opencloud-eu/opencloud/tree/main/deployments/examples/opencloud_full

OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

ScharfViktor avatar Jul 02 '25 10:07 ScharfViktor