Page 1 of 1

Plesk 10.2 - Can't add a new website username/password

Posted: Mon Apr 25, 2011 2:15 pm
by premierhosting
Since I upgraded by CLI autoinstaller 10.2, adding a subscription (website) via the Plesk admin does not work.

Code: Select all

Username *
You can use lowercase alphanumeric, dash, and underscore symbols in the username. The username should start with a lowercase alphabetic character and should be between 1 and 16 characters in length. System user account used to manage files and folders of the websites created within the subscription.

Password *
The password should be between 5 and 20 characters in length.
After some tinkering I was able to add the domain via CLI:

Code: Select all

/usr/local/psa/bin/domain --create domain.com  -clogin loginname -login ftp_login -passwd ftp_pass -status enabled -dns true -hosting true -hst_type phys -php true -php_safe_mode false -notify false -template "Unlimited" -ip xxx.xxx.xxx.xxx
Anyone else running into this? Any suggestions where to poke around?

Re: Plesk 10.2 - Can't add a new website username/password

Posted: Fri Apr 29, 2011 12:19 pm
by hostingguy
Plesk has some rules for the usernames/passwords

password must be at least 6 characters
password must contain one lower case, one upper case and one number
password can not contain the username

username must be within 6-14 characters
username can not contain the password
username can not start with a number
username can only be alpha numeric (numbers and letters only - no spaces, special characters, etc)

Re: Plesk 10.2 - Can't add a new website username/password

Posted: Fri Apr 29, 2011 3:07 pm
by premierhosting
OK - I'm following all of the parameters of password and username creation, yet it fails. However on the CLI it does not fail, with the same username and password data.

New today, adding a "Customer" it fails on the customer password. Again, following the rules, it fails.

Re: Plesk 10.2 - Can't add a new website username/password

Posted: Fri Apr 29, 2011 3:37 pm
by premierhosting
Also, when trying to add a mysql database via the interface it tells me "The database name is too long." It's not, I have to manually add the database and manually tie it to the domain using the psa > data_bases

Re: Plesk 10.2 - Can't add a new website username/password

Posted: Fri Apr 29, 2011 4:09 pm
by scott
What version of mysql is this? There was an older (4.1? maybe 5.0) limit of 16 characters for database names

Re: Plesk 10.2 - Can't add a new website username/password

Posted: Fri Apr 29, 2011 4:15 pm
by hostingguy
Plesk UI may enforce this limit as well, even though it doesnt actually exist as a mysql limitation anymore.