Submitted by wrightsonm on Sun, 10/02/2016 - 08:39
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
Submitted by JamieCameron on Sun, 10/02/2016 - 12:04 Comment #1
Good suggestion - I'll make that message clearer.
Submitted by JamieCameron on Sun, 10/02/2016 - 12:05 Comment #2