Skip to content

Admin quota is displayed incorrectly. 5GB lost somewhere #1157

@ScharfViktor

Description

@ScharfViktor

Describe the bug

During the testing opencloud-eu/desktop#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

Details

OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions