Error after update

Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php7.2-fpm (7.2.20-1+ubuntu18.04.1+deb.sury.org+1) …
NOTICE: Not enabling PHP 7.2 FPM by default.
NOTICE: To enable PHP 7.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Job for php7.2-fpm.service failed because the control process exited with error code.
See “systemctl status php7.2-fpm.service” and “journalctl -xe” for details.
invoke-rc.d: initscript php7.2-fpm, action “restart” failed.
● php7.2-fpm.service - The PHP 7.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.2-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2019-07-11 19:35:09 EEST; 7ms ago
Docs: man:php-fpm7.2(8)
Process: 13707 ExecStart=/usr/sbin/php-fpm7.2 --nodaemonize --fpm-config /etc/php/7.2/fpm/php-fpm.conf (code=exited, status=78)
Main PID: 13707 (code=exited, status=78)

Jul 11 19:35:09 hestia.domain.tld systemd[1]: Starting The PHP 7.2 FastCGI Process Manager…
Jul 11 19:35:09 hestia.domain.tld php-fpm7.2[13707]: [11-Jul-2019 19:35:09] WARNING: Nothing matches the include pattern ‘/etc/php/7.2/fpm/pool.d/*.conf’ from /etc/php/7.2/fpm/php-fpm.conf at line 125.
Jul 11 19:35:09 hestia.domain.tld php-fpm7.2[13707]: [11-Jul-2019 19:35:09] ERROR: No pool defined. at least one pool section must be specified in config file
Jul 11 19:35:09 hestia.domain.tld php-fpm7.2[13707]: [11-Jul-2019 19:35:09] ERROR: failed to post process the configuration
Jul 11 19:35:09 hestia.domain.tld php-fpm7.2[13707]: [11-Jul-2019 19:35:09] ERROR: FPM initialization failed
Jul 11 19:35:09 hestia.domain.tld systemd[1]: php7.2-fpm.service: Main process exited, code=exited, status=78/n/a
Jul 11 19:35:09 hestia.domain.tld systemd[1]: php7.2-fpm.service: Failed with result ‘exit-code’.
Jul 11 19:35:09 hestia.domain.tld systemd[1]: Failed to start The PHP 7.2 FastCGI Process Manager.
dpkg: error processing package php7.2-fpm (–configure):
installed php7.2-fpm package post-installation script subprocess returned error exit status 1
Setting up php7.3-fpm (7.3.7-1+ubuntu18.04.1+deb.sury.org+1) …
NOTICE: Not enabling PHP 7.3 FPM by default.
NOTICE: To enable PHP 7.3 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.3-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Job for php7.3-fpm.service failed because the control process exited with error code.
See “systemctl status php7.3-fpm.service” and “journalctl -xe” for details.
invoke-rc.d: initscript php7.3-fpm, action “restart” failed.
● 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: exit-code) since Thu 2019-07-11 19:35:11 EEST; 7ms ago
Docs: man:php-fpm7.3(8)
Process: 15319 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Main PID: 15319 (code=exited, status=78)

Jul 11 19:35:11 hestia.domain.tld systemd[1]: Starting The PHP 7.3 FastCGI Process Manager…
Jul 11 19:35:11 hestia.domain.tld php-fpm7.3[15319]: [11-Jul-2019 19:35:11] WARNING: Nothing matches the include pattern ‘/etc/php/7.3/fpm/pool.d/*.conf’ from /etc/php/7.3/fpm/php-fpm.conf at line 143.
Jul 11 19:35:11 hestia.domain.tld php-fpm7.3[15319]: [11-Jul-2019 19:35:11] ERROR: No pool defined. at least one pool section must be specified in config file
Jul 11 19:35:11 hestia.domain.tld php-fpm7.3[15319]: [11-Jul-2019 19:35:11] ERROR: failed to post process the configuration
Jul 11 19:35:11 hestia.domain.tld php-fpm7.3[15319]: [11-Jul-2019 19:35:11] ERROR: FPM initialization failed
Jul 11 19:35:11 hestia.domain.tld systemd[1]: php7.3-fpm.service: Main process exited, code=exited, status=78/n/a
Jul 11 19:35:11 hestia.domain.tldsystemd[1]: php7.3-fpm.service: Failed with result ‘exit-code’.
Jul 11 19:35:11 hestia.domain.tld systemd[1]: Failed to start The PHP 7.3 FastCGI Process Manager.
dpkg: error processing package php7.3-fpm (–configure):
installed php7.3-fpm package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
php7.2-fpm
php7.3-fpm

Please add more informations, fresh install? Upgrade?

If upgrade, this one will help: https://github.com/hestiacp/hestiacp/issues/257

There was a secondary issue in the install script, where the dummy pools were not correctly created, this has already been fixed but can affect older systems.

Is upgrade running on Ubuntu 18.04
there is a script for Debian
How can run this script on Ubuntu?

This works on both Ubuntu and Debain

Add this snippet to a file (ex: fixphp.sh):

for v in $(ls /etc/php/); do
    [ -d "/etc/php/$v/fpm/pool.d/" ] || continue
    cp -f /usr/local/hestia/install/deb/php-fpm/dummy.conf /etc/php/$v/fpm/pool.d/
    v1=$(echo "$v" | sed -e 's/[.]//')
    sed -i "s/9999/99$v1/g" /etc/php/$v/fpm/pool.d/dummy.conf
    systemctl restart php$v-fpm 
done

And execute it with bash as root:
$> bash fixphp.sh