Error with Quotas

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.4
Webmin version 2.651
Usermin version 2.550
Virtualmin version 8.1.0 GPL
Theme version 26.50.2
Nginx version 1.24.0
Package updates All installed packages are up to date

Its a clean new installation, I have the same problem reported here: Disk quotas no longer show in a clean Ubuntu 24.04 install

Blockquote
root@vmi3072730:~# grep -Ri quota /root/virtualmin-install*
python3-rfc3339 quota socat virtualmin-config webmin-virtual-server
python3-rfc3339 quota socat virtualmin-config virtualmin-core
Get:18 Index of /ubuntu noble/main amd64 quota amd64 4.06-1build6 [211 kB]
Selecting previously unselected package quota.
Preparing to unpack …/001-quota_4.06-1build6_amd64.deb …
Unpacking quota (4.06-1build6) …
create mode 100644 webmin/quota/config
Setting up quota (4.06-1build6) …
create mode 100755 cron.daily/quota
create mode 100644 default/quota
create mode 100755 init.d/quota
create mode 100755 init.d/quotarpc
create mode 100644 quotagrpadmins
create mode 100644 quotatab
create mode 100644 warnquota.conf
Creating config file /etc/dovecot/conf.d/90-quota.conf with new version
create mode 100644 dovecot/conf.d/90-quota.conf
create mode 100644 usermin/quota/config
[2026/07/14 22:15:41] [INFO] - Configuring Quotas
[2026/07/14 22:15:41] [INFO] - Code: 256 Result: modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/6.8.0-124-generic
[2026/07/14 22:15:42] [INFO] - Code: 0 Result: quotacheck: Your kernel probably supports ext4 quota feature but you are using external quota files. Please switch your filesystem to use ext4 quota feature as external quota files on ext4 are deprecated.
quotacheck: Scanning /dev/sda1 [/] quotacheck: Cannot stat old user quota file //aquota.user: No such file or directory. Usage will not be subtracted.
quotacheck: Cannot stat old group quota file //aquota.group: No such file or directory. Usage will not be subtracted.
quotacheck: Cannot stat old user quota file //aquota.user: No such file or directory. Usage will not be subtracted.
quotacheck: Cannot stat old group quota file //aquota.group: No such file or directory. Usage will not be subtracted.
quotacheck: Checked 16677 directories and 157599 files
quotacheck: Old file not found.
quotacheck: Old file not found.
[2026/07/14 22:15:42] [INFO] - Code: 512 Result: quotaon: Your kernel probably supports ext4 quota feature but you are using external quota files. Please switch your filesystem to use ext4 quota feature as external quota files on ext4 are deprecated.
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.
root@vmi3072730:~# virtualmin-config-system -i Quotas
[1/1] Configuring Quotas

Blockquote
root@vmi3072730:~# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
|-sda1 ext4 1.0 cloudimg-rootfs cc6f3ac6-f24d-4276-abe9-c242adec4e04 187.7G 3% /
|-sda14
|-sda15 vfat FAT32 UEFI 2499-3554 98.2M 6% /boot/efi
`-sda16 ext4 1.0 BOOT 3688c225-cd18-4633-bbc4-c62e00c21b95 702.2M 13% /boot
sr0 iso9660 cidata 2026-07-14-17-59-35-00

That’s not quite standard for the default Ubuntu 24.04 installation. To fix it, run the following commands and give it another try:

sudo apt-get update
sudo apt-get install -y "linux-modules-extra-$(uname -r)" linux-image-extra-virtual
sudo modprobe quota_v2
sudo virtualmin-config-system -i Quotas

Ahhh… yes! that fixed the issue thanks Ilia!

Thanks for the feedback!

Yet, what is the output of the following command on your system:

uname -a

root@vmi3072730:~# uname -a
Linux vmi3072730.contaboserver.net 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

I notice the version number: 6.8.0-134 instead of 124…

When I first install virtualmin I see a warning in the quotas when I recheck the server.

After that I make an update & upgrade, and start installing a virtual server for test and then I see the problem with the quotas

Alright, I see now. We will fix it upstream so it will work correctly automatically out of the box on such systems.