Quotas are not enabled on the system when they are

This is quite a minor problem and I have since found a solution, but it would be very useful if the error message was changed slightly.

virtualmin fix-domain-quota --all-domains was giving the error:

Quotas are not enabled on this system (ln 49 of fix-domain-quota.pl)

when in fact quotas were enabled. The problem occurred because the OpenVZ container had quotas enabled, then somehow they got disabled, and then the ISP re-enabled them for me.

Once I ran virtualmin check-config, it changed the config values that say "has quotas enabled" and then the above command worked again.

Could ln49 be changed to advise that running check-config may fix the problem if quotas are actually enabled Or could the could actually check if quotas are enabled?

Status: 
Closed (fixed)

Comments

Good suggestion - I'll make that message clearer.

Status: Active ยป Fixed