• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Errors upgrading to 11.5.x — Template processing failed

IanJ

New Pleskian
After upgrading to 11.5 I get this reported error when I log into the admin control panel:

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.

Can anybody help??
 
Sorted. Removed all the conf directories for each site.

Then ran /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

Followed by /usr/local/psa/admin/bin/httpdmng --reconfigure-all

All peachy.
 
Sorted. Removed all the conf directories for each site.

Then ran /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

Followed by /usr/local/psa/admin/bin/httpdmng --reconfigure-all

All peachy.


Can you specify what needs to be removed and where?
 
Hi

I have the same issue and I upgrade to Plesk 11.5.3.

I tried the fix listed above on 1 of the subdomains but this failed to fix the issue.

Also where can I obtain the file they mention here http://forum.parallels.com/pda/index.php/t-291497.html

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
/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.

The site now has now functioned correctly for around 15 hours so in need of a fix asap.

Roy
 
Hi Roy,

I am having exactly the same problem after upgrading from 11 to 11.5, can you send me this file please or let me know how to get a fresh copy?

Thank you!
 
Back
Top