nextcloud / user_usage_report

👱📈 User usage report
https://apps.nextcloud.com/apps/user_usage_report
GNU Affero General Public License v3.0
41 stars 11 forks source link

Usage report to include Group Folders #24

Open gideonpelser opened 5 years ago

gideonpelser commented 5 years ago

This is not an issue being reported, but rather an enhancement request. I am looking at generating a usage report for an instance owner that includes all storage usage - User level usage as well as trash and group folder usage. Please excuse my ignorance if it is already available.

nickvergessen commented 5 years ago

so a group folder would count to the used space of all it's members?

gideonpelser commented 5 years ago

Hi nickvergessen, That would depend on the assigned privileges for the members, however it would count towards the instance configured. I have a customer with 50 users which report correctly, but the group folders take around 94GB does not reflect anywhere except when I look at the actual filesystem usage. The customer used space on disk is 154GB and the instance reports 57GB used and in the instance under Group Folders it displays 94GB used. This is give or take 151GB with some versioning, logs and trash files = 154GB displayed in df -h report.

gideonpelser commented 5 years ago

From the above the 94GB is the one not reporting. They have various users with varying access to different group folders - about 6 group folders in total.

nickvergessen commented 5 years ago

Well, to watch over the disk space, you might want to use the server info app instead: https://github.com/nextcloud/serverinfo

This app here is especially designed to cover the per-user usage and I don't see this working out with groupfolders

gideonpelser commented 5 years ago

Thank you very much for taking the time to attend to this! I will check it out.