Usage statistics error  [SOLVED]

Locked
dokabalint
Posts: 21
Joined: Thu 29. Apr 2021, 13:05

Usage statistics error

Post 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 %
Attachments
statistics.png
statistics.png (11.31 KiB) Viewed 3493 times
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Usage statistics error  [SOLVED]

Post 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 /
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
dokabalint
Posts: 21
Joined: Thu 29. Apr 2021, 13:05

Re: Usage statistics error

Post 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.
Locked