Account Creation is Broken

My virtualmin servers where working fine until some weeks ago when I updated them.

They fail to create new accounts now. The error is because its failing to create the appropiate "log" folder inside the user directory. I create accounts on a NFS share, but it was working fine before version 4.01

The error an account gets when it tries to create a new account is:

Adding new virtual website .. .. Apache website failed! : Failed to open /home/example/logs/example.com_access_log : No such file or directory at /usr/libexec/webmin/web-lib-funcs.pl line 1376, line 1.

What is worst, is that the account shows as created in Virtualmin, but since this log directory does not exist, Apache crashes and will not start anymore. So you need to remove the account, which it does fine but only partially.

The folder is removed, the user and usergroup is removed, but he virtual server in Apache is not. You need to them manually erase the virtual server.

So not only is this latest version not creating accounts anymore, but its not erasing them correctly either. It all points to the file: /usr/libexec/webmin/web-lib-funcs.pl

For some reason, or some change, it now fails to create this directory in the user account. So basically my servers are broken now.

Maybe some code should be reverted to how it was before.

Status: 
Closed (fixed)

Comments

This seems not to be related to Virtualmin directly.