- Plesk 12.5 for Linux
- Plesk Onyx for Linux
Plesk repair utility fails when files or folder names contain special or unicode characters:
# plesk repair fs example.com -v
Repairing files or directories owned by the apache user ......... ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/vhostmng-content'] with exit code 
vhostmng-content failed: Fatal error: std::runtime_error(can not parse data from stdin : Invalid or unsupported Unicode character or escape sequence found in string. UTF8 encoded characters and '\\u' escape sequences are not supported. Error occured at offset 175, character '\'. )
File causing the issue is owned by Apache system user:
for RHEL-based OS:
for Debian-based OS:
This is Plesk bug with ID #PPPM-4377 which is planned to be fixed in future Plesk updates.
As a workaround:
Login to the server over SSH.
- Find the the files causing the issue with the following command. For example:
# ls /var/www/vhosts/example.com/httpdocs/ | grep --color='auto' -P "[^\x00-\x7F]"
Fix file ownership manually, e.g:
# chown sys_user:psacln file.name.php
sys_useris the subscription system user.
# chmod 644 file.name.php