• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue SSHFS mount makes Plesk-hosted sites unreachable :(

stevland

Basic Pleskian
Yesterday I used SSHFS to mount a directory on another server with my CentOS 7 / Plesk web server.

I then added an entry to /etc/fstab/ to make the mount persistent

sshfs#[email protected]:/var/www/html/ /mnt/html fuse defaults,allow_other 0 0

This setup works great and allows me to quickly transfer files to a testing server for a project I am developing.

That is, until today when I went to add a new domain to Plesk. After adding the domain I recieved and email with this:

Template_Exception: AH00526: Syntax error on line 124 of /etc/httpd/conf/httpd.conf:
DocumentRoot '/var/www/html' is not a directory, or is not readable

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0


I unmounted the remote folder, deleted the mount point, removed the entry from fstab and rebooted.

All of the websites that I host are now unreachable.

ERR_CONNECTION_REFUSED

I see that httpd.conf is riddled with entries pointing to '/var/www/html', which is the remote file system (my Plesk server uses /var/www/vhosts).

Please help!

1) Will it suffice to change all of the entries in httpd.conf to the proper values? Or what do I have to do to undo this?

2) How did this happen / what did I not understand or do wrong to create this situation?

3) How can I mount a remote directory without messing up my whole server?!
 
UPDATE: I edited httpd.conf and corrected the entries. Everything now appears to be working normally.

But my questions 2) and 3) still stand.
 
Back
Top