Skip to content

Folder size calculation is wrong #1791

@individual-it

Description

@individual-it

Describe the bug

I have a folder that is used to sync joplin notes. Joplin accesses it through a public link

The size calculation of the main folder is wrong, it does not include the size of the hidden folder

main folder
Image

content of the folder
Image

Steps to reproduce

I haven't found a way to reproduce it yet

Expected behavior

folder calculation should include all content

Actual behavior

folder size is wrong

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OC_ADD_RUN_SERVICES: notifications,auth-app
OC_URL: https://<my-host>
OC_LOG_LEVEL: info
OC_LOG_COLOR: "false"
OC_LOG_PRETTY: "false"
PROXY_TLS: "false"
GATEWAY_GRPC_ADDR: 0.0.0.0:9142
OC_INSECURE: "false"
PROXY_ENABLE_APP_AUTH: "true"
MICRO_REGISTRY_ADDRESS: 127.0.0.1:9233
NATS_NATS_HOST: 0.0.0.0
NATS_NATS_PORT: 9233
PROXY_CSP_CONFIG_FILE_LOCATION: /etc/opencloud/csp.yaml
OC_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: banned-password-list.txt
OC_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD: false
STORAGE_USERS_POSIX_WATCH_FS: true

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Qualification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions