PHP-fpm must be restarted after resync
Environment:
- OS: Debian 10 Buster fresh install
- Web server: Nginx
- PHP version: 7.3 (from Debian repositories)
- ISPConfig version: git-stable
Steps to reproduce:
- Go to Tools->Resync
- Check websites; and select the server
- Click Start
Actual result: when visiting hosted websites which use PHP, a 502 bad gateway is page is returned Expected result: all websites should be resynced and functional
I know Nginx is not really supported on Debian 10 but maybe this could be useful.
Last information: when I connect to ssh and type systemctl status php7.3-fpm.service I have the following:
● php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Tue 2019-07-30 15:40:18 CEST; 5s ago
Docs: man:php-fpm7.3(8)
Process: 12023 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=killed, signal=USR2)
Process: 16934 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 12023 (code=killed, signal=USR2)
Status: "Ready to handle connections"
juil. 30 15:40:18 litchi systemd[1]: Reloading The PHP 7.3 FastCGI Process Manager.
juil. 30 15:40:18 litchi systemd[16934]: Failed to attach 16934 to compat systemd cgroup /system.slice/php7.3-fpm.service: No such file or directory
juil. 30 15:40:18 litchi systemd[1]: Reloaded The PHP 7.3 FastCGI Process Manager.
juil. 30 15:40:18 litchi systemd[1]: php7.3-fpm.service: Main process exited, code=killed, status=12/USR2
juil. 30 15:40:18 litchi systemd[1]: php7.3-fpm.service: Failed with result 'signal'.
juil. 30 15:40:18 litchi systemd[1]: php7.3-fpm.service: Unit cannot be reloaded because it is inactive.
juil. 30 15:40:18 litchi systemd[1]: php7.3-fpm.service: Unit cannot be reloaded because it is inactive.
juil. 30 15:40:21 litchi systemd[1]: php7.3-fpm.service: Unit cannot be reloaded because it is inactive.
juil. 30 15:40:21 litchi systemd[1]: php7.3-fpm.service: Unit cannot be reloaded because it is inactive.
juil. 30 15:40:21 litchi systemd[1]: php7.3-fpm.service: Unit cannot be reloaded because it is inactive.```