• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue Warning: Custom template has insufficient permissions: nginxDomainVirtualHost.php

andreios

Regular Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
18.0.63 Update #1
I want to use custom template, but I get this warning.

plesk repair web -verbose

Checking Plesk version
Installed Plesk version/build: 18.0.63 Ubuntu 24.04 1800240809.10
Checking Apache configuration ..................................... [OK]

Checking for custom configuration templates
Custom template
/opt/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php
has been found but the template has insufficient permissions, so
that it will be ignored
Some custom configuration templates have been found. The custom
templates have higher priority than default templates in case of
configs generation
Please check documentation for details:
https://docs.plesk.com/current/redirect.html?book=advanced-administration-guide-linux&page=68693.htm
................................................................... [WARNING]

-rw-r--r-- 1 root root 12K Aug 18 07:11 /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php
-rw-r--r-- 1 root root 12K Aug 9 12:58 /usr/local/psa/admin/conf/templates/default/domain/nginxDomainVirtualHost.php
 
Ubuntu uses another location. You posted the location for CentOS/Almalinux systems.

Have a look at this file
/opt/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php
 
Back
Top