Submitted by dirigeant on Thu, 01/17/2013 - 18:11
When i run virtualmin create-domain
cli command, it doesn't create unix-user and some of tasks give error.
I can create domains via web interface.
These are commands which i tried to use.
virtualmin create-domain --domain user1.sub.mydomain.com --pass 123456 --email test@test.com --plan plan1 --features-from-plan
virtualmin create-domain --domain user1.sub.mydomain.com --pass 123456 --email test@test.com --plan plan1 --features-from-plan --user user1
virtualmin create-domain --domain user1.sub.mydomain.com --pass 123456 --email test@test.com --plan plan1 --features-from-plan --user user1 --group user1
And this is the output of the command.
Beginning server creation ..
Creating home directory ..
.. done
Creating mailbox for administration user ..
.. done
Adding new virtual website ..
Unknown id: user1
Unknown id: user1
Unknown id: user1
Unknown id: user1
.. done
Performing other Apache configuration ..
Unknown id: user1
Unknown id: user1
Unknown id: user1
.. configuration failed : Failed to copy /etc/php5/cgi/php.ini to /home/user1/etc/php5/php.ini : at ../web-lib-funcs.pl line 1361.
Setting up log file rotation ..
.. done
Adding DAV directives to website configuration ..
Unknown id: user1
.. DAV Login failed! : virtualmin-dav::feature_setup failed : Failed to open /home/user1/etc/dav.digest.passwd : No such file or directory at ../web-lib-funcs.pl line 1361, <readout3> line 1.
Applying web server configuration ..
.. done
Saving server details ..
.. done
All done!
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 01/17/2013 - 18:59 Comment #1
In that plan "plan1", is the "Administration user" enabled in the list of features?
Submitted by JamieCameron on Thu, 01/17/2013 - 19:04 Comment #2
Also, there is a Virtualmin bug here - it shouldn't have allowed you to select such a plan in the first place. I'll fix that in the next release.
Submitted by dirigeant on Thu, 01/17/2013 - 22:12 Comment #3
"administrator user" wasn't selected. when i select it, problem solved. thanks for help.
Submitted by JamieCameron on Thu, 01/17/2013 - 22:41 Comment #4
Submitted by Issues on Thu, 01/31/2013 - 22:46 Comment #5
Automatically closed -- issue fixed for 2 weeks with no activity.