Plesk for Linux
kb: technical
ABT: Group B
Applicable to:
- Plesk for Linux
Symptoms
The plesk repair fs utility displays the following message:
ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/vhostmng-content'] with exit code [1]
vhostmng-content failed: Cannot open directory for reading /var/www/vhosts/example.com/httpdocs/.: No such file or directory
Fatal error: std::runtime_error(Failed to chroot to /var/www/vhosts/example.com/httpdocs: No such file or directory)
Cause
The folder /httpdocs is missing from the domain's directory, and is configured as Document Root.
Resolution
Apply one of the following solutions:
Create the missing folder.
- Log into Plesk
- Go to Domains > example.com > Dashboard > Files
- Go to Home Directory
- Click on the + sign and then Create Directory
- Type httpdocs and click Ok
Choose the correct website's document root
- Log into Plesk
- Go to Domains > example.com > Hosting & DNS > Hosting
- Under Document root type the right folder where website's content is located.
- Click Save
Comments
Please sign in to leave a comment.