Migration to bullseye and Yunohost11

,

My YunoHost server

Hardware: Odroid HC2
YunoHost version: 11
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
I was running the update between YH4 et YH11:

Description of my issue

Hi !
Since I ran migration, my yunohost-api is dead. Here my logs :
https://paste.yunohost.org/raw/sayexecapi

I tried to rerun recently :
https://paste.yunohost.org/raw/epefujukuz

Thank you by advance,

Max


Mon serveur YunoHost

Matériel: Odroid HC2
Version de YunoHost: 11
J’ai accès à mon serveur : En SSH
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : oui
En cours de migration entre YH4 et YH11:

Description du problème

Bonnjour,

Depuis que j’ai lancé la migration vers YH11, l’API yunohost-api ne répond plus depuis l’interface web. Ci-dessous mes logs de début septembre :
https://paste.yunohost.org/raw/sayexecapi

Je me suis repenché sur le sujet aujourd’hui et mes logs d’aujourd’hui :
https://paste.yunohost.org/raw/epefujukuz

Merci pour votre aide,

Max

Est-ce que tu peux faire un sudo apt update “à la main” sur le serveur et partager le retour de la commande ?

D’autres part, partager le retour de : sudo journalctl -u yunohost-api -n100 --no-pager --no-hostname

Le retour de sudo apt update:

Hit:1 Index of /debian buster InRelease
Get:2 Index of /debian buster-updates InRelease [56.6 kB]
Ign:3 http://security.debian.org buster-security InRelease
Hit:4 Index of /debian/ buster InRelease
Hit:5 Index of /php/ buster InRelease
Hit:6 Index of linux/debian/ buster InRelease
Err:7 http://security.debian.org buster-security Release
404 Not Found [IP: 151.101.122.132 80]
Hit:9 https://repo.windscribe.com/debian buster InRelease
Hit:10 https://repo.delellis.com.ar buster InRelease
Get:8 Index of /apt/ buster InRelease [22.1 kB]
Get:11 Index of /apt/ buster/main armhf Packages [277 kB]
Get:12 Index of /apt/ buster/buster-utils armhf Packages [24.1 kB]
Get:13 Index of /apt/ buster/buster-desktop armhf Packages [28.4 kB]
Reading package lists… Done
E: The repository ‘http://security.debian.org buster-security Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Skipping acquire of configured file ‘buster/binary-armhf/Packages’ as repository ‘Index of /debian/ buster InRelease’ doesn’t have the component ‘buster’ (component misspelt in sources.list?)
W: Skipping acquire of configured file ‘buster/Contents-armhf’ as repository ‘Index of /debian/ buster InRelease’ doesn’t have the component ‘buster’ (component misspelt in sources.list?)
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Contents-deb (main/Contents-armhf) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Skipping acquire of configured file ‘buster/binary-armhf/Packages’ as repository ‘Index of linux/debian/ buster InRelease’ doesn’t have the component ‘buster’ (component misspelt in sources.list?)
W: Skipping acquire of configured file ‘buster/Contents-armhf’ as repository ‘Index of linux/debian/ buster InRelease’ doesn’t have the component ‘buster’ (component misspelt in sources.list?)
W: Target Packages (buster/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
W: Target Packages (buster/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
W: Target Contents-deb (buster/Contents-armhf) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
W: Target Contents-deb (buster/Contents-all) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
N: Skipping acquire of configured file ‘buster/binary-armhf/Packages’ as repository ‘https://repo.delellis.com.ar buster InRelease’ doesn’t support architecture ‘armhf’
W: Target Packages (buster/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
W: Target Packages (buster/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
W: Target Contents-deb (buster/Contents-armhf) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
W: Target Contents-deb (buster/Contents-all) is configured multiple times in /etc/apt/sources.list.d/20-pdlib.list:1 and /etc/apt/sources.list.d/pdlib.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Contents-deb (main/Contents-armhf) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list.d/extra_php_version.list:1 and /etc/apt/sources.list.d/php7.list:1

Et la deuxième commande :

Journal file /var/log/journal/fc7a07cb861f422ea9c5c98c6900ad84/system@eb99ed3b3bad41cda99c89ca39f129a5-00000000000053c5-0005e966a2a11215.journal is truncated, ignoring file.
– Journal begins at Sun 2022-09-25 12:45:13 UTC, ends at Sun 2022-09-25 12:48:51 UTC. –
– No entries –

Uuuuh mais du coup je comprends pas bien, les sources.list d’apt étaient bien sur bullseye mais d’après ton apt update ils sont toujours sur buster x_x

Est-ce que tu as restauré un backup système ou snapshot pour revenir en arrière ?