Mon serveur YunoHost
Matériel: VPS hébergé sur Ikoula
Version de YunoHost: 4.4.2.14
J’ai accès à mon serveur : Par la webadmin + console
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non
Si oui, expliquer:
Description du problème
Bonjour,
Je tente d’assainir une installation yunohost en vue d’une migration de serveur. Problème, je me rends compte qu’il n’a pas été maintenu depuis 2021. Impossible de mettre à jour le système et toutes les apps. lorsque je tente la mise à jour vers la dernière version de debian + yuno (Mise à niveau du système vers Debian Bullseye et YunoHost 11.x), la migration échoue au moment de l’installation de maria-db (cf logs ci-dessous).
J’ai vu sur un autre post qu’il serait possible de relancer l’installation de maria db avec
sudo apt --reinstall install mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mariadb-server mariadb-server-10.3 mariadb-server-core-10.3
Que me conseilleriez-vous ? Est-ce que je risque de casser mon installation actuelle en forçant l’instal ? Dois-je faire au préalable un snapshot de mon serveur ?
Merci beaucoup d’avance,
Belle journée à vous,
Elba
ended_at: 2023-10-19 09:16:32.247444
error: "La migration 0021_migrate_to_bullseye a \xE9chou\xE9 avec l'exception Failed\
\ to reinstall mariadb-common ? : annulation"
interface: api
operation: tools_migrations_migrate_forward
parent: null
started_at: 2023-10-19 09:16:24.636311
success: false
yunohost_version: 4.4.2.14
============
2023-10-19 09:16:24,645: INFO - Exécution de la migration 0021_migrate_to_bullseye...
2023-10-19 09:16:24,654: INFO - Démarrage de la migration vers Bullseye
2023-10-19 09:16:25,172: INFO - Mise à jour du fichier sources.lists...
2023-10-19 09:16:25,635: INFO - Récupération des mises à jour disponibles pour les paquets du système...
2023-10-19 09:16:25,728: DEBUG - Hit:1 http://mirror.debian.ikoula.com/debian bullseye InRelease
2023-10-19 09:16:25,729: DEBUG - Hit:2 http://mirror.debian.ikoula.com/debian bullseye-updates InRelease
2023-10-19 09:16:25,743: DEBUG - Hit:3 http://forge.yunohost.org/debian bullseye InRelease
2023-10-19 09:16:25,783: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2023-10-19 09:16:25,809: DEBUG - Hit:5 http://security.debian.org/debian-security bullseye-security InRelease
2023-10-19 09:16:26,500: DEBUG - Hit:6 http://download.onlyoffice.com/repo/debian squeeze InRelease
2023-10-19 09:16:27,744: DEBUG - Reading package lists...
2023-10-19 09:16:29,146: DEBUG - Terminé
2023-10-19 09:16:29,355: INFO - Application du correctif pour contourner le problème de conflit...
2023-10-19 09:16:29,379: DEBUG - Running: sed -i /var/lib/dpkg/status -e 's@Conflicts: apache2, bind9@Conflicts: apache2, bind9@g'
2023-10-19 09:16:29,409: DEBUG - Running: LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt install --quiet -o=Dpkg::Use-Pty=0 --fix-broken --assume-yes mariadb-common --reinstall -o Dpkg::Options::='--force-confmiss'
2023-10-19 09:16:29,420: DEBUG -
2023-10-19 09:16:29,421: WARNING - WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2023-10-19 09:16:29,422: DEBUG -
2023-10-19 09:16:29,608: INFO - + Reading package lists...
2023-10-19 09:16:29,920: INFO - + Building dependency tree...
2023-10-19 09:16:29,921: INFO - + Reading state information...
2023-10-19 09:16:30,269: INFO - + The following packages were automatically installed and are no longer required:
2023-10-19 09:16:30,271: INFO - + avahi-daemon libavahi-core7 libdaemon0 libnss-mdns php-apcu-bc php-imagick
2023-10-19 09:16:30,271: INFO - + php-smbclient php7.3-smbclient php7.3-sqlite3 php7.4-apcu php7.4-apcu-bc
2023-10-19 09:16:30,272: INFO - + php7.4-imagick php8.0-apcu php8.0-igbinary php8.0-imagick php8.0-phpdbg
2023-10-19 09:16:30,272: INFO - + php8.0-redis php8.0-smbclient php8.1-apcu php8.1-igbinary php8.1-imagick
2023-10-19 09:16:30,272: INFO - + php8.1-phpdbg php8.1-redis php8.1-smbclient python3-argcomplete
2023-10-19 09:16:30,273: INFO - + Use 'apt autoremove' to remove them.
2023-10-19 09:16:30,729: INFO - + 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 867 not upgraded.
2023-10-19 09:16:30,730: INFO - + Need to get 0 B/37.1 kB of archives.
2023-10-19 09:16:30,730: INFO - + After this operation, 0 B of additional disk space will be used.
2023-10-19 09:16:30,837: DEBUG - (Reading database ... 104300 files and directories currently installed.)
2023-10-19 09:16:30,842: DEBUG - Preparing to unpack .../mariadb-common_1%3a10.5.21-0+deb11u1_all.deb ...
2023-10-19 09:16:30,850: INFO - + Unpacking mariadb-common (1:10.5.21-0+deb11u1) over (1:10.5.21-0+deb11u1) ...
2023-10-19 09:16:30,908: INFO - + Setting up mariadb-common (1:10.5.21-0+deb11u1) ...
2023-10-19 09:16:30,909: DEBUG -
2023-10-19 09:16:30,910: DEBUG - Configuration file '/etc/mysql/mariadb.cnf', does not exist on system.
2023-10-19 09:16:30,910: DEBUG - Installing new config file as you requested.
2023-10-19 09:16:30,918: DEBUG - update-alternatives: warning: forcing reinstallation of alternative /etc/mysql/mariadb.cnf because link group my.cnf is broken
2023-10-19 09:16:30,945: INFO - + Processing triggers for mariadb-server-10.3 (1:10.3.36-0+deb10u1) ...
2023-10-19 09:16:31,033: WARNING - postinst called with unknown argument 'triggered'
2023-10-19 09:16:31,052: WARNING - dpkg: error processing package mariadb-server-10.3 (--configure):
2023-10-19 09:16:31,053: WARNING - installed mariadb-server-10.3 package post-installation script subprocess returned error exit status 1
2023-10-19 09:16:31,063: WARNING - Errors were encountered while processing:
2023-10-19 09:16:31,064: WARNING - mariadb-server-10.3
2023-10-19 09:16:31,244: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)
2023-10-19 09:16:32,246: ERROR - La migration 0021_migrate_to_bullseye a échoué avec l'exception Failed to reinstall mariadb-common ? : annulation
Traceback (most recent call last):
File "/usr/lib/moulinette/yunohost/tools.py", line 944, in tools_migrations_run
migration.run()
File "/usr/lib/moulinette/yunohost/data_migrations/0021_migrate_to_bullseye.py", line 174, in run
raise YunohostError("Failed to reinstall mariadb-common ?", raw_msg=True)
yunohost.utils.error.YunohostError: Failed to reinstall mariadb-common ?