- Plesk for Linux
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
Database contains non-actual records about already solved errors.
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.