• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Problem with Apache / Plesk

NielsD

New Pleskian
That is my errorcode:

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/domainVhost.php, error = Template_Exception: [Template_Variable_Domain_PhysicalHosting] Wrong variable to subsitute: maintenanceMode file: /usr/local/psa/admin/plib/Template/Processor.php line: 27 code: 0 Previous error: Template_Exception: [Template_Variable_Domain_PhysicalHosting] Wrong variable to subsitute: maintenanceMode file: /usr/local/psa/admin/plib/Template/Processor.php line: 27 code: 0 Previous error: Template_Exception: [Template_Variable_Domain_PhysicalHosting] Wrong variable to subsitute: maintenanceMode file: /usr/local/psa/admin/plib/Template/Variable/Abstract.php line: 67 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.

But I have no idea how to fix it. Please assist me.
 
Last edited:
Run:
Code:
 /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

That should give you a more detailed error and possibly with the domains causing problems ..
 
I tried that and it's going through without any further problem.

For me it looks like a problem caused by the new place, where the conf files are stored, since the last update to 11.5 I made yesterday. It seems, that "something" is still trying to find the php.ini i.e and the other conf files at the old location. No idea why.
 
Hands-on investigation could be required ...Create a ticket seeking support from the Plesk team, it's FREE if you have unlimited domains licence ..otherwise, see my signature!
 
Hi,

i have the same Error since as i upgade to 11.5, and a unlimited Licence 11x, but i dont know my Licence Key, i dont have a Support Code.... where i find the Licence Key on my Server ?


Greetings

Moondust


*** ok, i found : grep 'key-number' /etc/sw/keys/keys/key*

Now i need to open a Ticket :)
 
Last edited:
For the record we have resolved Niels's issue and for the rest of the community, the cause and problem was:

Plesk was not properly upgraded and as such the file
Code:
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
was corrupted. We therefore had it replaced with one of our working versions and that resolved it all.
 
For the record we have resolved Niels's issue and for the rest of the community, the cause and problem was:

Plesk was not properly upgraded and as such the file
Code:
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
was corrupted. We therefore had it replaced with one of our working versions and that resolved it all.

It was done quickly and smoothly. Thx for that.
 
errors in configuration templates:

I had a similar error and upgraded from 11.09 to 11.5. and at first it seemed it did not fix the problem,

I got the error "Unable to generate the web server configuration file on the host <zole-hosting.net> because of the following errors:

Template_Exception: nginx: [emerg] listen() to 000.000.000.000:80, backlog 511 failed (98: Address already in use)
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 68
code: 0

Please resolve the errors in web server configuration templates and generate the file again."

But an hour later I am no longer getting the error messages.

I had to stop then restart nginx after the upgrade -- all my clients sites went to a 404!





For the record we have resolved Niels's issue and for the rest of the community, the cause and problem was:

Plesk was not properly upgraded and as such the file
Code:
/usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php
was corrupted. We therefore had it replaced with one of our working versions and that resolved it all.
 
Last edited:
Back
Top