Lufi service failed

,

Mon serveur YunoHost

**Matériel: Raspberry Pi à la maison
**Version de YunoHost: 11.0.9.15
**J’ai accès à mon serveur : En SSH
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non / oui
Si oui, expliquer:

Description du problème

Bonjour,
ce matin je me suis connecté à mon administration serveur
j’ai fait une mise à jour (il me proposer quelques lignes pour le systeme et Funkwhale pour les applis
puis je suis allé dans diagnostic, tout était bon
puis je suis allé dans Services
et là il y a avit deux failed:

  • funkwhale-beat
  • lufi
    Or pour Funkwhale après un redémarrage l’application marche dans mon interface utilisateur, bien que le message failed reste dans “Services” de administration
    Mais pour Lufi, malgré un redémmarage, ça ne marche pas:
    Via l’interface utilisateur l’aapli m’ouvre une page 502 Bad Gateway.

Voici des messages d’erreurs:
https://paste.yunohost.org/exucelafug

Merci
Xtov

Hmoké, naivement je tenterais un force-upgrade de lufi avec sudo yunohost app upgrade lufi --force

Merci du conseil.

J’ai fait comme tu m’as conseillé, ça a enlevé complètement Lufi de mon Yunohost.
Voici le log:

user@omega:~$ ssh admin@teneriffe.nohost.me
Raspbian GNU/Linux 11
admin@teneriffe.nohost.me’s password:
Linux teneriffe.nohost.me 5.15.61-v7l+ #1579 SMP Fri Aug 26 11:13:03 BST 2022 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Jul 10 03:21:39 2022 from 2a01:e0a:b42:8670:9028:2586:19f4:f113

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.

admin@teneriffe:~ $ sudo yunohost app upgrade lufi --force
Info: Now upgrading lufi…
Info: [+…] > Loading installation settings…
Info: [#+…] > Checking version…
Info: [##+…] > Backing up the app before upgrading (may take a while)…
Info: [###+…] > Stopping a systemd service…
Info: [####+…] > Ensuring downward compatibility…
Warning: ./upgrade: line 86: [: -eq: unary operator expected
Info: [#####+…] > Making sure dedicated system user exists…
Info: [######+…] > Upgrading source files…
Info: [#######+…] > Upgrading dependencies…
Info: [########++…] > Upgrading NGINX web server configuration…
Info: [##########+…] > Configuring Lufi…
Info: [###########+…] > Building Lufi…
Info: [############+…] > Setuping cron…
Info: [#############+…] > Upgrading systemd configuration…
Info: [##############+…] > Upgrading logrotate configuration…
Info: [###############+…] > Integrating service in YunoHost…
Info: [################+…] > Starting a systemd service…
Warning: Job for lufi.service failed because the control process exited with error code.
Warning: See “systemctl status lufi.service” and “journalctl -xe” for details.
Warning: [Error] Oct 13 22:17:09 systemd[1]: Failed to start Image hosting and sharing service.
Warning: Oct 13 22:17:10 carton[502]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: Oct 13 22:17:10 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: Oct 13 22:17:10 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: Oct 13 22:17:10 systemd[1]: Failed to start Image hosting and sharing service.
Warning: Oct 14 10:45:34 systemd[1]: Starting Image hosting and sharing service…
Warning: Oct 14 10:45:35 carton[13866]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: Oct 14 10:45:35 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: Oct 14 10:45:35 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: Oct 14 10:45:35 systemd[1]: Failed to start Image hosting and sharing service.
Warning: Oct 14 10:54:30 systemd[1]: Starting Image hosting and sharing service…
Warning: Oct 14 10:54:30 carton[3426]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: Oct 14 10:54:30 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: Oct 14 10:54:30 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: Oct 14 10:54:30 systemd[1]: Failed to start Image hosting and sharing service.
Warning: Oct 14 16:54:06 systemd[1]: Starting Image hosting and sharing service…
Warning: Oct 14 16:54:07 carton[14474]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: Oct 14 16:54:07 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: Oct 14 16:54:07 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: Oct 14 16:54:07 systemd[1]: Failed to start Image hosting and sharing service.
Warning: [Error] [2022-10-10 19:56:46.01190] [24952] [info] Worker 24965 stopped
Warning: [2022-10-10 19:56:46.01254] [24952] [info] Worker 24966 stopped
Warning: [2022-10-10 19:56:46.01323] [24952] [info] Worker 24967 stopped
Warning: [2022-10-10 19:56:46.01388] [24952] [info] Worker 24968 stopped
Warning: [2022-10-10 19:56:46.01452] [24952] [info] Worker 24969 stopped
Warning: [2022-10-10 19:56:46.01496] [24952] [info] Worker 24970 stopped
Warning: [2022-10-10 19:56:46.01552] [24952] [info] Worker 24971 stopped
Warning: [2022-10-10 19:56:46.01611] [24952] [info] Worker 24972 stopped
Warning: [2022-10-10 19:56:46.01664] [24952] [info] Worker 24973 stopped
Warning: [2022-10-10 19:56:46.01713] [24952] [info] Worker 24974 stopped
Warning: [2022-10-10 19:56:46.01769] [24952] [info] Worker 24975 stopped
Warning: [2022-10-10 19:56:46.01829] [24952] [info] Worker 24976 stopped
Warning: [2022-10-10 19:56:46.03899] [24952] [info] Worker 24977 stopped
Warning: [2022-10-10 19:56:46.03977] [24952] [info] Worker 24978 stopped
Warning: [2022-10-10 19:56:46.04043] [24952] [info] Worker 24979 stopped
Warning: [2022-10-10 19:56:46.04106] [24952] [info] Worker 24980 stopped
Warning: [2022-10-10 19:56:46.04364] [24952] [info] Worker 24981 stopped
Warning: [2022-10-10 19:56:46.04501] [24952] [info] Worker 24982 stopped
Warning: [2022-10-10 19:56:46.04554] [24952] [warn] Stopping worker 24954 immediately
Warning: [2022-10-10 19:56:46.04637] [24952] [info] Manager 24952 stopped
Warning: [Error] Upgrade failed.
Warning: 95701 ERROR: syntax error at or near “Wi”
Warning: 95702 LINE 1: Wi-Fi is currently blocked by rfkill.
Warning: 95703 ^
Warning: 99957 Job for lufi.service failed because the control process exited with error code.
Warning: 99957 See “systemctl status lufi.service” and “journalctl -xe” for details.
Warning: 100058 [Error] Oct 14 10:45:34 systemd[1]: Starting Image hosting and sharing service…
Warning: 100058 Oct 14 10:45:35 carton[13866]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: 100059 Oct 14 10:45:35 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: 100060 Oct 14 10:45:35 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: 100060 Oct 14 10:45:35 systemd[1]: Failed to start Image hosting and sharing service.
Warning: 100062 Oct 14 10:54:30 systemd[1]: Starting Image hosting and sharing service…
Warning: 100062 Oct 14 10:54:30 carton[3426]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: 100063 Oct 14 10:54:30 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: 100064 Oct 14 10:54:30 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: 100064 Oct 14 10:54:30 systemd[1]: Failed to start Image hosting and sharing service.
Warning: 100065 Oct 14 16:54:06 systemd[1]: Starting Image hosting and sharing service…
Warning: 100065 Oct 14 16:54:07 carton[14474]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: 100066 Oct 14 16:54:07 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: 100067 Oct 14 16:54:07 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: 100067 Oct 14 16:54:07 systemd[1]: Failed to start Image hosting and sharing service.
Warning: 100068 Oct 14 16:56:39 systemd[1]: Starting Image hosting and sharing service…
Warning: 100069 Oct 14 16:56:40 carton[22344]: Encode.c: loadable library and perl binaries are mismatched (got handshake key 0x9380080, needed 0xa400080)
Warning: 100069 Oct 14 16:56:40 systemd[1]: lufi.service: Control process exited, code=exited, status=1/FAILURE
Warning: 100070 Oct 14 16:56:40 systemd[1]: lufi.service: Failed with result ‘exit-code’.
Warning: 100070 Oct 14 16:56:40 systemd[1]: Failed to start Image hosting and sharing service.
Warning: 100134 [Error] [2022-10-10 19:56:46.01190] [24952] [info] Worker 24965 stopped
Warning: 100135 [2022-10-10 19:56:46.01254] [24952] [info] Worker 24966 stopped
Warning: 100135 [2022-10-10 19:56:46.01323] [24952] [info] Worker 24967 stopped
Warning: 100136 [2022-10-10 19:56:46.01388] [24952] [info] Worker 24968 stopped
Warning: 100137 [2022-10-10 19:56:46.01452] [24952] [info] Worker 24969 stopped
Warning: 100137 [2022-10-10 19:56:46.01496] [24952] [info] Worker 24970 stopped
Warning: 100138 [2022-10-10 19:56:46.01552] [24952] [info] Worker 24971 stopped
Warning: 100139 [2022-10-10 19:56:46.01611] [24952] [info] Worker 24972 stopped
Warning: 100139 [2022-10-10 19:56:46.01664] [24952] [info] Worker 24973 stopped
Warning: 100140 [2022-10-10 19:56:46.01713] [24952] [info] Worker 24974 stopped
Warning: 100141 [2022-10-10 19:56:46.01769] [24952] [info] Worker 24975 stopped
Warning: 100141 [2022-10-10 19:56:46.01829] [24952] [info] Worker 24976 stopped
Warning: 100142 [2022-10-10 19:56:46.03899] [24952] [info] Worker 24977 stopped
Warning: 100143 [2022-10-10 19:56:46.03977] [24952] [info] Worker 24978 stopped
Warning: 100143 [2022-10-10 19:56:46.04043] [24952] [info] Worker 24979 stopped
Warning: 100144 [2022-10-10 19:56:46.04106] [24952] [info] Worker 24980 stopped
Warning: 100145 [2022-10-10 19:56:46.04364] [24952] [info] Worker 24981 stopped
Warning: 100146 [2022-10-10 19:56:46.04501] [24952] [info] Worker 24982 stopped
Warning: 100146 [2022-10-10 19:56:46.04554] [24952] [warn] Stopping worker 24954 immediately
Warning: 100147 [2022-10-10 19:56:46.04637] [24952] [info] Manager 24952 stopped
Warning: 101673 Could not restore lufi: An error occured inside the app restore script
Warning: 101819 Here’s an extract of the logs before the crash. It might help debugging the error:
Warning: 149302 The operation ‘Restore ‘lufi’ from a backup archive’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20221014-145507-backup_restore_app-lufi’ to get help
Warning: 150124 Nothing was restored
Warning: Uhoh … Yunohost failed to restore the app to the way it was before the failed upgrade :expressionless:
Error: Could not upgrade lufi: An error occurred inside the app upgrade script
Info: The operation ‘Upgrade the ‘lufi’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20221014-145244-app_upgrade-lufi’ to get help
Warning: Here’s an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - 101820 WARNING - [2022-10-10 19:56:46.01323] [24952] [info] Worker 24967 stopped
Info: DEBUG - 101820 WARNING - [2022-10-10 19:56:46.01388] [24952] [info] Worker 24968 stopped
Info: DEBUG - 101821 WARNING - [2022-10-10 19:56:46.01452] [24952] [info] Worker 24969 stopped
Info: DEBUG - 101821 WARNING - [2022-10-10 19:56:46.01496] [24952] [info] Worker 24970 stopped
Info: DEBUG - 101821 WARNING - [2022-10-10 19:56:46.01552] [24952] [info] Worker 24971 stopped
Info: DEBUG - 101821 WARNING - [2022-10-10 19:56:46.01611] [24952] [info] Worker 24972 stopped
Info: DEBUG - 101822 WARNING - [2022-10-10 19:56:46.01664] [24952] [info] Worker 24973 stopped
Info: DEBUG - 101822 WARNING - [2022-10-10 19:56:46.01713] [24952] [info] Worker 24974 stopped
Info: DEBUG - 101822 WARNING - [2022-10-10 19:56:46.01769] [24952] [info] Worker 24975 stopped
Info: DEBUG - 101822 WARNING - [2022-10-10 19:56:46.01829] [24952] [info] Worker 24976 stopped
Info: DEBUG - 101822 WARNING - [2022-10-10 19:56:46.03899] [24952] [info] Worker 24977 stopped
Info: DEBUG - 101823 WARNING - [2022-10-10 19:56:46.03977] [24952] [info] Worker 24978 stopped
Info: DEBUG - 101823 WARNING - [2022-10-10 19:56:46.04043] [24952] [info] Worker 24979 stopped
Info: DEBUG - 101823 WARNING - [2022-10-10 19:56:46.04106] [24952] [info] Worker 24980 stopped
Info: DEBUG - 101823 WARNING - [2022-10-10 19:56:46.04364] [24952] [info] Worker 24981 stopped
Info: DEBUG - 101823 WARNING - [2022-10-10 19:56:46.04501] [24952] [info] Worker 24982 stopped
Info: DEBUG - 101824 WARNING - [2022-10-10 19:56:46.04554] [24952] [warn] Stopping worker 24954 immediately
Info: DEBUG - 101824 WARNING - [2022-10-10 19:56:46.04637] [24952] [info] Manager 24952 stopped
Info: DEBUG - 101824 DEBUG - + return 1
Info: DEBUG - 101824 DEBUG - + ynh_exit_properly
Error: The operation ‘Upgrade the ‘lufi’ app’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20221014-145244-app_upgrade-lufi’ to get help
admin@teneriffe:~ $

Youhou! Mais après j’ai essayé de ré-installé Lufi, et malgré un warning, ça a fini par marché!

Merci Aleks

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.