In Progress CPANEL-36504 - Service subdomains disable nginx bug

Operating System & Version
cloudlinux 7
cPanel & WHM Version
11.95.9999

Kholodny

Member
Nov 30, 2020
9
2
3
Moscow
cPanel Access Level
Root Administrator
Hello. I found a bug with nginx.
When i disable «Service subdomains» feature in tweak setting cpanel not create ServerAlias for cpanel, webmail etc in apache config, but continue to create server blocks in nginx. This creates a lot of unnecessary garbage in the nginx config
 

Attachments

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,871
601
273
cPanel Access Level
Root Administrator
Thanks for letting me know about this. I've created case CPANEL-36504 with our developers so they can look into that behavior. If you are signed in to our ticket system, you can use this article to follow along with that case:


I'll also be sure to post any updates I hear about to this thread.
 
  • Like
Reactions: Kholodny

finna

Registered
Apr 4, 2021
3
0
1
Madripoor
cPanel Access Level
Root Administrator
Also noticing a similar issue which I believe could be related to this bug.

Have «Service subdomains» feature in tweak settings disabled.

Server sending Anacron report as follows:

Code:
/etc/cron.daily/logrotate:

Could not determine owner of “127.0.0.1”
error: error running non-shared postrotate script for /var/log/nginx/domains/127.0.0.1-bytes_log of '/var/log/nginx/domains/* '
Could not determine owner of “127.0.0.1”
error: error running non-shared postrotate script for /var/log/nginx/domains/127.0.0.1-ssl_log of '/var/log/nginx/domains/* '
isa check for "path" failed: Pattern given instead of single file (logrotate’s `sharedscripts` enabled?)
error: error running non-shared postrotate script for /var/log/nginx/domains/cpanel.* of '/var/log/nginx/domains/* '
isa check for "path" failed: Pattern given instead of single file (logrotate’s `sharedscripts` enabled?)
error: error running non-shared postrotate script for /var/log/nginx/domains/cpanel.*-bytes_log of '/var/log/nginx/domains/* '
Could not determine owner of “cpanel.domain.com”
error: error running non-shared postrotate script for /var/log/nginx/domains/cpanel.domain.com-bytes_log of '/var/log/nginx/domains/* '
Could not determine owner of “cpanel.domain.com”
error: error running non-shared postrotate script for /var/log/nginx/domains/cpanel.domain.com-ssl_log of '/var/log/nginx/domains/* '
Could not determine owner of “webdisk.domain2.co.uk”
error: error running non-shared postrotate script for /var/log/nginx/domains/webdisk.domain2.co.uk-ssl_log of '/var/log/nginx/domains/* '
Could not determine owner of “whm.domain.com”
error: error running non-shared postrotate script for /var/log/nginx/domains/whm.domain.com-bytes_log of '/var/log/nginx/domains/* '
Could not determine owner of “whm.domain.com”
error: error running non-shared postrotate script for /var/log/nginx/domains/whm.domain.com-ssl_log of '/var/log/nginx/domains/* '