Page 1 of 2

Webpace and files count calculator won't work - disk space is 0B

Posted: Sun 8. Dec 2024, 19:22
by nobody
I'm sure the cause of the problem is within KeyHelp
nope

Server operating system + version
Ubuntu 24.04

Server virtualization technology used
KVM

KeyHelp version + build number
24.2 - Build 3326

Problem description / error messages
Disk space calculator doesn't calculate the disk space

Expected result
Show me the consumed disk space.

Steps to reproduce
no idea as it's not my code.
I'm ready to arrange some meeting online on my conference server if i could help and you cannot reproduce the issue;
just contact me via email, i think admins can see my email address, right?

Additional information
Screenshot 2024-12-08 at 18-35-39 ZenVps.png
Screenshot 2024-12-08 at 18-35-20 ZenVps.png
Screenshot 2024-12-08 at 19-09-08 ZenVps.png
Same results in the client accounts.

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Sun 8. Dec 2024, 19:43
by 24unix
What does

Code: Select all

which file
give?

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Sun 8. Dec 2024, 20:18
by nobody
24unix wrote: Sun 8. Dec 2024, 19:43 What does

Code: Select all

which file
give?
/usr/bin/file

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Sun 8. Dec 2024, 20:30
by 24unix
OK, then it's another issue, I think Alex will have a solution tomorrow.

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Sun 8. Dec 2024, 20:31
by nobody
24unix wrote: Sun 8. Dec 2024, 20:30 OK, then it's another issue, I think Alex will have a solution tomorrow.
Let's hope.
Wish you a nice evening
Take care

Re: Webpace and files count calculator won't work - disk space is 0B  [SOLVED]

Posted: Mon 9. Dec 2024, 07:54
by Florian
Hello,

check if the package "linux-image-extra-virtual" is installed on your VM, otherwise the quotatools will not work

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 12:19
by nobody
Florian wrote: Mon 9. Dec 2024, 07:54
check if the package "linux-image-extra-virtual" is installed on your VM, otherwise the qutatools will not work
dpkg-query: no packages found matching linux-image-extra-virtual

I'll install it and get back to you.
Thanks for the fast answer!

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 18:07
by nobody
Still not working:
screen.png
screen.png (28.62 KiB) Viewed 8929 times

output of

Code: Select all

dpkg -s linux-image-extra-virtual

Code: Select all


Package: linux-image-extra-virtual
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 17
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Architecture: amd64
Source: linux-meta
Version: 6.8.0-49.49
Provides: kernel-testing--linux--modules-extra--virtual
Depends: linux-image-generic (= 6.8.0-49.49)
Description: Extra drivers for Virtual Linux kernel image
 This package will always depend on linux-image-generic.
 

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 19:17
by nobody
update: i wanted to update the previous post to add a note but couldn't edit the post anymore:
the admin dashboard shows now 32KB (KiB?) which is not correct.
Obviously i triggered the relative maintenance interval responsible for calculating the disk space various times, just to be sure.
screen.png

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 19:37
by 24unix
I don't have a solution for your actual problem, sorry, but:
nobody wrote: Mon 9. Dec 2024, 19:17 the admin dashboard shows now 32KB (KiB?) which is not correct.
Luckily, you can change that display behaviour like you want:

SCR-20241209-qyhh.png
Binary, what is right, and decimal, which has nothing to do with computers. That would be a discussion for it's own, but it's nice that KeyHelp leaves you the option :-)

So if you grew up with computers in the last century, you'll want to choose binary for calculation base and decimal for prefixes, and everything looks like you expect. :-)

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 19:44
by Tobi
Please have a look at viewtopic.php?p=50909#p50909

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 20:24
by nobody
Tobi wrote: Mon 9. Dec 2024, 19:44 Please have a look at viewtopic.php?p=50909#p50909
That did it! 1000 thanks.
24unix wrote: Mon 9. Dec 2024, 19:37 So if you grew up with computers in the last century,
GWbasic spaghetti-code, Fortran, MS-DOS, intel 80286 with an awesome 10MHz clock speed and 21MHz in turbo mode,lol
Good old times, things were easy back then.

Thanks again!

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 20:29
by 24unix
nobody wrote: Mon 9. Dec 2024, 20:24 GWbasic spaghetti-code, Fortran, MS-DOS, intel 80286 with an awesome 10MHz clock speed and 21MHz in turbo mode,lol
Good old times, things were easy back then.
C64 was my first :-)

"the C64 took its name from its 64 kilobytes (65,536 bytes) of RAM"
https://en.wikipedia.org/wiki/Commodore_64

Old men don't change their habits :-)

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 20:44
by nobody
24unix wrote: Mon 9. Dec 2024, 20:29 C64 was my first
oh, so you remember the commodore 64 cassette tape. Loved to play games on it.. :D
i also still have some old giant ram modules at home (50 cm x 50cm), old books (e.g. microprocessor based analog/digital conversion, how to build your own screen, ecc..).
Other stuff has been given to a museum.
The bulges you see on the top of these machines was the place for the "hard disks":
screen.png
Unfortunately lots of knowledge is getting lost from generation to generation, people aren't interested anymore in basic things.

Re: Webpace and files count calculator won't work - disk space is 0B

Posted: Mon 9. Dec 2024, 23:59
by 24unix
As the issue is solved, I think OT is OK :-)

Yes, I owned one of the 1530 Datasette, but I hated it :-)

But over the years my C64 setup grew (display, printer, floppies* …), it was so much fun, so much to learn.

Currently I have my best computer ever, but I think that topic is really out of scope for this thread. :-)

* The 1541 had two spots on the board which you could just cut short, or add a switch, one to switch between id 8 and 9, and one to turn off disk protection, so you could write to the second side of a disk without adding a hole to it. Was a lot of fun to surprise people with that :-)
(Oh, I just opened the disk housing and swapped sides … many believed :-) )