Author Topic: Account API returning zero for diskused  (Read 4381 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Account API returning zero for diskused
« on: January 02, 2021, 10:53:22 PM »
Hi Everyone,

First time poster and pretty new to CWP - thanks for creating such a great product!

I am having a problem with my integration with WHMCS that I was hoping someone might be able to point me in the right direction to a solution.

Problem:
Disk Usage is being reported as zero (0) for all accounts - other values, such as bandwidth, bandwidth limit and disk limit are returned OK.

Example:
UserA is showing the correct amount, 153.2MB used disk space in the admin and user control panels (web interface) but shows as zero when using the API via curl - "diskused":0,"disklimit":"2048","bandwidth":"13","bwlimit":"100000"

I am using CWPpro version: 0.9.8.1030

Offline
*
Re: Account API returning zero for diskused
« Reply #1 on: October 04, 2022, 04:25:43 PM »
@matric Did you got an answer ?

Offline
*****
Re: Account API returning zero for diskused
« Reply #2 on: October 04, 2022, 11:32:05 PM »
You must have the s quotas installed and configured on your server for the api to return this value


« Last Edit: October 04, 2022, 11:35:02 PM by josemnunez »

Offline
*
Re: Account API returning zero for diskused
« Reply #3 on: October 05, 2022, 05:26:39 PM »
You must have the s quotas installed and configured on your server for the api to return this value

Any guide for this ? What is "s quotas" ?

Quota is already configured. https://ibb.co/L6SYNhk
« Last Edit: October 05, 2022, 05:58:54 PM by pRieStaKos »