Username:
TITLE
Custom PHP versions: no systemctl reload is issued on a change of PHP handlers when changing from any custom handler to any other handler
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
OS version, architecture: Ubuntu 20.04.5 LTS
Product version (including MU): 18.0.49 Update #2
PROBLEM DESCRIPTION
SOURCE
Issue - Plesk not reloading service of custom PHP handler
PROBLEM DESCRIPTION
When a PHP handler that was installed through Plesk installer is changed to another PHP handler, Plesk issues a "systemctl reload" command. As a result, the pool config is removed from poold and the socket file in /var/www/vhosts/system/<domain> is cleared.
But when the customer has installed a custom PHP handler and changes from that custom PHP handler to another PHP handler, Plesk does not issue a systemctl reload. In such a case the pool config is removed, but the custom handler's service does not notice that, because the systemctl reload is missing. This leads to the situation that the new handler cannot start, because:
ERROR: Another FPM instance seems to already listen on /var/www/vhosts/system/<domain>/php-fpm.sock
STEPS TO REPRODUCE
ACTUAL RESULT
No systemctl reload, socket file not removed
EXPECTED RESULT
systemctl reload, remove socket file
ANY ADDITIONAL INFORMATION
Solely based on customer forum post, not verified by CM.
Workaround: Run systemctl reload manually from the console.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
Custom PHP versions: no systemctl reload is issued on a change of PHP handlers when changing from any custom handler to any other handler
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
OS version, architecture: Ubuntu 20.04.5 LTS
Product version (including MU): 18.0.49 Update #2
PROBLEM DESCRIPTION
SOURCE
Issue - Plesk not reloading service of custom PHP handler
PROBLEM DESCRIPTION
When a PHP handler that was installed through Plesk installer is changed to another PHP handler, Plesk issues a "systemctl reload" command. As a result, the pool config is removed from poold and the socket file in /var/www/vhosts/system/<domain> is cleared.
But when the customer has installed a custom PHP handler and changes from that custom PHP handler to another PHP handler, Plesk does not issue a systemctl reload. In such a case the pool config is removed, but the custom handler's service does not notice that, because the systemctl reload is missing. This leads to the situation that the new handler cannot start, because:
ERROR: Another FPM instance seems to already listen on /var/www/vhosts/system/<domain>/php-fpm.sock
STEPS TO REPRODUCE
- Install a custom PHP handler
- Set any domain to that custom PHP handler.
- Change the PHP handler to another PHP handler.
ACTUAL RESULT
No systemctl reload, socket file not removed
EXPECTED RESULT
systemctl reload, remove socket file
ANY ADDITIONAL INFORMATION
Solely based on customer forum post, not verified by CM.
Workaround: Run systemctl reload manually from the console.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
Last edited: