• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved New configuration files for the Apache web server were not created due to the errors in configuratio

pitufo_webmaster

Basic Pleskian
  • Ubuntu 16.04.5 LTS‬
  • Plesk Onyx Versión 17.8.11

Hi guys.
I have used the new extension "repair kit" and now I have this error-warning ..

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/domainVhost.php, error = Template_Exception: No data.
file: /opt/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data.
file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.

Is dangerous ?
I have found this link . is correct ?
thks in advanced
 
Last edited:
In KB article, mentioned by you above, this check is described as command:

# ls -l /usr/local/psa/admin/conf/templates/custom/domain/

Have you found something in this directory? If yes - follow instructions in the article.
 
Run command

# plesk db "select * from Configurations where status <>'OK'"

In the output you will see something like:

| 582 | domainVhost | /var/www/vhosts/system/example.com/conf/httpd.conf | 15214580560.61527500 | domain | 188 | error | 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 | 1 | false | |

where 582 (example) is id of your affected domain.

Then remove broken record from Configurations table for this id:

# plesk db "delete from Configurations where id=582"

Note: id=582 is an id taken from the symptom.

Then reconfigure domain:

# plesk repair web example.com -y
 
with the instruction : plesk db "select * from Configurations where status <>'OK'"
You can log in as user 'root' or 'admin'. To log in as 'admin', use the 'plesk l ogin' command.
Use the 'plesk' command to manage the server. Run 'plesk help' for more info.

root@h2722569:~# plesk db "select * from Configurations where status <>'OK'"
+----+-------------+---------------+-------------------------------------------- ---------+----------------------+------------+----------+--------+--------+----- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------+-----------+
| id | name | serviceNodeId | file | version | objectType | objectId | status | active | desc ription | errorFile |
+----+-------------+---------------+-------------------------------------------- ---------+----------------------+------------+----------+--------+--------+----- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------+-----------+
| 17 | domainVhost | 1 | /var/www/vhosts/system/sonosfera.es/conf/ht tpd.conf | 15481444590.36323500 | domain | 13 | error | true | Temp :...skipping...
+----+-------------+---------------+-----------------------------------------------------+----------------------+------------+----------+--------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
| id | name | serviceNodeId | file | version | objectType | objectId | status | active | description | errorFile |
+----+-------------+---------------+-----------------------------------------------------+----------------------+------------+----------+--------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
| 17 | domainVhost | 1 | /var/www/vhosts/system/sonosfera.es/conf/httpd.conf | 15481444590.36323500 | domain | 13 | error | true | Template processing failed: file = /opt/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: No data.
file: /opt/psa/admin/plib/Template/Processor.php
line: 28
code: 0
Previous error: Template_Variable_Exception: No data.
file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php
line: 67
code: 0 | |
+----+-------------+---------------+-----------------------------------------------------+----------------------+------------+----------+--------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+

second : plesk db "delete from Configurations where id=582"

but, I have seen that this domain is no longer in my VPS, then I have deleted that domain

ps . I made too "plesk db "delete from Configurations where id=582" - sorry, I did not see well. "582" Have I broken anything ?
 
- sorry -
I made : # plesk db "delete from Configurations where id=17"
and now with : # plesk db "select * from Configurations where status <>'OK'"
there is not anything

any problem with "582" XD
 
Hi igorG. I have deleted that domain, there is not longer in my VPS
Should I delete all reference to that domain ? how ?
Now I have warnings about that deleted domain, but it is not important.

the rest :Solved.
Really, thks so much for your time and profesionality
 
Last edited:
Back
Top