Impossible de faire aucune mises à jour des applications installés

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.17
What app is this about: mises à jour système + applications

Describe your issue

Bonjour,

Toutes les mises à jours sytème + applications demarrent et l’ensemble se fige malgré de nombreuses tentatives.
Merci pour votre aide

Share relevant logs or error messages

Vous savez, avec cette description très vague, on aura beaucoup de mal à deviner ce qui se passe.

Il faudrait les logs (la vérité est dans les logs).
Si vous avez un accès par ssh, vous verrez plus de choses (que vous pourrez nous partager) avec les commandes en root:

  • yunohost tools update
  • yunohost tools upgrade system
  • yunohost tools upgrade apps

yunohost tools update

Info: Fetching available upgrades for system packages…
Info: Updating application catalog…
Success! The application catalog has been updated!
apps:
0:
current_version: 19.0.3~ynh1
description: Manage the various aspects of your business or association
domain_path: www.infothema.net/dolibarr
id: dolibarr
logo: 6079a55ffad4af7585330469e118d160269a0c2c9bebdb7d1294226e14975d1c
name: Dolibarr
new_version: 21.0.1~ynh4
notifications:
upgradable: yes
version: 19.0.3~ynh1
1:
current_version: 31.0.6~ynh1
description: Online storage, file sharing platform and various other applications
domain_path: Login – Nextcloud
id: nextcloud
logo: 7619f283fa6ce9e0c6ae30cef5bb7cb47b926e9abccda4009a70e54579aa915a
name: Nextcloud Stockage fichiers
new_version: 31.0.7~ynh1
notifications:
PRE_UPGRADE:
upgradable: yes
version: 31.0.6~ynh1
2:
current_version: 7.2.1~ynh1
description: Federated video streaming platform
domain_path: infothema.net/
id: peertube
logo: f684c6577b4c18b6f496b40dfa4437ecffab9d4e74f545404f88cb3f1948669e
name: PeerTube Stockage vidéos
new_version: 7.2.2~ynh1
notifications:
upgradable: yes
version: 7.2.1~ynh1
important_yunohost_upgrade: False
pending_migrations:
system:
0:
current_version: 3.5.28-2
name: libdjvulibre-text
new_version: 3.5.28-2.1~deb12u1
1:
current_version: 3.5.28-2+b1
name: libdjvulibre21
new_version: 3.5.28-2.1~deb12u1
2:
current_version: 3.7.9-2+deb12u4
name: libgnutls30
new_version: 3.7.9-2+deb12u5
3:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-cli
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
4:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-common
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
5:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-fpm
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
6:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-gd
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
7:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-intl
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
8:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-mbstring
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
9:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-mysql
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
10:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-opcache
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
11:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-readline
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
12:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2-xml
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39
13:
current_version: 8.2.29-2+0~20250707.76+debian12~1.gbp52994e
name: php8.2
new_version: 8.2.29-5+0~20250720.80+debian12~1.gbp84dd39

yunohost tools upgrade system

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 and/or sudo dpkg --audit.

yunohost tools upgrade apps
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 and/or sudo dpkg --audit.

Bonsoir @hubert22

Il faudrait d’abord vérifier s’il reste de l’espace sur le serveur avec

df -h

et, le cas échéant, de lancer dans un deuxième temps, les commandes indiquées :

sudo dpkg --configure -a
sudo apt install --fix-broken
1 Like

df -h

Filesystem Size Used Avail Use% Mounted on
udev 7.6G 0 7.6G 0% /dev
tmpfs 1.6G 744K 1.6G 1% /run
/dev/sda1 151G 97G 48G 67% /
tmpfs 7.7G 1.1M 7.7G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda15 121M 138K 120M 1% /boot/efi
tmpfs 1.6G 0 1.6G 0% /run/user/31653

sudo dpkg --configure -a

Setting up php7.3-fpm (7.3.33-25+0~20250707.133+debian12~1.gbp70fb14) …
Job for php7.3-fpm.service failed because the control process exited with error code.
See “systemctl status php7.3-fpm.service” and “journalctl -xeu php7.3-fpm.service” 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; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2025-07-22 21:15:01 UTC; 24ms ago
Docs: man:php-fpm7.3(8)
Process: 425099 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Process: 425100 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: 425099 (code=exited, status=78)
CPU: 190ms
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

sudo apt install --fix-broken

Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 14 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-25+0~20250707.133+debian12~1.gbp70fb14) …
Job for php7.3-fpm.service failed because the control process exited with error code.
See “systemctl status php7.3-fpm.service” and “journalctl -xeu php7.3-fpm.service” 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; preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2025-07-22 21:16:29 UTC; 26ms ago
Docs: man:php-fpm7.3(8)
Process: 426492 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Process: 426493 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: 426492 (code=exited, status=78)
CPU: 187ms
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)

Quelle est la sortie de :

sudo systemctl status php7.3-fpm.service --no-pager -l
sudo journalctl -xeu php7.3-fpm.service | tail -50

PHP 7.3 est ancien: y a-t-il encore des applications qui l’utilisent sur ton serveur ?

ls /etc/php/7.3/fpm/pool.d/
2 Likes

× php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; disabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-07-22 21:16:31 UTC; 2 days ago
Docs: man:php-fpm7.3(8)
Process: 426510 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf (code=exited, status=78)
Process: 426511 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: 426510 (code=exited, status=78)
CPU: 188ms

Jul 22 21:16:31 infothema.net systemd[1]: php7.3-fpm.service: Scheduled restart job, restart counter is at 5.
Jul 22 21:16:31 infothema.net systemd[1]: Stopped php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
Jul 22 21:16:31 infothema.net systemd[1]: php7.3-fpm.service: Start request repeated too quickly.
Jul 22 21:16:31 infothema.net systemd[1]: php7.3-fpm.service: Failed with result ‘exit-code’.
Jul 22 21:16:31 infothema.net systemd[1]: Failed to start php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.

Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ An ExecStart= process belonging to unit php7.3-fpm.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 78.
Jul 22 21:16:30 infothema.net systemd[1]: php7.3-fpm.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ The unit php7.3-fpm.service has entered the ‘failed’ state with result ‘exit-code’.
Jul 22 21:16:30 infothema.net systemd[1]: Failed to start php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
░░ Subject: A start job for unit php7.3-fpm.service has failed
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ A start job for unit php7.3-fpm.service has finished with a failure.
░░
░░ The job identifier is 63861 and the job result is failed.
Jul 22 21:16:31 infothema.net systemd[1]: php7.3-fpm.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ Automatic restarting of the unit php7.3-fpm.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jul 22 21:16:31 infothema.net systemd[1]: Stopped php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
░░ Subject: A stop job for unit php7.3-fpm.service has finished
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ A stop job for unit php7.3-fpm.service has finished.
░░
░░ The job identifier is 63940 and the job result is done.
Jul 22 21:16:31 infothema.net systemd[1]: php7.3-fpm.service: Start request repeated too quickly.
Jul 22 21:16:31 infothema.net systemd[1]: php7.3-fpm.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ The unit php7.3-fpm.service has entered the ‘failed’ state with result ‘exit-code’.
Jul 22 21:16:31 infothema.net systemd[1]: Failed to start php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager.
░░ Subject: A start job for unit php7.3-fpm.service has failed
░░ Defined-By: systemd
░░ Support: Debian -- User Support
░░
░░ A start job for unit php7.3-fpm.service has finished with a failure.
░░
░░ The job identifier is 63940 and the job result is failed.

dolibarr.conf librespeed.conf nextcloud.conf pluxml.conf rainloop.conf www.conf

Oulaa, as tu mis à jour tes applications avant de migrer ?
Que donnent :

yunohost app list 

grep -r "php7.3-fpm" /etc/yunohost/apps 

apps:
0:
description: Sysadmin login session in a web browser
domain_path: www.infothema.net/monitor
id: cockpit
name: Cockpit
version: 239~ynh2
1:
description: Manage the various aspects of your business or association
domain_path: www.infothema.net/dolibarr
id: dolibarr
name: Dolibarr
version: 19.0.3~ynh1
2:
description: Online editor providing collaborative editing in real-time
domain_path: Etherpad MyPads
id: etherpad_mypads
name: Etherpad Prise de notes collaborative
version: 1.9.1~ynh3
3:
description: Software to manage association
domain_path: www.infothema.net/garradin
id: garradin
name: Garradin
version: 1.2.6~ynh1
4:
description: Very lightweight Speedtest
domain_path: LibreSpeed YunoHost
id: librespeed
name: LibreSpeed Test vitesse ADSL et FIBRE
version: 5.4.1~ynh2
5:
description: Online storage, file sharing platform and various other applications
domain_path: Login – Nextcloud
id: nextcloud
name: Nextcloud Stockage fichiers
version: 31.0.6~ynh1
6:
description: Service for planning an appointment or making a decision quickly and easily
domain_path: Make your polls - OpenSondage
id: opensondage
name: OpenSondage
version: 1.1.19~ynh6
7:
description: Federated video streaming platform
domain_path: infothema.net/
id: peertube
name: PeerTube Stockage vidéos
version: 7.2.1~ynh1
8:
description: Blog or CMS storing data in XML flat files.
domain_path: Chaton INFOTHEMA.NET - CHATONS : Collectif des Hébergeurs Alternatifs, Transparents, Ouverts, Neutres et Solidaires
id: pluxml
name: PluXml
version: 5.8.19~ynh1
9:
description: Simple, modern, lightweight & fast web-based e-mail client
domain_path: www.infothema.net/snappymail
id: snappymail
name: SnappyMail
version: 2.38.2~ynh4

sudo grep -r “php7.3-fpm” /etc/yunohost/apps

Il ne se passe rien et les mises à jour bloquent toujours

Cela pourrait être un problème d’interprétation d’un fichier de conf mais j’en doute… Que renvoie

sudo php7.3-fpm -t

?