Applicable to:
- Plesk for Linux
Symptoms
- Node.JS application does not work: Default Plesk Server Page is shown instead;
- No passenger directives can be found the configuration files for the domain, the following command returns an empty result:
# grep -r 'mod_passenger' /var/www/vhosts/system/example.com/conf/
# - Directive is not there even after re-creating Web Server configuration files for the domain:
# plesk repair web example.com
...
# grep -r 'mod_passenger' /var/www/vhosts/system/example.com/conf/
# -
Custom configuration template is used on the server
# ls -d /usr/local/psa/admin/conf/templates/custom/
/usr/local/psa/admin/conf/templates/custom/
Cause
Incorrectly compiled custom configuration template.
Resolution
Note: as every custom configuration file is unique, there is no general way to identify how exactly they should be adjusted. Compare default configuration templates and adjusted them accordingly.
As an alternative, it is possible to revert back to default configuration templates by following instructions below:
- Log into the server via SSH.
Note: if direct SSH access to the server is not possible, contact server administrator for further assistance.
- Move the custom configuration templates:
# mv /usr/local/psa/admin/conf/templates/custom/ /root/custom/
- Re-create configuration files for the affected domain with the following command:
# plesk repair web example.com
Or re-create configuration files for all domains by executing the following command:
# plesk repair web -y
Comments
0 comments
Please sign in to leave a comment.