Bonjour,
Avec beaucoup de retard, je prends le temps de migrer mon installation.
Mon serveur YunoHost
Matériel: Raspberry Pi à la maison Version de YunoHost: 2.7.14.5 J’ai accès à mon serveur : En SSH | Par la webadmin Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
root@YunoHost:~# sudo yunohost tools migrations migrate --accept-disclaimer
Warning: Running migration 3 migrate_to_stretch...
Hit http://archive.raspberrypi.org jessie InRelease
[...]
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Ign http://repo.yunohost.org jessie InRelease
Ign http://repo.yunohost.org jessie Release.gpg
Ign http://repo.yunohost.org jessie Release
Err http://repo.yunohost.org jessie/stable armhf Packages
502 Bad Gateway [IP: 80.67.172.144 80]
Ign http://repo.yunohost.org jessie/stable Translation-en_GB
Ign http://repo.yunohost.org jessie/stable Translation-en
W: Failed to fetch http://repo.yunohost.org/debian/dists/jessie/stable/binary-armhf/Packages 502 Bad Gateway [IP: 80.67.172.144 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error: Migration 3 migrate_to_stretch has failed with exception Your system is not fully up to date. Please perform a regular upgrade before running the migration to stretch., aborting
Ben ça commence à faire genre 2 ans et demi maintenant … on peut essayer de la faire marcher mais je te garanti pas que t’aura pas d’autres soucis ensuite …
Naivemnt j’éditerais /etc/apt/sources.list.d/yunohost.list, pour remplacer “repo.yunohost.org” par “forge.yunohost.org”, peut-être qu’apt sera un peu plus content (mais ptete pas) (tu peux vérifier en faisant apt update)
Woké alors alternativement, essayes de commenter la ligne dans le yunohost.list et de relancer la migration … elle upgradera pas yunohost mais ensuite on peut redécommenter la ligne (en mettant stretch si elle a pas été mise à stretch automagiquement) et ça devrait faire l’affaire
C’est bien le caractère # pour commenter ?
Car là, il échoue à lire la liste :
`̀``
root@YunoHost:~# sudo yunohost tools migrations migrate --accept-disclaimer
Warning: Running migration 3 migrate_to_stretch…
Hit http://archive.raspberrypi.org jessie InRelease
[…]
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists…
Error: Migration 3 migrate_to_stretch has failed with exception Your system is not fully up to date. Please perform a regular upgrade before running the migration to stretch., aborting
*** Please tell me who you are.
Progress: [ 99%] [##########################################################################################]
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@YunoHost.(none)')
warning: etckeeper failed to commit changes in /etc using git
Mouarf non … c’est un vieux problème normalement fixé depuis …
Oui et non Contrairement à ce que le nom “dist-upgrade” suggère parfois, ça ne fait pas les montées de versions, ça met juste à jour “complètement” ton système mais en restant sur la version majeure de debian actuelle.
L’objectif était juste de mettre à jour entièrement le système avant de faire la montée de niveau / migration, qui force à faire ça
Bref, maintenant tu peux tenter de relancer la migration