Update in case anyone has the same issue. At your own risks of course.
You need to enable quota manually before enabling enhance's. This applies to Ubuntu 24.04 images from at least 3 big VPS providers, with default EXT4 drive. It may thus affect others.
The error will only add "usrjquota=aquota.user,jqfmt=vfs" to your /etc/fstab but not grpjquota=aquota
Add it manually so that it's what Enhance expects:
sudo nano /etc/fstab
I.e. make sure your main drive has:
usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfs
You may need to check if you have mismatch:
find /lib/modules/ -type f -name '*quota_v*.ko*'
uname -r
If so, run
sudo update-grub
Then reboot
Following that:
sudo modprobe quota_v1
sudo modprobe quota_v2
touch /aquota.user
touch /aquota.group
chmod 600 /aquota.user
chmod 600 /aquota.group
quotacheck -cum /
quotacheck -cgm /
quotaon -avug
quotaon -pa
See both users and groups turned on? All good, Enhance will be able to do its process. Turn it back off
quotaoff -avug
Now go to web disk, click on "enable", and you're set!
Note : I reinstalled to make sure this works but Enhance may have done the user part if you tried enabling it before having the error (i.e. touch /aquota.user
, chmod 600 /quota.user
and quotacheck -cum /
as it was already on for me, so they'll return errors if it's already on. But the group part in my case was the part enhance did not do)
Second note: I didn't try but the sudo modprobe quota_v1 forward may not be necessary if the issues were the /etc/fstab and/or grub. In any case, make sure to turn quotaoff before trying to enable it as if user is on and group is off like it did with me, Enhance will return another error.