• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Subdomain config update leaves symbolic links in /etc/nginx/plesk.conf.d/forwarding directory

Bitpalast

Plesk addicted!
Plesk Guru
TITLE:
Subdomain config update leaves symbolic links in /etc/nginx/plesk.conf.d/forwarding directory
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx 17.0, latest MU, CentOS 7.2 and 7.3, 64-Bit
PROBLEM DESCRIPTION:
In several cases on different servers, after a customer has created or updated a subdomain configuration, symbolic links in /etc/nginx/plesk.conf.d/forwarding remain like:

lrwxrwxrwx 1 root root 35 Apr 28 20:23 last_nginx.conf -> admin.customerdomain.tld_nginx.conf

or

lrwxrwxrwx 1 root root 32 May 9 20:42 last_.othercustomerdomain.tld_nginx.conf -> _.othercustomerdomain.net_nginx.conf

These symbolic links are causing a warning message on the Nginx syntax check "nginx -t", because they duplicate existing configurations:

nginx: [warn] conflicting server name "admin.customerdomain.tld" on 88.99.88.99:80, ignored
nginx: [warn] conflicting server name "_.othercustomerdomain.tld" on 88.99.88.99:80, ignored

Duplicate domain configuration files for these domain exist in /etc/nginx//plesk.conf.d/wildcards and /etc/nginx/plesk.conf.d/vhosts along with the /etc/nginx/plesk.conf.d/forwarding versions. Those duplicates cause more warning messages even after the symbolic links are removed manually. This could be related to the same bug, but maybe it is another, additional bug.​
STEPS TO REPRODUCE:
I was unable to reproduce it, but I have seen it randomly on two different servers. It seems to be caused by frequent or high-frequency customer domain updates.​
ACTUAL RESULT:
Redundant / unnecessary symbolic links in Nginx configuration directory.​
EXPECTED RESULT:
No redundant configuration files or links.​
ANY ADDITIONAL INFORMATION:
Reconfiguration, e.g. through Troubleshooter, does not remove the symbolic links. Maybe Troubleshooter is actuall CAUSING the issue. I remember that there were issues when the customers initially created the subdomains, then we used troubleshooter to reconfigure, now we are seeing the extra symbolic links.​
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Last edited:
Hi Peter,

To investigate the issues we need at least panel logs with full enabled debug during the moment when such symlinks appeared.

Required flow:

1. remove all unnecessary symlinks
2. enable full debug
3. When you see that symlinks appeared again - collect panel log.
+ add full paths for this links

Thanks.
 
Question on debug mode: How strong is the impact on server performance? We'd need to run debug mode for a long while to catch this issue. The servers are strong but are hosting many domains. Do you know from experience what the performance impact will be, will it be noticeable by customers?
 
Peter,
Yes, I think that impact may be noticeable by customers. Especially you need to closely monitor the free disk space. Due to the huge log files on the hard loaded server, it can end very quickly.
 
I have tried to reproduce it by excessive creation and removal of subdomains but was unable to reproduce it yet. The normal panel.log does not give specific hints. I'll need some time to work an idea out how to detect the case when it occurs.
 
Back
Top