• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved PROBLEM ADD DOMAIN

Nicola

Basic Pleskian
Hi,
I try to add a domain but when save the configuration appears some errors:

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: Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details. Failed to start php-fpm service

Attached I have included the images that best explain the procedure. I tried to follow the instructions provided in error but I have not solved.

Thanks for help
 

Attachments

  • Cattura1.JPG
    Cattura1.JPG
    52.6 KB · Views: 3
  • Cattura2.JPG
    Cattura2.JPG
    82.1 KB · Views: 3
  • Cattura3.JPG
    Cattura3.JPG
    32.5 KB · Views: 3
Hi Nicola,

pls. consider to use the SEARCH option from the froum, because you might find it very usefull to read previous threads/posts with the very same issue:
Error: phpinimng failed: Job for php-fpm.service failed because the control process exited with error code. See "systemctl status php-fpm.service" and "journalctl -xe" for details. Failed to start php-fpm service

You could have found for example: => #4
... where you will not only find a detailed explanation, but as well suggestions, how to solve the issue.
 
Hi UFHH01,
sorry but your answer does not answer my question. The second problem is clearly related to the first and is simply a consequence.

The main problem is that when I try to add a domain, plesk does not create the web space (in "/var/www/vhosts"), the configuration (in "/var/www/vhosts/system") and the system user. How I can to try to resolve this problem? You have any suggestion?

I tried to run these commands but anythings changes:

plesk repair web mydomain.com

plesk repair installation
 
Hi Nicola,

did you modify/edit the default templates at "/usr/local/psa/admin/conf/templates/default" ( because of the error: "Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: No data" ) ?

Consider as well to regenerate your webserver - configuration files with for example:

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all


In addition, it could always help to get the latest updtes/upgrades/patches, as for example with:

plesk installer --select-product-id plesk --select-release-current --reinstall-patch --install-component base

followed by a complete repair procedure:

plesk repair all -y -v
 
"plesk repair all" can cause loss of data or is only a command that reconfigure plesk?
 
Hi Nicola,

such a REPAIR - process will never touch your content at all! It is used to repair the depending CONFIGURATION. ;)
 
Back
Top