J’ai installé yunohost sur un vps et j’ai voulu faire une mise à jour du système. J’ai rencontré quelques erreurs, dont le renouvellement du mot de passe de mumble, ce que j’ai trouvé très déroutant, mais j’ai un soucis plus profond qui bloque toute mise à jour.
Mon serveur YunoHost
Matériel: VPS Hetzner Version de YunoHost: 4.1.6 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 ? : oui Si oui, expliquer: Ajout d’un redirect sur nginx pour l’un des domaines.
Description du problème
J’ai une erreur sur la migration “19. Étendre et retravailler le système de gestion des permissions applicatives”.
J’ai mis à jour le système puis l’ensemble des applications, mais elle échoue avec une erreur de “domaine inconnu”, depuis l’interface web.
En cli, j’ai cette erreur :
root@pirate-guild:~# yunohost tools update
Info: Fetching available upgrades for system packages...
Info: Updating application catalog…
Success! The application catalog has been updated!
Warning: Failed to get label for app mumbleserver__2 ?
Warning: Failed to get label for app gitea ?
Warning: Failed to get label for app grav ?
Warning: Failed to get label for app mumbleserver ?
Warning: Failed to get label for app roundcube ?
Warning: Failed to get label for app flarum ?
Warning: Failed to get label for app etherpad_mypads ?
Warning: Failed to get label for app dokuwiki ?
apps:
current_version: 1.8.4~ynh1
id: etherpad_mypads
label: None
new_version: 1.8.4~ynh2
system:
0:
current_version: 20200601~deb10u1
name: ca-certificates
new_version: 20200601~deb10u2
1:
current_version: 1.8.27-1+deb10u2
name: sudo-ldap
new_version: 1.8.27-1+deb10u3
2:
current_version: 2020e-0+deb10u1
name: tzdata
new_version: 2021a-0+deb10u1
Merci pour ta réponse, de ce que je comprends, ça vient des ‘-’ dans le domaine, qui ne sont pas gérés par la regex.
Voici d’autres logs :
root@pirate-guild:~# yunohost tools migrations migrate
Info: Running migration 0019_extend_permissions_features...
Info: Creating a backup of LDAP database and apps settings prior to the actual migration.
Info: Updating LDAP schema...
Info: Add new attributes for permissions in LDAP database
Info: Migrating legacy permission settings...
Info: The operation 'Create permission 'lutim'' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20210130-131051-permission_create-lutim --share' to get help
Warning: Could not migrate... trying to roll back the system.
Info: System rolled back.
Error: Migration 0019_extend_permissions_features did not complete, aborting. Error: Domain 'pic.pirate.guild.org' unknown
Info: The operation 'Run migrations' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20210130-131045-tools_migrations_migrate_forward --share' to get help
J’ai édité le fichier settings : sed 's/pirate\.guild/pirate-guild/g' -i /etc/yunohost/apps/lutim/settings.yml.
Merci beaucoup, cela résout un autre soucis que j’avais sur l’interface utilisateur.
Ce soucis de tiret est tellement inattendu…