Matériel: Raspberry Pi à la maison Version de YunoHost: 3.8.5.9 J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | … Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Description du problème
Hello!
Je tente une mise à jours avant de faire mon passage à Yhn 4 et évidement y’a un problème.
Comme dit dans le titre il semble que se soit avec PHP 7.0 FPM:
Voici le logs de la mise à jours : https://paste.yunohost.org/evaqibirur
Voici ce que j’ai en tentant une nouvelle maj :
admin@domain:~ $ sudo yunohost tools upgrade
Error: You cannot do this right now because dpkg/APT (the system package managers) seems to be in a broken state… You can try to solve this issue by connecting through SSH and running `sudo apt install --fix-broken` and/or `sudo dpkg --configure -a`.
Voici ce que j’ai en tenant un sudo apt install --fix-broken :
admin@maindomain:~ $ sudo apt install --fix-broken
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php7.0-fpm (7.0.33-37+0~20201103.43+debian9~1.gbp25a3d7) ...
Job for php7.0-fpm.service failed because the control process exited with error code.
See "systemctl status php7.0-fpm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript php7.0-fpm, action "restart" failed.
● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-12-22 23:06:21 CET; 33ms ago
Docs: man:php-fpm7.0(8)
Process: 1335 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS)
Process: 1323 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)
Main PID: 1323 (code=exited, status=78)
Dec 22 23:06:20 maindomain systemd[1]: Starting The PHP 7.0 FastCGI Process Manager...
Dec 22 23:06:21 maindomain php-fpm7.0[1323]: [22-Dec-2020 23:06:21] ERROR: An another FPM instance seems to already listen on /var/run/php/php7.0-fpm-baikal.sock
Dec 22 23:06:21 maindomain php-fpm7.0[1323]: [22-Dec-2020 23:06:21] ERROR: FPM initialization failed
Dec 22 23:06:21 maindomain systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/n/a
Dec 22 23:06:21 maindomain systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
Dec 22 23:06:21 maindomain systemd[1]: php7.0-fpm.service: Unit entered failed state.
Dec 22 23:06:21 maindomain systemd[1]: php7.0-fpm.service: Failed with result 'exit-code'.
dpkg: error processing package php7.0-fpm (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
php7.0-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bref je sais pas trop comment m’en sortir … Il semble qu’il y ai un problème avec baikal mais bon …
Mouarf ben c’est le bordel et difficile à comprendre sans avoir tout l’historique de ce qu’il s’est passé par rapport à baikal chez toi…
Là il y a un fichier de conf pour php7.0, et un autre pour php7.3 … (et pareil pour agendav, mais au moins la conf php7.3 d’agendav ne pointe pas sur un truc en php7.0…)
À minimal il te faut éditer le fichier /etc/php/7.3/fpm/pool.d/baikal.conf pour remplacer /var/run/php/php7.0-fpm-baikal.sock par /var/run/php/php7.3-fpm-baikal.sock … mais ça ne résouds pas la question de “est-ce que baikal est censé tourner en php 7.0 ou 7.3 …”
Bon heu c’était bien partie avec la manip que tu m’as donné, tout fonctionnait bien puis j’ai tenté un maj de nextcloud qui a planté puis une désinstallation de baikal et agendav parce que j’en ai plus besoin et ça n’a pas fonctionné non plus …
Résultat ni PHP 7 fpm ni PHP 7.3 fpm ne fonctionnent …
J’ai clairement mis à mort mon serveur je pense …
Je vais faire une installation propre de Yhn 4 ce sera plus simple, j’avais fais des backup et mon serveur commençais à être encombrer de trop de trucs inutiles…