Error while trying to use admin_bandwidth_limit template

ttremain

Well-Known Member
Feb 16, 2003
255
3
168
cPanel Access Level
Root Administrator
I (and 1 client) have received several copies of an email.

Any idea what this means?


Subject: Error while trying to use admin_bandwidth_limit template

Body:
Template file for admin_bandwidth_limit not located
 

ttremain

Well-Known Member
Feb 16, 2003
255
3
168
cPanel Access Level
Root Administrator
I found my server was missing all files within the /usr/local/cpanel/src/templates/ folder.

These would include:

/usr/local/cpanel/src/templates/apache1/ssl_vhost.default
/usr/local/cpanel/src/templates/apache1/vhost.default
/usr/local/cpanel/src/templates/mainacct_mailbox_size_warning/main.default
/usr/local/cpanel/src/templates/mailbox_size_warning/main.default
/usr/local/cpanel/src/templates/mainacct_disk_warning/main.default
/usr/local/cpanel/src/templates/apache2/ssl_vhost.default
/usr/local/cpanel/src/templates/apache2/vhost.default
/usr/local/cpanel/src/templates/bandwidth_limit/main.default
/usr/local/cpanel/src/templates/admin_bandwidth_limit/main.default
/usr/local/cpanel/src/templates/admin_disk_warning/main.default
/usr/local/cpanel/src/templates/mainacct_emailquota_notifylist/main.default

These files are email templates.

I have no idea how to fix this, I was able to copy the files from another server.
 

dhost

Active Member
Nov 29, 2002
32
0
156
Missing Templates

For me, running '/scripts/upcp --force' restored the directory files.
 

oulzac

Well-Known Member
Aug 7, 2005
131
0
166
I just found this issue on a server, the issue is caused by the permission on the folders/files in the directory Thomas pointed out (/usr/local/cpanel/src/templates)
having incorrect ownership.

This happens when the folders/files are set to root:root and not root:wheel