Page 1 of 1

Usage statistics error

Posted: Tue 11. May 2021, 20:47
by dokabalint
Dear KeyHelp,

Operating system + version:
Ubuntu 20.04.2 LTS

KeyHelp version + build nummer:
KeyHelp 21.0 (Build 2195)

Virtualization:
Yes.

Problem description:
The user statistics web disk not calculated and the log gives error.

Steps to Reproduce:
Clean install, user cerate, upload files, done.

Expected behavior:
Calculate the disk used space.

Actual behavior:
Do not calculate it.

Additional information:

Code: Select all

[11-May-2021 18:54:01] INFO  --> select user "u2430"
[11-May-2021 18:54:01] INFO  -->   webspace
[11-May-2021 18:54:01] ERROR -->     ... failed to collect data
[11-May-2021 18:54:01] INFO  -->     = webspace total: 0 B
[11-May-2021 18:54:01] INFO  -->   email
[11-May-2021 18:54:01] INFO  -->     = email total: 0 B
[11-May-2021 18:54:01] INFO  -->   databases
[11-May-2021 18:54:01] INFO  -->     database "u2430_wordpress_1": 3.02 MB
[11-May-2021 18:54:01] INFO  -->     = database total: 3.02 MB
[11-May-2021 18:54:01] INFO  -->   = user "u2430" total: 3.02 MB / 3.00 GB - 0.10 %
[11-May-2021 18:54:01] INFO  --> select user "u3692"
[11-May-2021 18:54:01] INFO  -->   webspace
[11-May-2021 18:54:01] ERROR -->     ... failed to collect data
[11-May-2021 18:54:01] INFO  -->     = webspace total: 0 B
[11-May-2021 18:54:01] INFO  -->   email
[11-May-2021 18:54:01] INFO  -->     = email total: 0 B
[11-May-2021 18:54:01] INFO  -->   databases
[11-May-2021 18:54:01] INFO  -->     = database total: 0 B
[11-May-2021 18:54:01] INFO  -->   = user "u3692" total: 0 B / 3.00 GB - 0.00 %
[11-May-2021 18:54:01] INFO  --> select user "u7662"
[11-May-2021 18:54:01] INFO  -->   webspace
[11-May-2021 18:54:01] ERROR -->     ... failed to collect data
[11-May-2021 18:54:01] INFO  -->     = webspace total: 0 B
[11-May-2021 18:54:01] INFO  -->   email
[11-May-2021 18:54:01] INFO  -->     = email total: 0 B
[11-May-2021 18:54:01] INFO  -->   databases
[11-May-2021 18:54:01] INFO  -->     = database total: 0 B
[11-May-2021 18:54:01] INFO  -->   = user "u7662" total: 0 B / 3.00 GB - 0.00 %
[11-May-2021 18:54:01] INFO  --> select user "u9161"
[11-May-2021 18:54:01] INFO  -->   webspace
[11-May-2021 18:54:01] ERROR -->     ... failed to collect data
[11-May-2021 18:54:01] INFO  -->     = webspace total: 0 B
[11-May-2021 18:54:01] INFO  -->   email
[11-May-2021 18:54:01] INFO  -->     = email total: 0 B
[11-May-2021 18:54:01] INFO  -->   databases
[11-May-2021 18:54:01] INFO  -->     = database total: 0 B
[11-May-2021 18:54:01] INFO  -->   = user "u9161" total: 0 B / 3.00 GB - 0.00 %

Re: Usage statistics error  [SOLVED]

Posted: Wed 12. May 2021, 08:23
by Alexander
Your webspace quota seems not to be running correctly.

Please check out this thread: viewtopic.php?p=21307#p21307

Or perform the following commands:

Code: Select all

quotaoff /
quotacheck -avugm
quotaon /
And than check the quota with

Code: Select all

repquota /

Re: Usage statistics error

Posted: Wed 12. May 2021, 09:32
by dokabalint
Thanks! It now works.
The default kernel is: linux-image-virtual
If i run the quotaon on virtual:

Code: Select all

quotaon /
quotaon: using //aquota.group on /dev/sda1 [/]: No such process
quotaon: Quota format not supported in kernel.
quotaon: using //aquota.user on /dev/sda1 [/]: No such process
quotaon: Quota format not supported in kernel.
Then i do this and works:

Code: Select all

service quota stop
apt-get install linux-image-generic
quotacheck -avugm
quotaon /
service quota start
Re-run the check on the website.