- 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:
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:
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
ISO-8859-1 character set is required for Plesk to process passwords correctly. This is Plesk bug with ID PPPM-7113 and will be fixed in future product updates.
There is no workaround at the moment.