Crash domoticz - exited

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.
jme
Messages : 67
Inscription : 04 août 2017, 19:21

Crash domoticz - exited

Message par jme »

Bonjour,

Hier j'ai voulu installer le therme Aurora.
Lorsque j'ai redémarré le service, il s'est mis en Active exited.

J'ai un peu chipoté, réinstallé, remis des anciens backup.
Le service a fini par redémarrer.
Une fois que j'ai fais un changement dans les settings, le service a recrashé:

Code : Tout sélectionner

./domoticz
2022-01-27 10:17:49.512  Status: Domoticz V2021.1 (c)2012-2021 GizMoCuz
2022-01-27 10:17:49.512  Status: Build Hash: 8547c5b7e, Date: 2021-04-17 17:29:11
2022-01-27 10:17:49.512  Status: Startup Path: /home/administrateur/domoticz/
2022-01-27 10:17:49.625  Sunrise: 08:24:00 SunSet: 17:25:00
2022-01-27 10:17:49.625  Day length: 09:01:00 Sun at south: 12:54:00
2022-01-27 10:17:49.625  Civil twilight start: 07:48:00 Civil twilight end: 18:01:00
2022-01-27 10:17:49.625  Nautical twilight start: 07:08:00 Nautical twilight end: 18:40:00
2022-01-27 10:17:49.625  Astronomical twilight start: 06:29:00 Astronomical twilight end: 19:19:00
2022-01-27 10:17:49.734  Status: PluginSystem: Started, Python version '3.8.10'.
2022-01-27 10:17:49.819  Active notification Subsystems: email, kodi, pushsafer, telegram (4/13)
2022-01-27 10:17:49.946  Status: WebServer(HTTP) started on address: :: with port 8080
2022-01-27 10:17:50.010  Status: Notification: Temp Piscine Temperature is 3.8 degrees [< 20.0 degrees]
2022-01-27 10:17:50.010  Status: Incoming connection from: 192.168.1.38
2022-01-27 10:17:50.011  Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Permission denied
2022-01-27 10:17:50.011  Error: WebServer(SSL) check privileges for opening ports below 1024
2022-01-27 10:17:50.011  Status: Camera: settings (re)loaded
2022-01-27 10:17:50.012  Starting shared server on: :::6144
2022-01-27 10:17:50.012  Status: TCPServer: shared server started...
2022-01-27 10:17:50.012  Status: RxQueue: queue worker started...
2022-01-27 10:17:52.012  Status: Weather: Started...
2022-01-27 10:17:52.013  Status: Weather: Started...
2022-01-27 10:17:52.014  Status: Weather: Started...
2022-01-27 10:17:52.015  Shelly MQTT hardware started.
2022-01-27 10:17:52.015  Status: Shelly MQTT: (Shelly MQTT) Started.
2022-01-27 10:17:52.015  Status: Shelly MQTT: (Shelly MQTT) Entering work loop.
2022-01-27 10:17:52.016  Status: Kodi: Started
2022-01-27 10:17:52.016  Tuya hardware started.
2022-01-27 10:17:52.016  Status: Tuya: (Tuya) Started.
2022-01-27 10:17:52.016  Status: Tuya: (Tuya) Entering work loop.
2022-01-27 10:17:52.016  WLED hardware started.
2022-01-27 10:17:52.016  Status: WLED: (WLED) Started.
2022-01-27 10:17:52.016  Status: WLED: (WLED) Entering work loop.
2022-01-27 10:17:52.016  Sonos player hardware started.
2022-01-27 10:17:52.016  Status: Sonos player: (Sonos player) Started.
2022-01-27 10:17:52.016  Status: Sonos player: (Sonos player) Entering work loop.
2022-01-27 10:17:52.016  Hyperion hardware started.
2022-01-27 10:17:52.016  Status: Hyperion: (Hyperion) Started.
2022-01-27 10:17:52.016  Status: Hyperion: (Hyperion) Entering work loop.
2022-01-27 10:17:52.016  Tuya2 hardware started.
2022-01-27 10:17:52.017  Status: Tuya2: (Tuya2) Started.
2022-01-27 10:17:52.017  Status: Tuya2: (Tuya2) Entering work loop.
2022-01-27 10:17:52.017  Status: NotificationSystem: thread started...
2022-01-27 10:17:52.017  Status: EventSystem: reset all events...
2022-01-27 10:17:52.034  Status: dzVents: Write file: /home/administrateur/domoticz/scripts/dzVents/generated_scripts/Power_SUM.lua
2022-01-27 10:17:52.034  Status: dzVents: Write file: /home/administrateur/domoticz/scripts/dzVents/generated_scripts/PiscineV2.lua
2022-01-27 10:17:52.034  Status: EventSystem: reset all device statuses...
2022-01-27 10:17:52.123  Kodi: (OSMC) Starting thread.
2022-01-27 10:17:52.139  Status: Shelly MQTT: (Shelly MQTT) Initialized version 0.6.0
2022-01-27 10:17:52.142  Shelly MQTT: (Shelly MQTT) New hardware creation enabled
2022-01-27 10:17:52.180  Error: Sonos player: (PP-MANAGER) failed to load 'plugin.py', Python Path used was ':/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.8/dist-packages'.
2022-01-27 10:17:52.180  Error: Sonos player: (Sonos player) Module Import failed, exception: 'ModuleNotFoundError'
2022-01-27 10:17:52.180  Error: Sonos player: (Sonos player) Module Import failed: ' Name: plugin'
2022-01-27 10:17:52.180  Error: Sonos player: (Sonos player) Error Line details not available.
2022-01-27 10:17:52.217  Status: PluginSystem: 6 plugins started.
2022-01-27 10:17:52.220  Status: Hyperion: (Hyperion) Initialized version 1.0.4, author 'elgringo'
2022-01-27 10:17:52.223  Kodi: Starting I/O service thread.
2022-01-27 10:17:52.742  Status: Tuya: (Tuya) Initialized version 0.1, author 'tizzen33'
2022-01-27 10:17:53.016  Status: MQTT Gateway: MQTT: Connecting to localhost:1883
2022-01-27 10:17:53.216  Status: MQTT Gateway: MQTT: connected to: localhost:1883
2022-01-27 10:17:53.416  Status: MQTT Gateway: MQTT: Subscribed
2022-01-27 10:17:55.088  Status: Python EventSystem: Initalizing event module.
2022-01-27 10:17:55.088  Status: EventSystem: Started
2022-01-27 10:17:55.088  Status: EventSystem: Queue thread started...
2022-01-27 10:17:55.265  Status: WLED: (WLED) Initialized version 0.0.1, author 'frustreermeneer'
2022-01-27 10:17:55.266  WLED: (WLED) devices existed already
2022-01-27 10:17:55.266  WLED: (WLED) Updating presets
2022-01-27 10:17:55.282  Shelly MQTT: (Shelly MQTT) Connected to MQTT Server: 127.0.0.1:1883
2022-01-27 10:17:55.454  Status: Tuya2: (Tuya2) Initialized version 1.0.0, author 'Wagner Oliveira'
2022-01-27 10:17:55.455  Tuya2: (Tuya2) TUYA plugin started
2022-01-27 10:17:55.457  Tuya2: (Tuya2) Update 0:'Off' (Tuya2 - Prise bureau) TimedOut=True
2022-01-27 10:17:55.459  Tuya2: (Tuya2) Update 0:'Off' (Tuya2 - Yaourtierre) TimedOut=True
2022-01-27 10:17:55.461  Tuya2: (Tuya2) Update 0:'Off' (Bulbe) TimedOut=True
2022-01-27 10:17:55.480  Tuya2: (Tuya2) Update 0:'Off' (Projecteur Garage) TimedOut=True
2022-01-27 10:17:55.483  Tuya2: (Tuya2) Update 0:'Off' (Le Rat) TimedOut=True
2022-01-27 10:17:55.486  Tuya2: (Tuya2) Update 0:'Off' (Spot couleur) TimedOut=True
2022-01-27 10:17:55.487  Tuya2: (Tuya2) Update 0:'Off' (Tuya Porte) TimedOut=True
2022-01-27 10:17:55.490  Tuya2: (Tuya2) Update 0:'Off' (Tuya2 - prise sonette) TimedOut=True
2022-01-27 10:17:55.492  Tuya2: (Tuya2) Update 0:'Off' (Tuya2 - Si \"porte\"Quelqu'un sonne la cloche,\"prise sonette\"Interrupteur 1:Marche) TimedOut=True
2022-01-27 10:17:55.495  Tuya2: (Tuya2) Update 0:'Off' (Palissade) TimedOut=True
2022-01-27 10:17:55.497  Tuya2: (Tuya2) Update 0:'Off' (Terasse) TimedOut=True
2022-01-27 10:17:55.501  Tuya2: (Tuya2) Update 0:'Off' (carport2) TimedOut=True
2022-01-27 10:17:55.503  Tuya2: (Tuya2) Update 0:'Off' (carport1) TimedOut=True
2022-01-27 10:17:55.505  Tuya2: (Tuya2) Update 0:'Off' (Tuya2 - thermostat de la mer) TimedOut=True
2022-01-27 10:17:55.556  Error: WLED: (WLED) No transport, write directive to 'JSONConn' ignored.
2022-01-27 10:17:56.127  Status: dzVents: Info: Handling events for: "Shelly3em Energy Total A", value: "0;5318876.1"
2022-01-27 10:17:56.128  Status: EventSystem: Script event triggered: /home/administrateur/domoticz/dzVents/runtime/dzVents.lua
2022-01-27 10:17:56.156  Status: dzVents: Info: Handling events for: "Shelly3em Energy Total B", value: "0;2280682.7"
2022-01-27 10:17:56.157  Status: dzVents: Info: Handling events for: "Shelly3em Energy Total C", value: "0;422639.6"
2022-01-27 10:17:56.158  Status: EventSystem: Script event triggered: /home/administrateur/domoticz/dzVents/runtime/dzVents.lua
2022-01-27 10:17:57.577  Tuya2: (Tuya2) Update 0:'Off' (carport2) TimedOut=False
2022-01-27 10:17:57.581  Tuya2: (Tuya2) Update 1:'On' (Projecteur Garage) TimedOut=True
2022-01-27 10:17:57.583  Tuya2: (Tuya2) Update 0:'Off' (Tuya2 - Prise bureau) TimedOut=False
2022-01-27 10:17:57.586  Tuya2: (Tuya2) Update 1:'On' (Spot couleur) TimedOut=False
2022-01-27 10:17:57.588  Tuya2: (Tuya2) Update 1:'On' (Tuya2 - thermostat de la mer) TimedOut=False
2022-01-27 10:17:57.590  Tuya2: (Tuya2) Update 1:'On' (Le Rat) TimedOut=True
2022-01-27 10:17:57.593  Tuya2: (Tuya2) Update 0:'Off' (carport1) TimedOut=False
2022-01-27 10:17:57.596  Tuya2: (Tuya2) Update 1:'On' (Bulbe) TimedOut=False
2022-01-27 10:17:57.599  Tuya2: (Tuya2) Update 0:'Off' (Palissade) TimedOut=False
2022-01-27 10:17:57.601  Tuya2: (Tuya2) Update 0:'Off' (Terasse) TimedOut=False
2022-01-27 10:18:02.755  Weather: Temp + Humidity + Baro (Chastre Temp-Hum)
2022-01-27 10:18:02.759  Weather: Wind (Chastre Wind)
2022-01-27 10:18:02.762  Weather: UV (Chastre UV)
2022-01-27 10:18:02.764  Weather: Rain (Rain)
2022-01-27 10:18:02.766  Weather: General/Visibility (Chastre Visibility)
2022-01-27 10:18:02.768  Weather: General/Custom Sensor (Ozone Sensor)
2022-01-27 10:18:02.770  Weather: General/Percentage (Cloud Cover)
2022-01-27 10:18:02.772  Weather: Temp + Humidity + Baro (THB)
2022-01-27 10:18:02.774  Weather: Wind (Unknown)
2022-01-27 10:18:02.775  Weather: UV (UV)
2022-01-27 10:18:02.777  Weather: Rain (Rain)
2022-01-27 10:18:02.779  Weather: General/Visibility (Unknown)
2022-01-27 10:18:02.780  Weather: General/Custom Sensor (Ozone Sensor)
2022-01-27 10:18:02.782  Weather: General/Percentage (Cloud Cover)
2022-01-27 10:18:02.801  Weather: Temp + Humidity + Baro (THB)
2022-01-27 10:18:02.804  Weather: Wind (Unknown)
2022-01-27 10:18:02.806  Weather: UV (UV Index)
2022-01-27 10:18:02.808  Weather: Rain (Rain)
2022-01-27 10:18:02.811  Weather: General/Visibility (Unknown)
2022-01-27 10:18:02.813  Weather: General/Custom Sensor (Ozone Sensor)
2022-01-27 10:18:02.814  Weather: General/Percentage (Cloud Cover)
PING 192.168.1.226 (192.168.1.226) 56(84) bytes of data.

--- 192.168.1.226 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

2022-01-27 10:18:05.329  Status: EventSystem: Script event triggered: /home/administrateur/domoticz/scripts/lua/script_time_octoprint.lua
2022-01-27 10:18:05.424  Status: LUA:  -------- Temp PiscineTemp = 3.81C,
2022-01-27 10:18:06.078  Status: LUA: Caroline:Inconnu Inconnu
2022-01-27 10:18:06.676  Status: dzVents: Info: Handling events for: "Temp Panneau solaire", value: "4.25"
2022-01-27 10:18:06.676  Status: dzVents: Info: ------ Start internal script: PiscineV2: Device: "Temp Panneau solaire (Temp Piscine)", Index: 232
2022-01-27 10:18:06.677  Status: dzVents: Info: ------ Finished PiscineV2
2022-01-27 10:18:18.588  Status: Incoming connection from: 192.168.1.79
2022-01-27 10:18:19.938  Status: dzVents: Info: Handling events for: "Shelly3em Energy Total A", value: "0;5318882.5"
2022-01-27 10:18:19.939  Status: EventSystem: Script event triggered: /home/administrateur/domoticz/dzVents/runtime/dzVents.lua
2022-01-27 10:18:19.959  Status: dzVents: Info: Handling events for: "Shelly3em Energy Total B", value: "0;2280683.7"
2022-01-27 10:18:19.960  Status: EventSystem: Script event triggered: /home/administrateur/domoticz/dzVents/runtime/dzVents.lua
2022-01-27 10:18:19.980  Status: dzVents: Info: Handling events for: "Shelly3em Energy Total C", value: "0;422639.8"
2022-01-27 10:18:19.981  Status: EventSystem: Script event triggered: /home/administrateur/domoticz/dzVents/runtime/dzVents.lua
2022-01-27 10:18:36.037  Status: dzVents: Info: Handling events for: "Temp Panneau solaire", value: "4.25"
2022-01-27 10:18:36.037  Status: dzVents: Info: ------ Start internal script: PiscineV2: Device: "Temp Panneau solaire (Temp Piscine)", Index: 232
2022-01-27 10:18:36.038  Status: dzVents: Info: ------ Finished PiscineV2
2022-01-27 10:18:41.206  Active notification Subsystems: browser, email, kodi, pushsafer, telegram (5/13)
Fatal Python error: Segmentation fault

Current thread 0x00007f6b3e7fc640 (most recent call first):
<no Python frame>
2022-01-27 10:18:41.213  Error: Domoticz(pid:33213, tid:33235('Sonos player')) received fatal signal 11 (Segmentation fault)
2022-01-27 10:18:41.213  Error: siginfo address=0x3e8000081bd, address=0x7f6b6b88ea3b
2022-01-27 10:18:42.631  Error: Thread 23 (Thread 0x7f6b3e7fc640 (LWP 33235)):
2022-01-27 10:18:42.631  Error: #0  0x00007f6b6b5f168f in __GI___wait4 (pid=33430, stat_loc=0x7f6b3e7fa9a4, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
2022-01-27 10:18:42.631  Error: #1  0x00005616ecb31077 in dumpstack_gdb(bool) ()
2022-01-27 10:18:42.631  Error: #2  0x00005616ecb3165e in signal_handler(int, siginfo_t*, void*) ()
2022-01-27 10:18:42.631  Error: #3  <signal handler called>
2022-01-27 10:18:42.631  Error: #4  raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49
2022-01-27 10:18:42.631  Error: #5  <signal handler called>
2022-01-27 10:18:42.631  Error: #6  0x00007f6b6a3e7eaf in PyModule_GetDict () from /usr/lib/x86_64-linux-gnu/libpython3.8.so
2022-01-27 10:18:42.631  Error: #7  0x00005616ecef1b23 in Plugins::CPlugin::LoadSettings() ()
2022-01-27 10:18:42.631  Error: #8  0x00005616ecef991b in Plugins::CDirectiveBase::Process() ()
2022-01-27 10:18:42.631  Error: #9  0x00005616ecef9287 in Plugins::CPlugin::Do_Work() ()
2022-01-27 10:18:42.631  Error: #10 0x00005616ed26818f in execute_native_thread_routine ()
2022-01-27 10:18:42.631  Error: #11 0x00007f6b6b883590 in start_thread (arg=0x7f6b3e7fc640) at pthread_create.c:463
2022-01-27 10:18:42.631  Error: #12 0x00007f6b6b62c223 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Segmentation fault (core dumped)

Si quelqu'un a une piste .
Merci d'avance
Neutrino
Messages : 2662
Inscription : 10 juil. 2015, 15:42
Localisation : Les Herbiers(85)

Re: Crash domoticz - exited

Message par Neutrino »

On dirait un problème de plugin (sonos player).
Tu es sous quelle version de debian ?
Ma maison à plein d'IP ! :mrgreen:
SAV Bonjour. Vous avez vidé le cache ?
jme
Messages : 67
Inscription : 04 août 2017, 19:21

Re: Crash domoticz - exited

Message par jme »

Salut,

Merci pour ta réponse:

Code : Tout sélectionner

cat /etc/os-release
NAME="Ubuntu"
VERSION="20.10 (Groovy Gorilla)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.10"
VERSION_ID="20.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy
Neutrino
Messages : 2662
Inscription : 10 juil. 2015, 15:42
Localisation : Les Herbiers(85)

Re: Crash domoticz - exited

Message par Neutrino »

Donc le problème de vient pas de là.
Tu es sous quelle version de Python ?
Il semble que c'est ton plugin sonos qui fait planter.
Essaie de le désactiver pour voir.
Ma maison à plein d'IP ! :mrgreen:
SAV Bonjour. Vous avez vidé le cache ?
jme
Messages : 67
Inscription : 04 août 2017, 19:21

Re: Crash domoticz - exited

Message par jme »

Code : Tout sélectionner

python -V
Python 2.7.18
Chrominator
Messages : 1042
Inscription : 19 déc. 2015, 07:29
Localisation : France

Re: Crash domoticz - exited

Message par Chrominator »

Ca donnera peut-être la même version sur ton système, mais pourrais-tu nous montrer la page "a propos" de l'interface graphique de ton système ?

Sur un de mes pi je n'ai pas la même version avec la commande et dans "à propos" et à mon avis c'est cette dernière qui est pertinente.
Screenshot 2022-01-31 at 18-54-34 Domoticz_dev.png
Screenshot 2022-01-31 at 18-54-34 Domoticz_dev.png (102.14 Kio) Consulté 2241 fois
Un bon frein vaut mieux que deux sparadraps.

Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
jme
Messages : 67
Inscription : 04 août 2017, 19:21

Re: Crash domoticz - exited

Message par jme »

pour le moment domoticz tourne, mais des que je fais un changement il se crash.
Capture.PNG
Capture.PNG (339.43 Kio) Consulté 2201 fois
Edit: j'ai fais l'upgarde du jour, a voir si ca continue a planter ...
Dernière modification par jme le 01 févr. 2022, 17:11, modifié 1 fois.
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Modération

Message par Keros »

En hébergeant les images à l'extérieur du forum, il y a de fort risques qu'ils ne soient plus disponible dans quelque temps comme ici, ou encore . Merci d'éditer votre message et utiliser l'onglet Fichiers joints en dessous de la zone d'écriture des messages pour enregistrer les éléments sur le serveur du forum.
Répondre