Bonjour
Mon serveur YunoHost
Matériel: Raspberry Pi à la maison
Version de YunoHost: 2.7.14
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 ? : non
Description du problème
Après avoir résolu le pb Migration vers Stretch : repo.yunohost.org bad gateway, j’ai pu lancer la migration vers Stretch.
Migration Stretch échoue comme à Migration vers Stretch échouée : No such file or directory: '/etc/fail2ban/filter.d/yunohost.conf'
J’ai essayé de corriger, notamment :
dpkg --configure -a
apt update && apt dist-upgrade && yunohost tools update && yunohost tools upgrade --ignore-apps
Erreurs :
(Reading database ... 55591 files and directories currently installed.)
Preparing to unpack .../mariadb-server-core-10.1_10.1.47-0+deb9u1_armhf.deb ...
Unpacking mariadb-server-core-10.1 (10.1.47-0+deb9u1) ...
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-core-10.1_10.1.47-0+deb9u1_armhf.deb (--unpack):
trying to overwrite '/usr/bin/mysql_install_db', which is also in package mariadb-server-10.0 10.0.38-0+deb8u1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-core-10.1_10.1.47-0+deb9u1_armhf.deb
*** Please tell me who you are.
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
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Warning: unable to upgrade packages: installArchives() failed
Error: Unable to upgrade all of the packages
J’essaie tout de même :
yunohost tools migrations migrate --accept-disclaimer
Erreur :
root@YunoHost:~# yunohost tools migrations migrate --accept-disclaimer
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 557, in process
fromlist=[func_name],
File "/usr/lib/moulinette/yunohost/tools.py", line 43, in <module>
from moulinette.core import MoulinetteError, init_authenticator
ImportError: cannot import name init_authenticator
Error: An error occurred. Please see the logs for details, they are located in /var/log/yunohost/.
Problème : moulinette est en v3.8 alors que yunohost toujours en v2.7.14
root@YunoHost:~# yunohost --version
yunohost:
repo: now
version: 2.7.14.5
yunohost-admin:
repo: now
version: 2.7.15
moulinette:
repo: stable
version: 3.8.1.3
ssowat:
repo: stable
version: 3.8.0.3
Je ne sais pas trop comment m’en sortir.