**Matériel : VM sous Freebox Delta Version de YunoHost: 11.0.10.2 J’ai accès à mon serveur : En SSH et Par la webadmin Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Description du problème
La migration n’est pas complète. Aucun souci de fonctionnement, mais à chaque mise à jour, il indique que la migration ne s’est pas correctement déroulée.
Voici des messages d’erreurs :
"ended_at: 2022-11-01 12:03:26.309946
error: ‘Migration 0021_migrate_to_bullseye did not complete, aborting. Error: The
current Debian distribution is not Buster! If you already ran the Buster->Bullseye
migration, then this error is symptomatic of the fact that the migration procedure
was not 100% succesful (otherwise YunoHost would have flagged it as completed).
It is recommended to investigate what happened with the support team, who will need
the full log of the `migration, which can be found in Tools > Logs in the webadmin.’
interface: cli
operation: tools_migrations_migrate_forward
parent: null
started_at: 2022-11-01 12:03:26.253198
success: false
yunohost_version: 11.0.10.2
============
2022-11-01 13:03:26,268: INFO - Running migration 0021_migrate_to_bullseye…
2022-11-01 13:03:26,307: ERROR - Migration 0021_migrate_to_bullseye did not complete, aborting. Error: The current Debian distribution is not Buster! If you already ran the Buster->Bullseye migration, then this error is symptomatic of the fact that the migration procedure was not 100% succesful (otherwise YunoHost would have flagged it as completed). It is recommended to investigate what happened with the support team, who will need the full log of the migration, which can be found in Tools > Logs in the webadmin. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/yunohost/tools.py", line 814, in tools_migrations_run migration.run() File "/usr/lib/python3/dist-packages/yunohost/migrations/0021_migrate_to_bullseye.py", line 82, in run self.check_assertions() File "/usr/lib/python3/dist-packages/yunohost/migrations/0021_migrate_to_bullseye.py", line 414, in check_assertions raise YunohostError("migration_0021_not_buster2") yunohost.utils.error.YunohostError: The current Debian distribution is not Buster! If you already ran the Buster->Bullseye migration, then this error is symptomatic of the fact that the migration procedure was not 100% succesful (otherwise YunoHost would have flagged it as completed). It is recommended to investigate what happened with the support team, who will need the **full** log of the migration, which can be found in Tools > Logs in the webadmin."
Merci. Mais les derniers logs sont d’hier et les mêmes que j’ai partagés.
D’après le message d’erreur, il m’indique que je ne suis pas en version bullseye. En tapant la commande lsb_release -a, il indique :
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
la commande yunohost tools update m’indique ceci
pending_migrations:
0:
description: Upgrade the system to Debian Bullseye and YunoHost 11.x
disclaimer: None
id: 0021_migrate_to_bullseye
mode: manual
name: migrate_to_bullseye
number: 21
state: pending
1:
description: Migrate php7.3-fpm ‘pool’ conf files to php7.4
disclaimer: None
id: 0022_php73_to_php74_pools
mode: auto
name: php73_to_php74_pools
number: 22
state: pending
2:
description: Migrate databases from PostgreSQL 11 to 13
disclaimer: None
id: 0023_postgresql_11_to_13
mode: auto
name: postgresql_11_to_13
number: 23
state: pending
3:
description: Repair Python app after bullseye migration
disclaimer: None
id: 0024_rebuild_python_venv
mode: auto
name: rebuild_python_venv
number: 24
state: pending
Malheureusement, je n’ai pas noté les erreurs que j’ai eues… Voyant que la version Debian celle de Yunohost étaient bien passées finalement. Et les applications fonctionnent correctement
As stated in the log, can you share the full log :
NB: the previous migration log id seems to be 20220819-070538-tools_migrations_migrate_forward. You can share it with the support team with : sudo yunohost log share 20220819-070538-tools_migrations_migrate_forward
You have ffsync installed, which is not supported anymore because it requires python 2, which is a deprecated technology, and ffsync is also not maintained by Mozilla anymore since a few years.
The recommended course of action is unfortunately to uninstall ffsync
sudo su # to become root if not root already
cd /root/
wget https://gist.githubusercontent.com/alexAubin/2eb588521117537c692f38a020f9b2d1/raw/ebe4f098a111caad0185e449888074571f25453e/finish_the_bullseye_migration.sh
bash finish_the_bullseye_migration.sh