Plesk Repair tool fails to fix File System error: bytes-like object is required,

Started by Administrator, Dec 29, 2022, 10:48 AM

Previous topic - Next topic

Administrator

Symptoms
QuoteThe operation failed with the following error: {"id":1,"cmd":"plesk repair fs -n","type":"progress","message":"Checking Linux system files","level":0} {"id":2,"cmd":"plesk repair fs -n","type":"error","message":"There are incorrect permissions on some items: /var/log/plesk","level":1} {"id":3,"cmd":"plesk repair fs -n","type":"error","message":"There are incorrect permissions on some items: /opt/psa/PMM/tmp","level":1} {"id":4,"cmd":"plesk repair fs -n","type":"error","message":"There are incorrect permissions on some items: /opt/psa/PMM/rsessions","level":1} {"id":5,"cmd":"plesk repair fs -n","type":"error","message":"There are incorrect permissions on some items: /var/log/plesk/PMM","level":1}
  • Trying to repair File System inconsistencies at Tools & Settings > Diagnose & Repair fails with the next error:
Quote0 issue(s) fixed. 0 issue(s) detected
  • The following error is displayed when trying to fix permission and ownership issues with plesk repair fs tool:
Quote# plesk repair fs -y
...
ERROR:a bytes-like object is required, not 'str'
Cause
Product issue:
  • #PPPM-13691 "On Debian-based servers, the fsmng command line utility no longer fails when run."
Fixed in:
  • Plesk Obsidian 27 September 2022 (Linux)
Resolution
Please consider updating your server:
  • How to install Plesk updates