Error 500 apres maj du systeme

Mon serveur YunoHost

Matériel: / Raspberry Pi 3b à la maison /
Version de YunoHost: 11.2.14
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 modifications particulières sur votre instance ? : non

Description du problème

Apres maj de YH, je voulais maj Worpress mais pendant la recherce des maj apparait ce message:

Check for updates
YunoHost encountered an internal error
Really sorry about that.
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:

Error: "500"

Action: "PUT" /yunohost/api/update/all

Error message:
Unexpected server error

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 450, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 574, in process
    return func(**arguments)
  File "/usr/lib/python3/dist-packages/yunohost/tools.py", line 383, in tools_update
    _update_apps_catalog()
  File "/usr/lib/python3/dist-packages/yunohost/app_catalog.py", line 222, in _update_apps_catalog
    logo_hash = infos.get("logo_hash")
AttributeError: 'NoneType' object has no attribute 'get'

While processing the action the server said:
Fetching available upgrades for system packages…
Updating application catalog…

Merci BCP

Ilario

même chose pour moi.

Pas de nouvelles, je craint qui nous faudra réinstaller.

De mon côté, il semblerait que tout soit rentré dans l’ordre…

Ce qui m’intrigue, c’est que je n’ai effectué aucune intervention entre-temps :thinking:

Mystère…

@ilarioq @bencharp pouvez-vous vous connecter en SSH et faire yunohost tools update --debug ?

Bonjour @tituspijean

la comande donne:

586 DEBUG initializing base actions map parser for cli
591 DEBUG loading actions map
596 DEBUG building parser…
633 DEBUG building parser took 0.037s
638 DEBUG acquiring lock…
685 DEBUG lock has been acquired
1386 DEBUG loading python module yunohost.tools took 0.700s
1387 DEBUG processing action [14210.1]: yunohost.tools.update with args={‘target’: ‘all’}
1387 INFO Fetching available upgrades for system packages…
1891 DEBUG Hit:1 Index of /debian/ bullseye InRelease
1893 DEBUG Hit:2 Index of /debian bullseye InRelease
1895 DEBUG Get:3 Index of /debian-security bullseye-security InRelease [48.4 kB]
1915 DEBUG Get:4 Index of /debian bullseye-updates InRelease [44.1 kB]
2019 DEBUG Hit:5 Index of /debian bullseye InRelease
2045 DEBUG Get:6 Index of /php/ bullseye InRelease [7551 B]
4714 DEBUG Get:7 Index of /php/ bullseye/main arm64 Packages [237 kB]
4888 DEBUG Get:8 Index of /php/ bullseye/main armhf Packages [237 kB]
5219 DEBUG Fetched 574 kB in 4s (161 kB/s)
12680 DEBUG Reading package lists…
20713 DEBUG Done
20721 INFO Updating application catalog…
20737 DEBUG Starting new HTTPS connection (1): app.yunohost.org:443
21019 DEBUG https://app.yunohost.org:443 “GET /default/v3/apps.json HTTP/1.1” 200 636191
21573 SUCCESS The application catalog has been updated!
21954 DEBUG initializing ldap interface
22166 DEBUG Checking default branch
23007 DEBUG Downloading…
24099 DEBUG Done
24161 DEBUG Loading migration 0025_global_settings_to_configpanel…
24171 DEBUG Loading migration 0023_postgresql_11_to_13…
24174 DEBUG Loading migration 0024_rebuild_python_venv…
24177 DEBUG Loading migration 0026_new_admins_group…
24180 DEBUG Loading migration 0022_php73_to_php74_pools…
24183 DEBUG Loading migration 0021_migrate_to_bullseye…
24243 DEBUG action [14210.1] executed in 22.856s
24245 DEBUG lock has been released
apps:
current_version: 6.4.3~ynh1
description: Create a beautiful blog or website easily
domain_path: LoNampio
id: wordpress
logo: 2eb097f2c666520a8cb96b34194493d1e3095f1560a40d1c0e3e8c84fab8e7da
name: WordPress
new_version: 6.5~ynh1
notifications:
upgradable: yes
version: 6.4.3~ynh1
important_yunohost_upgrade: False
pending_migrations:
system:
0:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-cli
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
1:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-common
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
2:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-curl
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
3:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-fpm
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
4:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-gd
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
5:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-ldap
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
6:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-mbstring
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
7:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-mysql
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
8:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-opcache
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
9:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-phpdbg
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
10:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-readline
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
11:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-soap
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
12:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-xml
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
13:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2-zip
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
14:
current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
name: php8.2
new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6

je n’ai pas encore essayé la maj depuis la webadmin.

Merci

(The problem was on our side and got fixed since then)

1 Like

désolé j’arrive un peu après la bataille…
De mon côté la commande donne :

1169 DEBUG initializing base actions map parser for cli
1180 DEBUG loading actions map
1188 DEBUG building parser...
1266 DEBUG building parser took 0.077s
1275 DEBUG acquiring lock...
1375 DEBUG lock has been acquired
2718 DEBUG loading python module yunohost.tools took 1.342s
2719 DEBUG processing action [12999.1]: yunohost.tools.update with args={'target': 'all'}
2721 INFO Récupération des mises à jour disponibles pour les paquets du système…
3240 DEBUG Get:1 http://forge.yunohost.org/debian bullseye InRelease [18.4 kB]
3404 DEBUG Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
3407 DEBUG Get:3 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
3443 DEBUG Hit:4 https://packages.sury.org/php bullseye InRelease
4086 DEBUG Get:5 http://forge.yunohost.org/debian bullseye/stable armhf Packages [4148 B]
6282 DEBUG Get:6 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
6905 DEBUG Fetched 374 kB in 4s (97.0 kB/s)
17820 DEBUG Reading package lists...
21108 DEBUG Terminé
21117 INFO Mise à jour du catalogue des applications…
21133 DEBUG Starting new HTTPS connection (1): app.yunohost.org:443
21393 DEBUG https://app.yunohost.org:443 "GET /default/v3/apps.json HTTP/1.1" 200 636194
25751 SUCCESS Le catalogue des applications a été mis à jour !
26270 DEBUG initializing ldap interface
29311 DEBUG Chargement de la migration 0024_rebuild_python_venv…
29321 DEBUG Chargement de la migration 0026_new_admins_group…
29326 DEBUG Chargement de la migration 0022_php73_to_php74_pools…
29334 DEBUG Chargement de la migration 0021_migrate_to_bullseye…
29342 DEBUG Chargement de la migration 0023_postgresql_11_to_13…
29347 DEBUG Chargement de la migration 0025_global_settings_to_configpanel…
29427 DEBUG action [12999.1] executed in 26.707s
29430 DEBUG lock has been released
apps: 
important_yunohost_upgrade: False
pending_migrations: 
system: 
  0: 
    current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
    name: php8.2-cli
    new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
  1: 
    current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
    name: php8.2-common
    new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
  2: 
    current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
    name: php8.2-fpm
    new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
  3: 
    current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
    name: php8.2-opcache
    new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
  4: 
    current_version: 8.2.20-1+0~20240606.56+debian11~1.gbpbeb20a
    name: php8.2-readline
    new_version: 8.2.20-2+0~20240608.57+debian11~1.gbp6b5ea6
  5: 
    current_version: 11.2.14
    name: yunohost
    new_version: 11.2.14.1