quota error: Group xxxxxx doesn't exist

Hi Joe,

When adding a new domain and using different custom admin username than the domain name I get a quota error: "Group xxxxxx doesn't exist" and the users "Disk Quota" in Virtualmin menu shows:
Allowed disk quota 500 MB Disk space used 0 bytes
Size of databases 0 bytes Percent of quota used 0%

Example:
If I create domain: mytestdomain.se
and custom admin username: mytest

The Users and Groups looks like this:

Local Users
Username User ID Group Real name Home directory Shell
------------------------------------------------------------------------------
mytest 567 mytestdomain My Testdomain /home/mytest /bin/sh

Local Groups
Group name Group ID Members
---------------------------------
mytestdomain 511 apache

Then this error starts showing up in miniserv.error:
quota: Group mytest doesn't exist.

But if I create the domain: mytestdomain.se
and custom admin username: mytestdomain

The Users and Groups looks like this:

Local Users
Username User ID Group Real name Home directory Shell
------------------------------------------------------------------------------
mytestdomain 567 mytestdomain My Testdomain /home/mytestdomain /bin/sh

Local Groups
Group name Group ID Members
---------------------------------
mytestdomain 511 apache

Then everyhing works ok.

Any ideas what I should do? because we have many domains (not yet transfered do this server) that use a cusom admin username different than the domain-name.

Regards,
Leif Blafors

Status: 
Closed (fixed)