Starting on October 19, 2021, we will enable single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
To be prepared for this change and to avoid the need to register during your next ticket submission after the change, we encourage you to create an account here before October 19 using the same email address as your current Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account. You will continue to use ZenDesk authentication until we switch over to single-sign-on on October 19th.

Plesk error: Template processing failed. TemplateException

Follow

Comments

3 comments

  • Avatar
    Jeffrey Zeunert

    I'm unable to create a new domain. I ran a script to automatically update the improper AUTO_INCREMENTS value. That was sucessful. However, I now have new error messages (below) which brought me to this article. I get stuck on step two, I don't have a folder "templates". I'm running Plesk Onyx.

     

    # mv /usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php{,.backup}
    mv: cannot stat ‘/usr/local/psa/admin/conf/templates/custom/domain/domainVirtualHost.php’: No such file or directory
    #

    The errors that brought me to this article:

    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: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 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. See the details in Configuration Troubleshooter


    Error: phpinimng failed: configuration test '/usr/sbin/php-fpm --test' failed with code 78, and message: [05-Apr-2020 13:18:26] WARNING: Nothing matches the include pattern '/opt/plesk/php/7.3/etc/php-fpm.d/*.conf' from /opt/plesk/php/7.3/etc/php-fpm.conf at line 119. [05-Apr-2020 13:18:26] ERROR: No pool defined. at least one pool section must be specified in config file [05-Apr-2020 13:18:26] ERROR: failed to post process the configuration [05-Apr-2020 13:18:26] ERROR: FPM initialization failed

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    Hi @Jeffrey Zeunert,

    "AUTO_INCREMENTS value" should not affect this setting.

    This article is applicable when there are custom templates exist on a server. it is indicated in the symptoms:

    # find /usr/local/psa/admin/conf/templates/custom -type f

    Your error regarding missing templates mean that there are no custom templates. So we can ignore "No such file or directory" error regarding custom templates and concentrate on the main 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/domainVhost.php, error = Template_Exception: No data.

    To fix it, try to run:
    # plesk repair web

    If it does not help, consider submitting a support request to Plesk directly or to a reseller, depending on where the license was purchased.

    0
    Comment actions Permalink
  • Avatar
    Jeffrey Zeunert

    Hi Yulia. Thanks for your help.  I ended up doing the upgrade to Obsidian and that resolved the problem. Good to know about custom templates and # plesk repair web.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request