Virtual servers list shows 3 users on a virtual server but there is only one

Hi, I have a virtual server that is reported to have 3 users. When I click on the link I see only one. It is a parent server with some sub servers.

I have set a limit of 10 users in the parent server and the subservers and virtualmin reports it is being reached, although I can find only 8 in all servers.

running /usr/share/webmin/virtual-server/list-users.pl --domain domain shows one user in the domain that virtualmin lists as having 3

Is there a way to update this info and make virtualmin recount users? Is there a config file somewhere that I should check or change?

Thanks!

Status: 
Closed (fixed)

Comments

After searching all the domains I found 2 website FTP access users on 2 domains. These are the missing 2 users I couldn't find.

However the information on List Virtual Servers page is kind of misleading. It counts the 2 users website FTP access users as being in the parent server but shows them instead in the sub servers when clicking on (List..) link.

I can understand that from the OS point of view they belong there, but it is confusing on the interface. Can you please fix this?

On which page or screen are you seeing the count of 3 users?

After clicking In the bottom link "List Virtual Servers" on the left frame I see the list of domains. There is a field Users which counts the number of users on each domains (with a List.. link next to it).

Ok, that field is calculated using different code to make the display of domains faster..

Do these two missing users have home directories set to something unusual, or are they /home/parentdomain/domains/subdomain.com/homes/username ?

After selecting Edit Mail and FTP users of a sub-server, they were added as Website FTP Users only (no mail) using the defaults

The directories are /home/parentserver/domains/subserver1/public_html/www and /home/parentserver/domains/subserver2/public_html/www

(The only difference in my setup is custom Directives and settings for new websites in Server Templates/Apache website that include

DocumentRoot ${HOME}/public_html/www

So the Website directories are not in public_html but in public_html/www)

The users show up in Edit Mail and FTP Users of the 2 subservers, but not counted there in the "List Virtual Servers" page . They are counted instead in the parent server.

Ok, I see the cause of the bug now ... FTP users whose home directories are under public_html are not counted properly. I will fix this in the next Virtualmin release (version 3.84).

Thanks! Keep up the good work!

Automatically closed -- issue fixed for 2 weeks with no activity.