Account API returning zero for diskused

Started by matric, January 02, 2021, 10:53:22 PM

Previous topic - Next topic

matric

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

pRieStaKos


josemnunez

#2
You must have the s quotas installed and configured on your server for the api to return this value



pRieStaKos

#3
Quote from: josemnunez 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

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

Quota is already configured. https://ibb.co/L6SYNhk