Author Topic: diskspace on account reseller not shown correctly  (Read 2519 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
diskspace on account reseller not shown correctly
« on: March 23, 2020, 10:09:53 AM »
The Disk Usage from accounts that are under Reseller, Manage are not shown correctly.

In the admin-panel and the accounts itself it's all OK, but if the reseller looks at his accounts it's wrong.

Example of 2 accounts from a reseller with the same-package
Package <reseller>_500 has a diskquota of 500 MB.

# repquota -a -s
joselar   --    172K    500M    500M             44     0     0       
katwie    --  78100K    500M    500M           3701     0     0   
   
# du -h --max-depth=0 /home/joselar
208K    /home/joselar
# du -h --max-depth=0 /home/katwie
83M     /home/katwie

In the root-admin panel I see:
joselar 172 KB / 500 MB
katwie 76.27 MB / 500 MB

If I login into the accounts itself, I also see the above quota, so far so good.

If I login in the reseller-account, and go to Reseller - Manage, I see:
joselar - 500 - 1.00 MB / ∞ MB
katwie - 500 - 0.01 GB / 76.00 GB

.... this is definitly wrong.

/scripts/cwp_api account update_diskquota_all
doesn't make any difference.