[Bug]: Reported total size under personal files seems to include team folder size
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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
- Get access to a team folder
- Have files in personal and team folders
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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