Domoticz innacessible

Posez ici vos questions d'utilisation, de configuration de DomoticZ, de bugs, de conseils sur le logiciel lui même dans son utilisation et son paramétrage.
Des forums spécifiques sont ouverts ci-dessous pour regrouper les différents sujets.
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Domoticz innacessible

Message par landaisbenj »

Bonjour.

Ce matin j'ai eu l'envie (" :evil: ") de redémarrer le raspberry. Hier soir j'avais des grosses latences dans mes exécutions.

Seulement après le reboot, impossible d’accéder au site. Je ne sais pas du tout pourquoi. J'ai tenté un autre reboot, un redémarrage de domoticz et la je suis en upgrade des paquets.

Je ne sais pas comment faire pour avoir plus d'information sur le service domoticz en lui même.

Malheureusement ça tombe très mal, j’étais resté en stable et je n'y touchait pas en prévision des vacances qui arrive samedi :'(

Vous auriez pas un peu d'aide a m'apporter please ? Au moins pour trouver un message d’erreur quelque part ?
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
foudepc83
Messages : 230
Inscription : 15 août 2016, 11:58

Re: Domoticz innacessible

Message par foudepc83 »

Bonjour,

Dans un premier temps , fait un dmesg -T et regarde ce qu'il est écris en rouge ( Problème carte SD ).

Si rien , fait un ps faux | grep domoticz

tu devrais voir

Code : Tout sélectionner

 root      1147 21.2  2.5 272092 24336 ?        Ssl  févr.17 3301:06 /home/pi/domoticz/domoticz -daemon -www 8080 -sslwww 443
Ca donne quoi chez toi ?
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

Rien en rouge avec la premier commande.

La deuxieme donne:
limabravo@domoticz:~ $ ps faux | grep domoticz
avahi 297 0.0 0.3 6400 3204 ? Ss 07:57 0:00 avahi-daemon: running [domoticz.local]
limabra+ 14546 0.0 0.0 4372 576 pts/0 S+ 09:33 0:00 \_ grep --color=auto domoticz
Et pour juste info l'update, upgrade retourne des erreurs avec certains paquet. (Mais je ne pense pas que cela a a voir)
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
foudepc83
Messages : 230
Inscription : 15 août 2016, 11:58

Re: Domoticz innacessible

Message par foudepc83 »

Donc domoticz ne s'est pas lancé.

essaye cette commande : service domoticz.sh status

chez moi cela donne comme ca :

Code : Tout sélectionner

● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh)
   Active: active (running) since sam. 2018-02-17 14:57:31 CET; 1 weeks 3 days ago
   CGroup: /system.slice/domoticz.service
           └─1147 /home/pi/domoticz/domoticz -daemon -www 8080 -sslwww 443
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

A lol je venais de fouillé par la pour ajouter les logs. Je viens de faire cela:
sudo /etc/init.d/domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
Active: active (exited) since Wed 2018-02-28 09:35:22 CET; 4min 50s ago
Docs: man:systemd-sysv-generator(8)
Process: 14806 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
Process: 14852 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

févr. 28 09:35:22 domoticz systemd[1]: Starting LSB: Home Automation System...
févr. 28 09:35:22 domoticz domoticz.sh[14852]: 2018-02-28 09:35:22.593 Domoticz V3.8153 (c)2012-2017 GizMoCuz
févr. 28 09:35:22 domoticz domoticz.sh[14852]: 2018-02-28 09:35:22.593 Build Hash: 494fff7, Date: 2017-07-30 12:19:41
févr. 28 09:35:22 domoticz domoticz.sh[14852]: 2018-02-28 09:35:22.594 Startup Path: /home/limabravo/domoticz/
févr. 28 09:35:22 domoticz domoticz.sh[14852]: domoticz: Domoticz is starting up....
févr. 28 09:35:22 domoticz domoticz[14858]: Domoticz is starting up....
févr. 28 09:35:22 domoticz domoticz[14859]: Domoticz running...
févr. 28 09:35:22 domoticz systemd[1]: Started LSB: Home Automation System.
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

foudepc83 a écrit :Donc domoticz ne s'est pas lancé.

essaye cette commande : service domoticz.sh status

chez moi cela donne comme ca :

Code : Tout sélectionner

● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh)
   Active: active (running) since sam. 2018-02-17 14:57:31 CET; 1 weeks 3 days ago
   CGroup: /system.slice/domoticz.service
           └─1147 /home/pi/domoticz/domoticz -daemon -www 8080 -sslwww 443

Code : Tout sélectionner

 service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Wed 2018-02-28 09:35:22 CET; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14806 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
  Process: 14852 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

J'ai voulu ajouter le log:

Code : Tout sélectionner

DAEMON=/home/limabravo/domoticz/$NAME
DAEMON_ARGS="-daemon"
#DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME -pidfile $PIDFILE"
#DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"
DAEMON_ARGS="$DAEMON_ARGS -log /home/limabravo/log/domoticz.log"
#DAEMON_ARGS="$DAEMON_ARGS -syslog"
Mais je n'ai rien qui apparaît dans le dossier :'(
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
foudepc83
Messages : 230
Inscription : 15 août 2016, 11:58

Re: Domoticz innacessible

Message par foudepc83 »

landaisbenj a écrit :
foudepc83 a écrit :Donc domoticz ne s'est pas lancé.

essaye cette commande : service domoticz.sh status

chez moi cela donne comme ca :

Code : Tout sélectionner

● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh)
   Active: active (running) since sam. 2018-02-17 14:57:31 CET; 1 weeks 3 days ago
   CGroup: /system.slice/domoticz.service
           └─1147 /home/pi/domoticz/domoticz -daemon -www 8080 -sslwww 443

Code : Tout sélectionner

 service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Wed 2018-02-28 09:35:22 CET; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14806 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
  Process: 14852 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
Alors ce que je vois : Active: active (exited)

et si tu fais ca : /etc/init.d/domoticz.sh start
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

Bah le problème c'est que si je ne le fais pas avec sudo il me demande un mot de passe pi (Sauf que je n'ai plus pi) Ou le root et le root je ne le connais pas...

Avec sudo:

Code : Tout sélectionner

sudo /etc/init.d/domoticz.sh start
[ ok ] Starting domoticz.sh (via systemctl): domoticz.service.
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
foudepc83
Messages : 230
Inscription : 15 août 2016, 11:58

Re: Domoticz innacessible

Message par foudepc83 »

sudo su

;)
Répondre