• 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

Plesk Update Issues

CyberEdge_Alan

Basic Pleskian
A bit ago I had posted about this but had never gotten a response or anything really to help me. Nothing displays but a white page as if PHP is not working properly. I cannot even load a PHPinfo page. HTML files do load.

Here is my initial issue or 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/domainVhostIpDefault.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."

Running the webserver configuration tool I got the following...

Code:
[2013-09-07 03:24:35][INFO] ==> Installed Plesk version/build: 11.5.30 CentOS 6 115130819.13

[2013-09-07 03:24:35][INFO] ==> Detect system configuration
[2013-09-07 03:24:35][INFO] OS: CentOS release 6.4 (Final)
Kernel \r on an \m
[2013-09-07 03:24:35][INFO] Arch: x86_64

[2013-09-07 03:24:35][INFO] ==> Validation of given db password
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> Web server configuration checker version: 1.0.3

[2013-09-07 03:24:35][INFO] ==> Execution log dir: /usr/local/psa/tmp

[2013-09-07 03:24:35][INFO] ==> STEP 1: Checking for custom configuration templates...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 2: Checking for the JkWorkersFile directive in the Apache configuration...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 3: Checking associations between domains and IP addresses...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 4: Checking for corrupted reference between IP collections and IP addresses...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 5: Checking for links between APS applications and subscriptions...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 6: Checking for the Zend extension declaraion in php.ini...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 7: Check symbolic links for latest virtual host config files...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 8: Checking for system users home directories consistency...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 9: Checking for records with empty name field in the Configurations table...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 10: Checking for SElinux state...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 11: Checking for nginx ULIMIT value...
[2013-09-07 03:24:35][INFO] Result: OK

[2013-09-07 03:24:35][INFO] ==> STEP 12: Checking for extra configurations in database not owned by any object...
[2013-09-07 03:24:35][INFO] Result: OK

Found errors: 0; Found Warnings: 0

Untitled1.jpg
Untitled.jpg

Any ideas as to what is causing this?
 
Does php not function on all the domains on the server or just a single domain?
 
Remove custom templates

Search forum for "Wrong variable to subsitute: maintenanceMode". This has been discussed here several times.
 
PHP worked before the upgrade and now doesn't I would assume if phpinfo doesn't display. No error in log relating to PHP. Yet with plesk erroring like this if I got the error fixed I may be one step closer. I searched what Nikolay said and doesn't seem like anything there was very useful. I don't have custom templates and that's where most of these problems are from. Is there a way I can get someone to look at this? I'm not great in linux but only use the plesk panel to operate my own site and no one elses. I've been down for at least a month now with no luck.
 
You may always address Plesk support. For unlimited licenses it is free.

maintenanceMode variable is not present in Plesk 11.5, so your error means that:
1) either you have outdated custom vhost templates which reference this variable;
2) or you have modified default templates, so they now reference the variable.

The latter (whether default templates were modified) can be checked with # rpm -qV <package containing template files>, the package can be found via # rpm -qf <full path to any template file>.
 
I ran the following command from the other posts...

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.

Didn't fix my problem but it did say the plesk upgrade didn't finish

Plesk was not upgraded completely. See installation log for details.

And I'm unable to locate - /tmp/plesk_11.5.30_repair.log used find with no luck.
 
Please address official support for assistance, especially if your installation was not upgraded completely.
 
Back
Top