Applicable to:
- Plesk for Linux
Symptoms
- The following web configuration error is shown in the Plesk interface:
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/webmail/webmail.php, error = Template_Exception: Call to a member function getId() on null file: /usr/local/psa/admin/plib/Template/Processor.php line: 38 code: 0 Previous error: Error: Call to a member function getId() on null file: /usr/local/psa/admin/plib/Template/Variable/Domain/LoopbackTrait.php line: 26 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
- One of the IP addresses in Plesk > Tools & Settings > IP Addresses is shown as broken:
PLESK_WARN: This IP address is not configured properly. Repair
- The broken IP address is missing from the network configuration on the server:
# ip a | grep 203.0.113.2
# <empty output>
Cause
Some domains are assigned to a missing/broken IP.
Resolution
- Reassign the domain to the existing IP address.
-
Remove IP from Tools & Settings > IP Addresses.
- Repair configuration with the commands:
# plesk repair db -y
# plesk repair web -y
Comments
This error happens when relocated vhosts paths are not properly updated, causing “Path is invalid” and blank previews; fixing the directory path and permissions usually resolves it—just like a sports medicine doctor Astoria NY, where a small mistake leads to wrong results.
Please sign in to leave a comment.