Mises à jour impossible (problème avec php7.3-fpm?)

Mon serveur YunoHost

Matériel: OLinuXino-LIME2 avec VPN (Neutrinet)
Version de YunoHost: x.x.x
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Bonjour à toustes,

Lors de la dernière mise à jour, j’ai reçu le msg suivant:

Vous ne pouvez pas faire ça maintenant car dpkg/apt (le gestionnaire de paquets du système) semble avoir laissé des choses non configurées. Vous pouvez essayer de résoudre ce problème en vous connectant via SSH et en exécutant `sudo apt install --fix-broken` et/ou `sudo dpkg --configure -a` et/ou `sudo dpkg --audit`.

J’ai tenté les différentes commandes proposées, mais cela ne résoud pas mon soucis et je ne vois pas ce que je peux faire… Cela dépasse mes compétences…

sudo apt install --fix-broken me donne:

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php7.3-fpm (7.3.33-10+0~20230409.104+debian11~1.gbp88ff76) …
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; disabled; vendor pr
eset: enabled)
Active: failed (Result: exit-code) since Thu 2023-05-18 10:28:31 UTC; 110ms
ago
Docs: man:php-fpm7.3(8)
Process: 29290 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /et
c/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Process: 29305 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/p
hp/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 (code=exited, status=0/SUCCE
SS)
Main PID: 29290 (code=exited, status=78)
CPU: 576ms

May 18 10:28:30 unautremondeestpossible.be systemd[1]: Starting The PHP 7.3 Fast
CGI Process Manager…
May 18 10:28:31 unautremondeestpossible.be php-fpm7.3[29290]: [18-May-2023 10:28
:31] ERROR: [pool opensondage] the chdir path ‘/var/www/opensondage’ does not ex
ist or is not a directory
May 18 10:28:31 unautremondeestpossible.be php-fpm7.3[29290]: [18-May-2023 10:28
:31] ERROR: failed to post process the configuration
May 18 10:28:31 unautremondeestpossible.be php-fpm7.3[29290]: [18-May-2023 10:28
:31] ERROR: FPM initialization failed
May 18 10:28:31 unautremondeestpossible.be systemd[1]: php7.3-fpm.service: Main
process exited, code=exited, status=78/CONFIG
May 18 10:28:31 unautremondeestpossible.be systemd[1]: php7.3-fpm.service: Faile
d with result ‘exit-code’.
May 18 10:28:31 unautremondeestpossible.be 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.3-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ensuite, sudo dpkg --configure -a me donne:

Setting up php7.3-fpm (7.3.33-10+0~20230409.104+debian11~1.gbp88ff76) …
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; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-05-18 10:29:45 UTC; 72ms ago
Docs: man:php-fpm7.3(8)
Process: 30650 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Process: 30651 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 (code=exited, status=0/SUCCESS)
Main PID: 30650 (code=exited, status=78)
CPU: 560ms

May 18 10:29:44 unautremondeestpossible.be systemd[1]: Starting The PHP 7.3 FastCGI Process Manager…
May 18 10:29:45 unautremondeestpossible.be php-fpm7.3[30650]: [18-May-2023 10:29:45] ERROR: [pool opensondage] the chdir path ‘/var/www/opensondage’ does not exist or is not a directory
May 18 10:29:45 unautremondeestpossible.be php-fpm7.3[30650]: [18-May-2023 10:29:45] ERROR: failed to post process the configuration
May 18 10:29:45 unautremondeestpossible.be php-fpm7.3[30650]: [18-May-2023 10:29:45] ERROR: FPM initialization failed
May 18 10:29:45 unautremondeestpossible.be systemd[1]: php7.3-fpm.service: Main process exited, code=exited, status=78/CONFIG
May 18 10:29:45 unautremondeestpossible.be systemd[1]: php7.3-fpm.service: Failed with result ‘exit-code’.
May 18 10:29:45 unautremondeestpossible.be 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.3-fpm

Enfin, sudo dpkg --audit me donne:

The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure or the configure menu option in dselect:
php7.3-fpm server-side, HTML-embedded scripting language (FPM-CGI bi

Du coup, j’ai tenté sudo dpkg --configure php7.3-fpm, ce qui me donne:

Setting up php7.3-fpm (7.3.33-10+0~20230409.104+debian11~1.gbp88ff76) …
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; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-05-18 10:32:31 UTC; 78ms ago
Docs: man:php-fpm7.3(8)
Process: 32006 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Process: 32007 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 (code=exited, status=0/SUCCESS)
Main PID: 32006 (code=exited, status=78)
CPU: 534ms

May 18 10:32:30 unautremondeestpossible.be systemd[1]: Starting The PHP 7.3 FastCGI Process Manager…
May 18 10:32:31 unautremondeestpossible.be php-fpm7.3[32006]: [18-May-2023 10:32:31] ERROR: [pool opensondage] the chdir path ‘/var/www/opensondage’ does not exist or is not a directory
May 18 10:32:31 unautremondeestpossible.be php-fpm7.3[32006]: [18-May-2023 10:32:31] ERROR: failed to post process the configuration
May 18 10:32:31 unautremondeestpossible.be php-fpm7.3[32006]: [18-May-2023 10:32:31] ERROR: FPM initialization failed
May 18 10:32:31 unautremondeestpossible.be systemd[1]: php7.3-fpm.service: Main process exited, code=exited, status=78/CONFIG
May 18 10:32:31 unautremondeestpossible.be systemd[1]: php7.3-fpm.service: Failed with result ‘exit-code’.
May 18 10:32:31 unautremondeestpossible.be 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.3-fpm

Auriez-vous une idée? Une piste?

Un tout grand merci d’avance!

Belle journée,

Quentin

Deja vu plusieurs fois ce genre de situation, je sais pas comment ça arrive mais bon, tu peux enlever le fichier de conf problematique avec genre rm /etc/php/7.3/fpm/pool.d/opensondage.conf

Salut Aleks,

Un tout grand merci! J’ai supprimé le fichier et tout à l’air de revenir dans l’ordre!

Merci!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.