Migration Yunohost 11.3.0.2 vers 12 en erreur dpkg: error processing package php8.2-fpm

I have searched the forum for similar issues

oui

This category is for general issues regarding YunoHost, NOT apps.

oui

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

ok

What type of hardware are you using

VPS bought online

What YunoHost version are you running

11.3.0.2

How are you able to access your server

The webadmin
SSH

Are you in a special context or did you perform specific tweaking on your YunoHost instance ?

Non

Describe your issue

Bonjour,
J’ai lancé la migration vers la nouvelle version via l’interface web et elle est en erreur. cf logs

sudo systemctl status php8.2-fpm.service
● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.2-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-11-01 12:04:23 CET; 23min ago
Docs: man:php-fpm8.2(8)
Process: 43874 ExecStart=/usr/sbin/php-fpm8.2 --nodaemonize --fpm-config /etc/php/8.2/fpm/php-fpm.conf (code=exited, status=78)
Process: 43875 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/8.2/fpm/pool.d/www.conf 82 (code=exited, status=0/SUCCESS)
Main PID: 43874 (code=exited, status=78)
CPU: 159ms
Nov 01 12:04:23 systemd[1]: php8.2-fpm.service: Scheduled restart job, restart counter is at 5.
Nov 01 12:04:23 systemd[1]: Stopped The PHP 8.2 FastCGI Process Manager.
Nov 01 12:04:24 systemd[1]: php8.2-fpm.service: Start request repeated too quickly.
Nov 01 12:04:24 systemd[1]: php8.2-fpm.service: Failed with result ‘exit-code’.
Nov 01 12:04:24 systemd[1]: Failed to start The PHP 8.2 FastCGI Process Manager.

J’ai toujours accès en ssh et webadmin et mes applis restent fonctionnelles.
Merci de votre aide.
David L.

Share relevant logs or error messages

https://paste.yunohost.org/raw/oribetogaf

1 Like

Peux-tu essayer de faire systemctl restart php8.2-fpm? Cela va probablement échouer. Partage la raison évoquée, ou lance journalctl -efu php8.2-fpm pour voir l’erreur.

Nov 01 16:58:31 systemd[1]: Starting The PHP 8.2 FastCGI Process Manager…
Nov 01 16:58:32 php-fpm8.2[52047]: [01-Nov-2024 16:58:32] ERROR: [pool framagames] the chdir path ‘/var/www/framagames’ does not exist or is not a directory
Nov 01 16:58:32 php-fpm8.2[52047]: [01-Nov-2024 16:58:32] ERROR: failed to post process the configuration
Nov 01 16:58:32 php-fpm8.2[52047]: [01-Nov-2024 16:58:32] ERROR: FPM initialization failed
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Main process exited, code=exited, status=78/CONFIG
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Failed with result ‘exit-code’.
Nov 01 16:58:32 systemd[1]: Failed to start The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Scheduled restart job, restart counter is at 1.
Nov 01 16:58:32 systemd[1]: Stopped The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:32 systemd[1]: Starting The PHP 8.2 FastCGI Process Manager…
Nov 01 16:58:32 php-fpm8.2[52050]: [01-Nov-2024 16:58:32] ERROR: [pool framagames] the chdir path ‘/var/www/framagames’ does not exist or is not a directory
Nov 01 16:58:32 php-fpm8.2[52050]: [01-Nov-2024 16:58:32] ERROR: failed to post process the configuration
Nov 01 16:58:32 php-fpm8.2[52050]: [01-Nov-2024 16:58:32] ERROR: FPM initialization failed
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Main process exited, code=exited, status=78/CONFIG
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Failed with result ‘exit-code’.
Nov 01 16:58:32 systemd[1]: Failed to start The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Scheduled restart job, restart counter is at 2.
Nov 01 16:58:32 systemd[1]: Stopped The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:32 systemd[1]: Starting The PHP 8.2 FastCGI Process Manager…
Nov 01 16:58:32 php-fpm8.2[52054]: [01-Nov-2024 16:58:32] ERROR: [pool framagames] the chdir path ‘/var/www/framagames’ does not exist or is not a directory
Nov 01 16:58:32 php-fpm8.2[52054]: [01-Nov-2024 16:58:32] ERROR: failed to post process the configuration
Nov 01 16:58:32 php-fpm8.2[52054]: [01-Nov-2024 16:58:32] ERROR: FPM initialization failed
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Main process exited, code=exited, status=78/CONFIG
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Failed with result ‘exit-code’.
Nov 01 16:58:32 systemd[1]: Failed to start The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:32 systemd[1]: php8.2-fpm.service: Scheduled restart job, restart counter is at 3.
Nov 01 16:58:32 systemd[1]: Stopped The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:33 systemd[1]: Starting The PHP 8.2 FastCGI Process Manager…
Nov 01 16:58:33 php-fpm8.2[52058]: [01-Nov-2024 16:58:33] ERROR: [pool framagames] the chdir path ‘/var/www/framagames’ does not exist or is not a directory
Nov 01 16:58:33 php-fpm8.2[52058]: [01-Nov-2024 16:58:33] ERROR: failed to post process the configuration
Nov 01 16:58:33 php-fpm8.2[52058]: [01-Nov-2024 16:58:33] ERROR: FPM initialization failed
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Main process exited, code=exited, status=78/CONFIG
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Failed with result ‘exit-code’.
Nov 01 16:58:33 systemd[1]: Failed to start The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Scheduled restart job, restart counter is at 4.
Nov 01 16:58:33 systemd[1]: Stopped The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:33 systemd[1]: Starting The PHP 8.2 FastCGI Process Manager…
Nov 01 16:58:33 php-fpm8.2[52062]: [01-Nov-2024 16:58:33] ERROR: [pool framagames] the chdir path ‘/var/www/framagames’ does not exist or is not a directory
Nov 01 16:58:33 php-fpm8.2[52062]: [01-Nov-2024 16:58:33] ERROR: failed to post process the configuration
Nov 01 16:58:33 php-fpm8.2[52062]: [01-Nov-2024 16:58:33] ERROR: FPM initialization failed
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Main process exited, code=exited, status=78/CONFIG
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Failed with result ‘exit-code’.
Nov 01 16:58:33 systemd[1]: Failed to start The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Scheduled restart job, restart counter is at 5.
Nov 01 16:58:33 systemd[1]: Stopped The PHP 8.2 FastCGI Process Manager.
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Start request repeated too quickly.
Nov 01 16:58:33 systemd[1]: php8.2-fpm.service: Failed with result ‘exit-code’.
Nov 01 16:58:33 systemd[1]: Failed to start The PHP 8.2 FastCGI Process Manager.

Oké alors chechons le fichier problématique avec :point_right:

sudo find /etc/php -name "*framagames*"

il est là:
/etc/php/8.2/fpm/pool.d/framagames.conf
pour info, j’ai desinstallé l’app framagames avant l’upgrade.

je le delete?

Ouipe : sudo rm /etc/php/8.2/fpm/pool.d/framagames.conf

Est-ce que éventuellement il y a eu un truc étrange lors de la désinstallation de l’app, par exemple la désinstallation aurait été interrompue manuellement ?

ok, j’en fais une copie au cas où et le delete
J’ai rien vu de spécial lors de la désinstallation.

Merci beaucoup pour l’aide, la migration s’est maintenant bien déroulée!