nextcloud / nextcloud/server

[Bug]: Reported total size under personal files seems to include team folder size

Open
#58,423 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug feature: files feature: teams papercut
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

When going to 'personal files' I would expect the total personal size (as indicated in left bottom / quota usage) to match total size.

It doesn't do this. That would be arguably okay on 'all files' section, where it's somewhat clear it's counting the team folder sizes too - as they're also visible there - but the same total size is reported under 'personal files' which doesn't not list the team folder - yet comes to the same total which doesn't match quota usage.

Steps to reproduce
  1. Get access to a team folder
  2. Have files in personal and team folders
  3. Notice total size under 'personal files' includes usage in team folders.
Expected behavior

Total size of 'personal files' should match quota usage.

Nextcloud Server version

32

Operating system

None

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. First reproduce the discrepancy with files in personal and team folders, then trace how the personal-files total and quota usage are calculated; done means the personal-files total matches the expected personal usage without incorrectly including team-folder usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.