Quota Info

hello

is the quota info now already calculate /home/user + Vmail/user ?

…
update?

maybe if vmail inside /home/user/vmail
the quota will calculate :smiley: ?

ithink it is on /home/usr

it doesn’t but I guess you could easily modify it ( it’s in getDiskUsage in virtualHostUtilities.py )

Maybe creating a link in /home/user to /vmail/user and adding du -l to calculate both?

To manually update the disk usage, run this command:

/usr/local/CyberCP/bin/python /usr/local/CyberCP/IncBackups/IncScheduler.py CalculateAndUpdateDiskUsage

You can then add it to your cron to update as needed. Perhaps every half an hour would be sufficient?

will calculate the vmail + home ?

No.

You can adapt your cyberpanel with these changes and then it will calculate both:

then… this mean…
the usage is not = /home/user/ + /vmail/user

for personal used it will not have big impact
but if you go with cyberpanel for selling cheap hosting
then the quota info is very important

but i interested with totalUsageInMB = int(totalUsageEmailInMB) + int(totalUsageInMB)
it’s look like the quota info already solved with your patch/fork

oot:
actually few month ago i trying to get free cyberpanel hosting account from @shoaibkk … as we know he manage commercial hosting that use cyberpanel for the control panel
i want to see how actually the cyberpanel that handled by “internal staff”

i just need run

sh <(curl https://raw.githubusercontent.com/tbaldur/cyberpanel-LTS/stable/preUpgrade.sh || wget -O - https://raw.githubusercontent.com/tbaldur-LTS/cyberpanel/stable/preUpgrade.sh)

?

No.
Use the official cyberpanel, that is a personal project, can’t guarantee its stability or security

1 Like

i try to adapt

and result

Internal Error

The server encountered an unexpected condition which prevented it from fulfilling the request.