Matériel: Olimex Lime 2 derrière une freebox Version de YunoHost: 11.0.9.9 (stable) J’ai accès à mon serveur : En SSH | 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
Depuis la migration vers yunohost 11, j’ai ce message d’erreur dans le diagnostic
[ERROR] An issue was found for app Horde CRUST
This app’s installed version only requires yunohost >= 2.x, which tends to indicate that it’s not up to date with recommended packaging practices and helpers. You should really consider upgrading it.
J’en conclus qu’il faut mettre à jour l’application, par contre, elle n’est pas proposée dans les update / upgrade même si sur le git de yunohost une activité semble exister pour la branche master
Des idées ??
D’avance merci
(ici c’est un serveur de bricolage, mais j’ai un VPS qui abrite mes mails (encore en yunohost 4) et qui sera sans doute dans la même situation car proposant ce même webmail, donc je préfère attendre avant de le migrer d’avoir régler ce soucis)
Est-ce que tu te souviens de comment tu as installé Horde à la base ? Peut-être que tu avais fait genre un git clone manuel etc…
Il me semble qu’on peut avoir l’info avec yunohost app info horde --full | grep remote -A5 (pas 100% de la syntaxe de la commande)
Note que je réalise que le message est partiellement incorrect (This app’s installed version only requires yunohost >= 2.x … le requirement est sans doute à 3.x en fait, check qui a été rajouté après le passage à Bullseye)
Hmoké j’ai trouvé le problème, la version du paquet n’avait pas changé depuis 4 ans dans le manifest (bon je ne sais pas si la version de horde fournie a vraiment changé ou quoi d’autre a changé dans le paquet, mais à minima lorsque le paquet évolue significativement on augmente le suffixe ~ynh[nombre] à la fin de la version
Le catalogue d’app est reconstruit toutes les ~4h je crois, après quoi si tu check quelles mises à jour sont disponibles, tu devrais voir une maj disponible pour Horde
Bon l’application est bien apparue à l’upgrade mais l’upgrade plante
sudo yunohost app upgrade horde
Info: Now upgrading horde…
Info: […] > Loading installation settings…
Info: [+…] > Checking version…
Info: [#+…] > Backing up the app before upgrading (may take a while)…
Info: [##…] > Ensuring downward compatibility…
Info: [##+…] > Making sure dedicated system user exists…
Info: [###+…] > Upgrading NGINX web server configuration…
Info: [####+…] > Upgrading dependencies…
Info: [#####…] > Upgrading PHP-FPM configuration…
Info: [#####+++++…] > Upgrading source files…
Info: [##########+++++…] > Patching application…
Info: [###############++…] > Configuring application…
Info: [#################…] > Protecting directory…
Info: [#################+…] > Upgrading logrotate configuration…
Warning: /usr/share/yunohost/helpers.d/getopts: line 201: args_array[$option_flag]: unbound variable
Warning: [Error] Upgrade failed.
Warning: YunoHost automatically translated some legacy redirections in /etc/ssowat/conf.json.persistent to match the new default application using domain configuration
Warning: YunoHost automatically translated some legacy redirections in /etc/ssowat/conf.json.persistent to match the new default application using domain configuration
Warning: 223068 /usr/share/yunohost/helpers.d/getopts: line 201: args_array[$option_flag]: unbound variable
Warning: 224085 Could not restore horde: An error occured inside the app restore script
Warning: 224250 Here’s an extract of the logs before the crash. It might help debugging the error:
Warning: 277006 The operation ‘Restore ‘horde’ from a backup archive’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20220826-134839-backup_restore_app-horde’ to get help
Warning: 278016 Nothing was restored
Warning: Uhoh … Yunohost failed to restore the app to the way it was before the failed upgrade
Error: Could not upgrade horde: An error occurred inside the app upgrade script
Info: The operation ‘Upgrade the ‘horde’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20220826-133258-app_upgrade-horde’ to get help
Warning: Here’s an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - 272886 Removing user horde' ... Info: DEBUG - 272889 Warning: group horde’ has no more members.
Info: DEBUG - 273253 Done.
Info: DEBUG - 273956 [####################] > Removal of horde completed
Info: DEBUG - 274971 To view the log of the operation ‘Remove ‘horde’ after a failed restore from a backup archive’, use the command ‘yunohost log show 20220826-135034-remove_on_failed_restore-horde’
Info: DEBUG - 276350 The permission database has been resynchronized
Info: DEBUG - 276895 SSOwat configuration regenerated
Info: DEBUG - 276950 Permission ‘horde.main’ deleted
Info: DEBUG - 276953 To view the log of the operation ‘Delete permission ‘horde’’, use the command ‘yunohost log show 20220826-135126-permission_delete-horde’
Info: WARNING - 277006 The operation ‘Restore ‘horde’ from a backup archive’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20220826-134839-backup_restore_app-horde’ to get help
Info: DEBUG - 277392 The permission database has been resynchronized
Info: DEBUG - 277941 SSOwat configuration regenerated
Info: DEBUG - 278014 action [32384.1] executed in 276.288s
Info: WARNING - 278016 Nothing was restored
Info: DEBUG - ++ [[ -d /etc/yunohost/apps/horde ]]
Info: DEBUG - ++ ynh_die ‘–message=Uhoh … Yunohost failed to restore the app to the way it was before the failed upgrade :|’
Info: WARNING - Uhoh … Yunohost failed to restore the app to the way it was before the failed upgrade
Info: DEBUG - ++ echo ‘Uhoh … Yunohost failed to restore the app to the way it was before the failed upgrade :|’
Info: DEBUG - ++ exit 1
Info: ERROR - Could not upgrade horde: An error occurred inside the app upgrade script
Error: The operation ‘Upgrade the ‘horde’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20220826-133258-app_upgrade-horde’ to get help
Super !!!
Un update system puis de la horde et tout est de nouveau fonctionnel
J’ai relancé le diagnostique et plus de message d’erreur
Un super grand merci à toi