Bonjour à tous, toutes,
Bien que ce soit un sujet fréquent, j’ai déjà lu pas mal de posts équivalents mais aucun n’a résolu mon problème de "pas de réponse de l’API"
Le contexte :
- une Raspberry Pi 2 derrière ma box maison
- fais un upgrade systeme à la main “apt upgrade” et redémarré
- j’accéde à la pi via ssh
- j’ai essayé avec Opéra, FF, Chrome
- j’ai tenté un service yunohost-api restart
- un systemctl status yunohost-api -l :
systemctl status yunohost-api -l
● yunohost-api.service - YunoHost API Server
Loaded: loaded (/lib/systemd/system/yunohost-api.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-11-15 15:32:58 GMT; 8min ago
Main PID: 1700 (yunohost-api)
Tasks: 2 (limit: 881)
CGroup: /system.slice/yunohost-api.service
└─1700 /usr/bin/python2 /usr/bin/yunohost-api
Nov 15 15:32:58 yunohost systemd[1]: Started YunoHost API Server.
- tail -n 150 /var/log/daemon.log:
Nov 15 15:09:08 yunohost systemd[1]: Starting Clean php session files...
Nov 15 15:09:09 yunohost systemd[1]: phpsessionclean.service: Succeeded.
Nov 15 15:09:09 yunohost systemd[1]: Started Clean php session files.
Nov 15 15:27:19 yunohost systemd[1]: yunohost-api.service: Main process exited, code=killed, status=4/ILL
Nov 15 15:27:19 yunohost systemd[1]: yunohost-api.service: Failed with result 'signal'.
Nov 15 15:27:20 yunohost systemd[1]: yunohost-api.service: Service RestartSec=1s expired, scheduling restart.
Nov 15 15:27:20 yunohost systemd[1]: yunohost-api.service: Scheduled restart job, restart counter is at 4.
Nov 15 15:27:20 yunohost systemd[1]: Stopped YunoHost API Server.
Nov 15 15:27:20 yunohost systemd[1]: Started YunoHost API Server.
Nov 15 15:32:44 yunohost systemd[1]: Stopping YunoHost API Server...
Nov 15 15:32:44 yunohost systemd[1]: yunohost-api.service: Main process exited, code=killed, status=15/TERM
Nov 15 15:32:44 yunohost systemd[1]: yunohost-api.service: Succeeded.
Nov 15 15:32:44 yunohost systemd[1]: Stopped YunoHost API Server.
Nov 15 15:32:44 yunohost systemd[1]: Started YunoHost API Server.
Nov 15 15:32:57 yunohost systemd[1]: yunohost-api.service: Main process exited, code=killed, status=4/ILL
Nov 15 15:32:57 yunohost systemd[1]: yunohost-api.service: Failed with result 'signal'.
Nov 15 15:32:58 yunohost systemd[1]: yunohost-api.service: Service RestartSec=1s expired, scheduling restart.
Nov 15 15:32:58 yunohost systemd[1]: yunohost-api.service: Scheduled restart job, restart counter is at 1.
Nov 15 15:32:58 yunohost systemd[1]: Stopped YunoHost API Server.
Nov 15 15:32:58 yunohost systemd[1]: Started YunoHost API Server.
Nov 15 15:39:08 yunohost systemd[1]: Starting Clean php session files...
Nov 15 15:39:10 yunohost systemd[1]: phpsessionclean.service: Succeeded.
Nov 15 15:39:10 yunohost systemd[1]: Started Clean php session files.