J’ai une erreur sur la migration 4.0 vers Buster avec le message : La migration 0017_postgresql_9p6_to_11 a échoué avec l’exception Command ‘pg_upgradecluster -m upgrade 9.6 main’ returned non-zero exit status 1 : annulation
Bonjour Aleks,
J’ai copié/collé l’erreur en début de log :
ended_at: 2020-08-03 09:39:40.770682
error: “La migration 0017_postgresql_9p6_to_11 a \xE9chou\xE9 avec l\u2019exception
\ PostgreSQL 9.6 is installed, but not postgresql 11\u203D Something weird might
\ have happened on your system :(… : annulation”
operation: tools_migrations_migrate_forward
started_at: 2020-08-03 09:39:40.690350
success: false
yunohost_version: 4.03
Cela doit être l’erreur quand j’ai migré je pense
Et la deuxième partie c’est quand j’ai lancé dans Webadmin la migration sur postgresql :
2020-08-03 11:39:40,697: INFO - Exécution de la migration 0017_postgresql_9p6_to_11…
2020-08-03 11:39:40,769: ERROR - La migration 0017_postgresql_9p6_to_11 a échoué avec l’exception PostgreSQL 9.6 is installed, but not postgresql 11‽ Something weird might have happened on your system :(… : annulation
Traceback (most recent call last):
File “/usr/lib/moulinette/yunohost/tools.py”, line 899, in tools_migrations_migrate
migration.run()
File “/usr/lib/moulinette/yunohost/data_migrations/0017_postgresql_9p6_to_11.py”, line 26, in run
raise YunohostError(“migration_0017_postgresql_11_not_installed”)
YunohostError: PostgreSQL 9.6 is installed, but not postgresql 11‽ Something weird might have happened on your system :(…
Je suppose c’est ça.
J’ai testé toutes mes applications et elles fonctionnent apparemment.
Mais c’est juste un test rapide et si les application n’a pas besoin de postgresql c’est sûrment normal.
Oui c’est ça, c’est le log quand je lance dans Webadmin, je viens de refaire un test :
2020-08-03 12:10:10,246: INFO - Exécution de la migration 0017_postgresql_9p6_to_11…
2020-08-03 12:10:10,329: ERROR - La migration 0017_postgresql_9p6_to_11 a échoué avec l’exception PostgreSQL 9.6 is installed, but not postgresql 11‽ Something weird might have happened on your system :(… : annulation
Traceback (most recent call last):
File “/usr/lib/moulinette/yunohost/tools.py”, line 899, in tools_migrations_migrate
migration.run()
File “/usr/lib/moulinette/yunohost/data_migrations/0017_postgresql_9p6_to_11.py”, line 26, in run
raise YunohostError(“migration_0017_postgresql_11_not_installed”)
YunohostError: PostgreSQL 9.6 is installed, but not postgresql 11‽ Something weird might have happened on your system :(…