• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Issue When an add-on domain is set to PHP-FPM and removed, PHP-FPM config file is not removed

Bitpalast

Plesk addicted!
Plesk Guru
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Onyx, MU #15, CentOS 7.3, 64-Bit

PROBLEM DESCRIPTION
If a domain is removed from a subscription that was peviously defined as "website" in hosting setting and using PHP-FPM, the corresponding PHP-FPM configuration file is not removed from the fpm configuration directory. This prevents further restarts or starts of PHP-FPM service, because the configuration file is found and parsed, but the corresponding web server directory and web space is now missing.

STEPS TO REPRODUCE
Create subscription, add a domain and set the domain to PHP-FPM 7.0. Then remove the domain.

ACTUAL RESULT
PHP-FPM configuration file remains in PHP FPM configuration directory.

EXPECTED RESULT
Should be removed.

ANY ADDITIONAL INFORMATION
Not tested if reproduceable or "always" the case.
 
ADDITIONAL INFORMATION
Meanwhile I have tested several transactions on a test system, e.g. creating domain, removing, changing hosting type and removing, changing FPM to FastCGI and back and removing etc. I was unable to reproduce the issue on the test system. I assume that the issue occurs as the result of a timing problem, because on the system where it occured, it normally takes a very long while until configuration is updated, because running PHP-FPM processes prevent immediate changes. My guess is that while the one update has not yet finished, the customer has made another one, overwriting the transaction of the first and leading to the remaining .conf file in /opt/plesk/php/7.0/etc/php-fpm.d. Timing seems to be general issue when updates to domains are done. I'd suggest to lock a domain and a customer account to further changes until one change has completed. We had similar issues with the Let's Encrypt certificates that customers where creating, deleting, creating, deleting stuff within seconds, and the scripts did not do it in the right order which caused files and actual live configuration to be out of sync. Customers are playing around a lot, and it would be better to set their panel to "read only" until one update has gone through completely.
 
Back
Top