- Plesk Onyx for Linux
Creating a database under "example.com" returns the following error:
PLESK_ERROR: The password length must be between 5 and 255 characters.
It also happens when creating mail accounts.
without debug, the following can be seen:
CONFIG_TEXT: DEBUG [util_exec] [59b794f128517] Starting: filwrpr 16, stdin:
DEBUG [util_exec] [59b794f128517] Finished in 0.02421s, Error code: TRUE, stdout: , stderr:
DEBUG [util_exec] [c522bf8aa5dd898857f3813e48e68e73-0] Starting: osdetect, stdin:
DEBUG [util_exec] [c522bf8aa5dd898857f3813e48e68e73-0] Finished in 0.01733s, Error code: 0, stdout:
PLESK_INFO: ERR  Exception: PHP Notice: iconv_strlen(): Wrong charset, conversion from `ISO-8859-1' to `UCS-4LE' is not allowed; File: /usr/local/psa/admin/externals/Zend/Validate/StringLength.php, Line: 244
file: /usr/local/psa/admin/plib/Smb/Exception/Syntax.phpline: 57code: 0trace: #0 (0): Smb_Exception_Syntax::handleError(integer '8', string 'iconv_strlen(): Wrong charset, conversion from `ISO-8859-1' to `UCS-4LE' is not allowed'
ISO-8859-1 character encoding is absent from the server:
# iconv --list | grep ISO-8859-1
- #PPPM-7113 "Password validation: Creation of accounts (database/email) not possible"
- Plesk Obsidian 25 September 2018 (fixed as PPP-37919)
If update is not possible for some reason you may try the following
There is no workaround at the moment.