Applicable to:
- Plesk for Linux
Symptoms
-
After a failed system package update, the following error message is shown in Plesk:
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file =/opt/psa/admin/conf/templates/default/nginxDomainVhostIpDefault.php, error = Template_Exception: Call to a member function configuration() on null
-
The following entries are found in
/var/log/panel.log:CONFIG_TEXT: ERR [panel] Call to a member function configuration() on null
ERR [panel] New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file =/opt/psa/admin/conf/templates/default/nginxDomainVhostIpDefault.php, error = Template_Exception: Call to a member function configuration() on null
file: /opt/psa/admin/plib/Template/Processor.php
line: 28
code: 0
Previous error: Error: Call to a member function configuration() on null
file: /opt/psa/admin/plib/Template/Variable/Server/WebServer.php
line: 172
Cause
The cause of the issue is not clear.
In case you face this issue, create a 3-rd line to investigate that and confirm the possible bug of the product
Resolution
- Connect to the server via SSH
-
Reinstall Plesk microupdates:
# plesk installer update --repatch
Comments
Please sign in to leave a comment.