plantage domoticz
plantage domoticz
Bonjour
j'ai installer domoticz sur une raspbian.
j'ai par contre souvent des crash de domoticz pour lequel je suis obligé de faire un restart du démon pour reprendre la main dessus
en cas de crash, la liste des devices est vide par ex ou la liste des hardware également.
savez vous comment voir ce qui cause ce crash car il n'est pas possible du coup de l'utiliser pour le moment :<
j'ai installer domoticz sur une raspbian.
j'ai par contre souvent des crash de domoticz pour lequel je suis obligé de faire un restart du démon pour reprendre la main dessus
en cas de crash, la liste des devices est vide par ex ou la liste des hardware également.
savez vous comment voir ce qui cause ce crash car il n'est pas possible du coup de l'utiliser pour le moment :<
Re: plantage domoticz
pour alimenter le débat, voici ce que j'ai :
pi@raspberrypi:~/domoticz/Config $ sudo /etc/init.d/domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh)
Active: active (exited) since jeu. 2017-04-20 19:34:03 CEST; 24min ago
Process: 9934 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
Process: 9943 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.251 Domoticz V3.5877 (c)2012-2016 GizMoCuz
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.251 Build Hash: 15b013c, Date: 2016-11-10 16:44:33
avril 20 19:34:03 raspberrypi domoticz[9948]: Domoticz is starting up....
avril 20 19:34:03 raspberrypi domoticz[9949]: Domoticz running...
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.252 System: Raspberry Pi
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.252 Startup Path: /home/pi/domoticz/
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: domoticz: Domoticz is starting up....
avril 20 19:34:03 raspberrypi systemd[1]: Started LSB: Home Automation System.
pi@raspberrypi:~/domoticz/Config $ sudo /etc/init.d/domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh)
Active: active (exited) since jeu. 2017-04-20 19:34:03 CEST; 24min ago
Process: 9934 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
Process: 9943 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.251 Domoticz V3.5877 (c)2012-2016 GizMoCuz
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.251 Build Hash: 15b013c, Date: 2016-11-10 16:44:33
avril 20 19:34:03 raspberrypi domoticz[9948]: Domoticz is starting up....
avril 20 19:34:03 raspberrypi domoticz[9949]: Domoticz running...
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.252 System: Raspberry Pi
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: 2017-04-20 19:34:03.252 Startup Path: /home/pi/domoticz/
avril 20 19:34:03 raspberrypi domoticz.sh[9943]: domoticz: Domoticz is starting up....
avril 20 19:34:03 raspberrypi systemd[1]: Started LSB: Home Automation System.
Re: plantage domoticz
Salut, déjà active les logs... c'est la base pour commencer.
sudo nano /etc/init.d/domoticz.sh
ligne 26: DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
un restart du démon... sudo service domoticz restart
Pour voir les logs, c'est via WinSCP ou sudo nano /var/log/domoticz.log
A+
sudo nano /etc/init.d/domoticz.sh
ligne 26: DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
un restart du démon... sudo service domoticz restart
Pour voir les logs, c'est via WinSCP ou sudo nano /var/log/domoticz.log
A+
Raspberry pi 3 - Domoticz 2024.4 | Piface v.2 + Téléinfo + RFXtrx433E
sondes Oregon | motorisations Somfy Yslo Flex 2 RTS
prises chacon, wifi | Sonoff easyESP, Tasmota, Espurna | ParadoxMG5050
sondes Oregon | motorisations Somfy Yslo Flex 2 RTS
prises chacon, wifi | Sonoff easyESP, Tasmota, Espurna | ParadoxMG5050
Re: plantage domoticz
merci pour le retour =)
je corrige ça
je corrige ça
Re: plantage domoticz
bon premier retour pas très verbeux.
relance du démon à 11h.
j'ai des informations jusqu'à 12h10 environ et après plus rien.
ci dessous l'extract
relance du démon à 11h.
j'ai des informations jusqu'à 12h10 environ et après plus rien.
ci dessous l'extract
2017-04-21 11:00:50.673 Build Hash: 15b013c, Date: 2016-11-10 16:44:33
2017-04-21 11:00:50.674 System: Raspberry Pi
2017-04-21 11:00:50.674 Startup Path: /home/pi/domoticz/
2017-04-21 11:00:50.748 Sunrise: 06:48:00 SunSet:20:48:00
2017-04-21 11:00:50.748 EventSystem: reset all events...
2017-04-21 11:00:50.770 Active notification subsystems: http (1/12)
2017-04-21 11:00:50.773 WebServer(HTTP) started on address: :: with port 7979
2017-04-21 11:00:50.787 WebServer(SSL) started on address: :: with port 7878
2017-04-21 11:00:50.791 Proxymanager started.
2017-04-21 11:00:50.793 Camera: settings (re)loaded
2017-04-21 11:00:50.794 Starting shared server on: :::6144
2017-04-21 11:00:50.795 TCPServer: shared server started...
2017-04-21 11:00:50.795 RxQueue: queue worker started...
2017-04-21 11:00:52.797 Netatmo: Worker started...
2017-04-21 11:00:52.797 COpenWebNet: connected to: 192.168.1.30:20000
2017-04-21 11:00:52.797 Pinger: Started
2017-04-21 11:00:52.798 EventSystem: reset all events...
2017-04-21 11:00:52.798 Error: COpenWebNet: Who=(null) not yet supported!
2017-04-21 11:00:52.798 COpenWebNet: received=*#*1## : ACK FRAME
2017-04-21 11:00:52.799 EventSystem: reset all device statuses...
2017-04-21 11:00:52.801 EventSystem: Started
2017-04-21 11:00:58.569 (Netatmo) Temp + Humidity (Etage)
2017-04-21 11:00:58.574 (Netatmo) Air Quality (Etage)
2017-04-21 11:00:58.577 (Netatmo) Rain (Pluviomètre)
2017-04-21 11:00:58.581 (Netatmo) Temp + Humidity (jardin)
2017-04-21 11:00:58.583 (Netatmo) Temp + Humidity + Baro (Salon)
2017-04-21 11:00:58.587 (Netatmo) Air Quality (Salon)
2017-04-21 11:00:58.589 (Netatmo) General/Sound Level (Salon)
2017-04-21 11:01:06.737 Incoming connection from: 192.168.27.65
2017-04-21 16:53:23.773 Domoticz V3.5877 (c)2012-2016 GizMoCuz
2017-04-21 16:53:23.773 Build Hash: 15b013c, Date: 2016-11-10 16:44:33
2017-04-21 16:53:23.774 System: Raspberry Pi
2017-04-21 16:53:23.774 Startup Path: /home/pi/domoticz/
2017-04-21 16:53:23.834 Sunrise: 06:48:00 SunSet:20:48:00
2017-04-21 16:53:23.835 EventSystem: reset all events...
2017-04-21 16:53:23.857 Active notification subsystems: http (1/12)
2017-04-21 16:53:23.860 WebServer(HTTP) started on address: :: with port 7979
2017-04-21 16:53:23.875 WebServer(SSL) started on address: :: with port 7878
2017-04-21 16:53:23.879 Proxymanager started.
2017-04-21 16:53:23.882 Camera: settings (re)loaded
2017-04-21 16:53:23.884 Starting shared server on: :::6144
2017-04-21 16:53:23.884 TCPServer: shared server started...
2017-04-21 16:53:23.885 RxQueue: queue worker started...
2017-04-21 16:53:23.928 Incoming connection from: 192.168.27.65
2017-04-21 16:53:25.886 Netatmo: Worker started...
2017-04-21 16:53:25.887 COpenWebNet: connected to: 192.168.1.30:20000
2017-04-21 16:53:25.887 Pinger: Started
2017-04-21 16:53:25.888 EventSystem: reset all events...
2017-04-21 16:53:25.888 Error: COpenWebNet: Who=(null) not yet supported!
2017-04-21 16:53:25.888 COpenWebNet: received=*#*1## : ACK FRAME
2017-04-21 16:53:25.889 EventSystem: reset all device statuses...
2017-04-21 16:53:25.891 EventSystem: Started
2017-04-21 16:53:31.658 (Netatmo) Temp + Humidity (Etage)
2017-04-21 16:53:31.662 (Netatmo) Air Quality (Etage)
2017-04-21 16:53:31.664 (Netatmo) Rain (Pluviomètre)
2017-04-21 16:53:31.666 (Netatmo) Temp + Humidity (jardin)
2017-04-21 16:53:31.669 (Netatmo) Temp + Humidity + Baro (Salon)
2017-04-21 16:53:31.671 (Netatmo) Air Quality (Salon)
2017-04-21 16:53:31.673 (Netatmo) General/Sound Level (Salon)
Re: plantage domoticz
Attention : si le /var/log est en ramdisk, ou si son filesystem est trop petit, lorsque ce filesystem est plein, Domoticz se bloque !
Re: plantage domoticz
le souci provenait de l'utilisation matériel de la passerelle myhome dans domoticz.
j'ai désactivé le matériel et n'est plus aucun plantage
j'ai désactivé le matériel et n'est plus aucun plantage
Re: plantage domoticz
Bonjour,
J'ai effectué une mise a jour de domoticz en beta (pour corriger BUG : récupération des datas dimmer RGB en MQTT),
Au début, la MAJ échoue a cause d'un LIB manquante ("libudev.so.1").
Grace au forum, j'ai trouvé(suivis) la solution : cd /lib/arm-linux-gnueabihf/
sudo cp libudev.so.0 libudev.so.1
Puis ensuite la MAJ a été effectué correctement.
Et depuis DOMOTICZ plante toute les 5min ... ( voir moins .. )
voci les logs
Qui doit ton contacter pour aider a solutionner ce problème ?
Avez vous une solution ?
J'ai effectué une mise a jour de domoticz en beta (pour corriger BUG : récupération des datas dimmer RGB en MQTT),
Au début, la MAJ échoue a cause d'un LIB manquante ("libudev.so.1").
Grace au forum, j'ai trouvé(suivis) la solution : cd /lib/arm-linux-gnueabihf/
sudo cp libudev.so.0 libudev.so.1
Puis ensuite la MAJ a été effectué correctement.
Et depuis DOMOTICZ plante toute les 5min ... ( voir moins .. )
voci les logs
Code : Tout sélectionner
2018-05-01 13:08:16.406 RxQueue: queue worker started...
2018-05-01 13:08:18.407 EventSystem: reset all events...
2018-05-01 13:08:18.407 EventSystem: reset all device statuses...
2018-05-01 13:08:18.450 EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2018-05-01 13:08:18.450 EventSystem: Started
2018-05-01 13:08:18.450 EventSystem: Queue thread started...
2018-05-01 13:08:18.607 RFLink: Using serial port: /dev/ttyACM0
2018-05-01 13:08:19.407 MQTT: Connecting to localhost:1883
2018-05-01 13:08:19.509 MQTT: connected to: localhost:1883
2018-05-01 13:08:19.530 RFLink: Controller Initialized!...
2018-05-01 13:08:19.606 RFLink Detected, Version: 1.1 Revision: 48 Build: 4
2018-05-01 13:08:19.610 MQTT: Subscribed
2018-05-01 13:08:22.033 (RFLINK) Temp + Humidity (CP Chambre)
2018-05-01 13:08:29.948 (RFLINK) Temp + Humidity (CP SDB P2)
2018-05-01 13:08:45.196 (RFLINK) Temp + Humidity (CP Salon)
2018-05-01 13:08:57.034 (RFLINK) Temp + Humidity (CP Chambre)
2018-05-01 13:09:04.947 (RFLINK) Temp + Humidity (CP SDB P2)
2018-05-01 13:09:20.195 (RFLINK) Temp + Humidity (CP Salon)
2018-05-01 13:09:32.032 (RFLINK) Temp + Humidity (CP Chambre)
2018-05-01 13:09:33.287 Error: Device creation failed, Domoticz settings prevent accepting new devices.
2018-05-01 13:09:33.287 Error: Domoticz received fatal signal 11 !...
2018-05-01 13:09:33.298 Error: /home/pi/domoticz/domoticz() [0x252178]
2018-05-01 13:09:33.298 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x252230]
2018-05-01 13:09:33.299 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76d26b20]
2018-05-01 13:09:33.299 Error: /home/pi/domoticz/domoticz(_ZN10CSQLHelper14UpdateValueIntEiPKchhhhhiS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x60c) [0x2f396c]
2018-05-01 13:09:33.299 Error: /home/pi/domoticz/domoticz(_ZN10CSQLHelper11UpdateValueEiPKchhhhhiS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x60) [0x2f4e98]
2018-05-01 13:09:33.299 Error: /home/pi/domoticz/domoticz(_ZN10MainWorker11decode_TempEi15_eHardwareTypesPK5tRBUFRNS_27_tRxMessageProcessingResultE+0x19c) [0x29e274]
2018-05-01 13:09:33.299 Error: /home/pi/domoticz/domoticz(_ZN10MainWorker16ProcessRXMessageEPK21CDomoticzHardwareBasePKhPKci+0xb14) [0x2b8be4]
2018-05-01 13:09:33.299 Error: /home/pi/domoticz/domoticz(_ZN10MainWorker22Do_Work_On_Rx_MessagesEv+0x7b4) [0x2bc424]
2018-05-01 13:09:33.299 Error: /home/pi/domoticz/domoticz() [0x7d01b0]
2018-05-01 14:02:37.910 RxQueue: queue worker started...
2018-05-01 14:02:39.911 EventSystem: reset all events...
2018-05-01 14:02:39.912 EventSystem: reset all device statuses...
2018-05-01 14:02:39.954 EventSystem - Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2018-05-01 14:02:39.955 EventSystem: Started
2018-05-01 14:02:39.955 EventSystem: Queue thread started...
2018-05-01 14:02:40.111 RFLink: Using serial port: /dev/ttyACM0
2018-05-01 14:02:40.405 (RFLINK) Temp + Humidity (Exterieur P1)
2018-05-01 14:02:40.912 MQTT: Connecting to localhost:1883
2018-05-01 14:02:41.016 MQTT: connected to: localhost:1883
2018-05-01 14:02:41.034 RFLink: Controller Initialized!...
2018-05-01 14:02:41.109 RFLink Detected, Version: 1.1 Revision: 48 Build: 4
2018-05-01 14:02:41.116 MQTT: Subscribed
2018-05-01 14:02:44.959 (RFLINK) Temp + Humidity (CP SDB P2)
2018-05-01 14:02:55.558 Active notification Subsystems: (0/14)
2018-05-01 14:03:00.189 (RFLINK) Temp + Humidity (CP Salon)
2018-05-01 14:05:13.708 MQTT: Topic: domoticz/in, Message: { "idx" :141, "svalue" : "66" }
2018-05-01 14:05:15.326 (RFLINK) Light/Switch (Unknown)
2018-05-01 14:05:15.605 (RFLINK) Light/Switch (Unknown)
2018-05-01 14:05:15.706 MQTT: Topic: domoticz/in, Message: { "idx" :140, "svalue" : "182" }
2018-05-01 14:05:15.875 (RFLINK) Light/Switch (Unknown)
2018-05-01 14:05:16.315 MQTT: Topic: domoticz/in, Message: { "idx" :196, "nvalue" : 54, "svalue" : "53" }
2018-05-01 14:05:17.723 MQTT: Topic: domoticz/in, Message: { "idx" :142, "svalue" : "236" }
2018-05-01 14:05:19.703 MQTT: Topic: domoticz/in, Message: { "idx" :139, "svalue" : "2392.5" }
2018-05-01 14:05:20.186 (RFLINK) Temp + Humidity (CP Salon)
2018-05-01 14:05:20.387 MQTT: Topic: domoticz/in, Message: { "idx" :197, "nvalue" : 18, "svalue" : "18" }
2018-05-01 14:05:24.340 MQTT: Topic: domoticz/in, Message: { "idx" :198, "nvalue" : 43, "svalue" : "43" }
2018-05-01 14:05:28.351 MQTT: Topic: domoticz/in, Message: { "idx" :209, "nvalue" : 9450, "svalue" : "9440" }
2018-05-01 14:05:32.126 (RFLINK) Temp + Humidity (CP Chambre)
2018-05-01 14:05:32.359 MQTT: Topic: domoticz/in, Message: { "idx" :211, "nvalue" : 0, "svalue" : "12.2" }
2018-05-01 14:05:39.959 (RFLINK) Temp + Humidity (CP SDB P2)
2018-05-01 14:05:55.185 (RFLINK) Temp + Humidity (CP Salon)
2018-05-01 14:06:06.990 (RFLINK) Temp + Humidity (CP Chambre)
2018-05-01 14:06:14.961 (RFLINK) Temp + Humidity (CP SDB P2)
2018-05-01 14:06:30.179 (RFLINK) Temp + Humidity (CP Salon)
2018-05-01 14:06:41.990 (RFLINK) Temp + Humidity (CP Chambre)
2018-05-01 14:06:49.960 (RFLINK) Temp + Humidity (CP SDB P2)
2018-05-01 14:07:05.180 (RFLINK) Temp + Humidity (CP Salon)
2018-05-01 14:07:16.990 (RFLINK) Temp + Humidity (CP Chambre)
2018-05-01 14:07:18.227 Error: Device creation failed, Domoticz settings prevent accepting new devices.
2018-05-01 14:07:18.228 Error: Domoticz received fatal signal 11 !...
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz() [0x252178]
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x252230]
2018-05-01 14:07:18.239 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76d26b20]
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz(_ZN10CSQLHelper14UpdateValueIntEiPKchhhhhiS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x60c) [0x2f396c]
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz(_ZN10CSQLHelper11UpdateValueEiPKchhhhhiS1_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x60) [0x2f4e98]
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz(_ZN10MainWorker11decode_TempEi15_eHardwareTypesPK5tRBUFRNS_27_tRxMessageProcessingResultE+0x19c) [0x29e274]
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz(_ZN10MainWorker16ProcessRXMessageEPK21CDomoticzHardwareBasePKhPKci+0xb14) [0x2b8be4]
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz(_ZN10MainWorker22Do_Work_On_Rx_MessagesEv+0x7b4) [0x2bc424]
2018-05-01 14:07:18.239 Error: /home/pi/domoticz/domoticz() [0x7d01b0]
Avez vous une solution ?
Re: plantage domoticz
@jeanguy51
si tu as installé la derniere beta la 3.9379, c'est un problème connu qui devrait etre résolu avec la prochaine mise à jour
http://www.domoticz.com/forum/viewforum ... b21a7f88c4
en attendant résout peut être le problème de python
puis réactive les un à un.
fais pareil avec l'ensemble de tes scripts et plugins.
si tu as installé la derniere beta la 3.9379, c'est un problème connu qui devrait etre résolu avec la prochaine mise à jour
http://www.domoticz.com/forum/viewforum ... b21a7f88c4
en attendant résout peut être le problème de python
désactive ensuite l'ensemble de tes matériels pour voir si le problème n'est pas lié à un matériel spécifique.Python: Failed dynamic library load, install the latest libpython3.x library that is available for your platform
puis réactive les un à un.
fais pareil avec l'ensemble de tes scripts et plugins.
Re: plantage domoticz
Merci,
je teste cela dans la journée
je teste cela dans la journée