Applicable to:
- Plesk for Linux
Symptoms
The following error is shown on the Home page or in Domains > example.com page:
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainForwarding.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 27 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 65 code: 0. The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
Actually configuration files are correct: Apache is up and running and websites are accessible.
Apache configuration test is being passed:
# apachectl configtest
Syntax OK
Cause
Database contains non-actual records about already solved errors.
Resolution
Solution 1. Use Plesk web interface.
- Login into Plesk UI.
- Navigate to the tab Extensions > My Extensions > Webserver Configurations Troubleshooter.
- Enter the domain name in a search, choose all files related to domain example.com and click Rebuild domain's configuration files > Selected.
Solution 2. Use command line.
-
Connect to the server using SSH.
- Backup Plesk database.
- Update orphan records via MySQL query:
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -Ne"update Configurations set Configuration.status = 'ok' where Configurations.status <> 'ok';"
Comments
0 comments
Please sign in to leave a comment.