caisc Posted July 19, 2019 Share Posted July 19, 2019 Hi, Recently we did made some changes to our reseller hosting plans and facing an issue with disk usage stats in client area. So basically we are now offering Unlimited Disk and Unlimited B/W in our Reseller-CRS2 plan. Steps for this implementation - 1 - Updated the product in WHMCS with required values. 2 - Updated the WHM reseller packages 3 - Ran Update package from whmcs for the client, so new values should be updates and waited for 24 hours so all stats and other crons run and new stats are displayed. but no luck, when checked in reseller client area, random disk and bw values are showed. Not sure what am I missing. Any help on this is appreciated. It Should Display Unlimited MB for disk and BW in client area that what i want. Thanks 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 19, 2019 Share Posted July 19, 2019 though I can't recall if reseller accounts can actually have unlimted ds and bw... one of the support guys should know, so either wait for one of them, or open a ticket for confirmation. 0 Quote Link to comment Share on other sites More sharing options...
Administrators WHMCS John Posted July 19, 2019 Administrators Share Posted July 19, 2019 Hi @caisc, Let's check what value is being returned by the cPanel API: Enable the Utilities > Logs > Module Log Navigate to Reports > Disk Usage Summary Click "Update Now" at the bottom Return to the Module Log and disable it Examine the " Response" column for the disk space and bandwidth limit values returned by cPanel. If you choose to share it here, please be sure to remove any sensitive data. 0 Quote Link to comment Share on other sites More sharing options...
caisc Posted July 19, 2019 Author Share Posted July 19, 2019 Hi John, Enable the Utilities > Logs > Module Log - Done Navigate to Reports > Disk Usage Summary - Done Click "Update Now" at the bottom - Done Return to the Module Log and disable it - Done Response column for the disk space and bandwidth limit values returned by cPanel are as below - {"result":{"bwoverselling":1,"accts":[client accounts under reseller, details was here],"diskoverselling":1,"statusmsg":"Fetched Reseller Data OK","bandwidthlimit":0,"totaldiskalloc":2953600,"reseller":"reseller user name here","totalbwalloc":6429800,"diskused":42285.03,"status":1,"diskquota":0,"totalbwused":40831.18}} Also I noticed one thing, if I specify 99999999 in whmcs module instead of word "Unlimited" it works perfectly fine and shows 99999999 MB in client area. 0 Quote Link to comment Share on other sites More sharing options...
caisc Posted July 19, 2019 Author Share Posted July 19, 2019 (edited) Now after setting 99999999 as value, instead of Unlimited in Reseller Disk Space and Bandwidth in WHMCS Module, performed same steps and below is the log output - {"result":{"accts":[ reseller's clients acc details here],"bwoverselling":1,"statusmsg":"Fetched Reseller Data OK","diskoverselling":1,"bandwidthlimit":99999999,"totalbwalloc":6429800,"reseller":"reseller user name here","totaldiskalloc":2953600,"status":1,"diskused":42289.56,"diskquota":99999999,"totalbwused":40831.18}} Now WHMCS client area shows xxxx M / 999999999 M Edited July 19, 2019 by caisc Added more information 0 Quote Link to comment Share on other sites More sharing options...
caisc Posted July 20, 2019 Author Share Posted July 20, 2019 @WHMCS John Please let me know if you need any other details. 0 Quote Link to comment Share on other sites More sharing options...
Administrators WHMCS John Posted July 22, 2019 Administrators Share Posted July 22, 2019 Hi @caisc, cPanel considers the value `0` to indicate an unlimted quota for resellers: https://documentation.cpanel.net/display/DD/WHM+API+1+Functions+-+resellerstats So please configure the reseller limits as 0 inside WHMCS, and this will be reflected in the usage statistics next time they're updated: 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.