Symptoms
-
Execution of the
plesk repair fs
command fails with the error:- For Debian-like OSes:
# plesk repair fs -verbose
Checking Linux system files[2020-08-19 18:22:52.732] ERR [util_exec] proc_close() failed [‘/opt/psa/admin/bin/fsmng’ ‘–check-ac’ ‘/mnt/storage’] with exit code [1]There are incorrect permissions on some items: /mnt/storage ……. [ERROR]
– fsmng failed: dpkg-query: no path found matching pattern
/mnt/storage
ERROR:Command ‘[‘/usr/bin/dpkg’, ‘-S’, ‘/mnt/storage’]’
returned non-zero exit status 1- For Centos/RHEL OSes:
# plesk repair fs -verbose
Checking Linux system files[2020-08-19 18:22:52.732] ERR [util_exec] proc_close() failed [‘/usr/local/psa/admin/bin/fsmng’ ‘–check-ac’ ‘/mnt/storage’] with exit code [1]There are incorrect permissions on some items: /mnt/storage ……. [ERROR]
– fsmng failed: ERROR:Command ‘[‘/bin/rpm’, ‘-qf’,
‘/mnt/storage’, ‘–dump’]’ returned non-zero exit status 1
Cause
The server has a custom virtual host location. plesk repair
utility false-positively identifies the custom virtual host path as having incorrect permissions.
Such behavior was confirmed as Plesk bug with ID #PPPM-12325, which is planned to be fixed in future Plesk updates.
Resolution
The error message can be ignored as it is a false positive.
Follow the article to be notified when the bug is fixed – the article will be updated.