Page 1 sur 1

impossible de démarrer domoticz

Publié : 17 févr. 2021, 22:36
par Thx
Bonjour

Depuis ce soir, il m'est soudainement devenu impossible de lancer domoticz :

Code : Tout sélectionner

$ systemctl status domoticz.service 
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated)
   Active: active (exited) since Wed 2021-02-17 22:29:59 CET; 56s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 432 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

févr. 17 22:29:58 pi2 systemd[1]: Starting LSB: Home Automation System...
févr. 17 22:29:59 pi2 domoticz.sh[432]: domoticz: Domoticz is starting up....
févr. 17 22:29:59 pi2 domoticz[459]: Domoticz is starting up....
févr. 17 22:29:59 pi2 domoticz[500]: Domoticz running...
févr. 17 22:29:59 pi2 systemd[1]: Started LSB: Home Automation System.
Dès que je le lance, il s'arrête proprement en moins de 2 secondes et je n'ai aucun message d'erreur.
Idem dans le /tmp/domoticz.txt

Code : Tout sélectionner

$ cat /tmp/domoticz.txt 
2021-02-17 22:34:46.421  Status: Domoticz V2020.2 (c)2012-2020 GizMoCuz
2021-02-17 22:34:46.421  Status: Build Hash: b63341bc0, Date: 2020-04-26 13:47:55
2021-02-17 22:34:46.422  Status: Startup Path: /home/pi/domoticz/
2021-02-17 22:34:46.493  Sunrise: 07:58:00 SunSet: 18:24:00
2021-02-17 22:34:46.493  Day length: 10:26:00 Sun at south: 13:11:00
2021-02-17 22:34:46.493  Civil twilight start: 07:27:00 Civil twilight end: 18:55:00
2021-02-17 22:34:46.493  Nautical twilight start: 06:51:00 Nautical twilight end: 19:31:00
2021-02-17 22:34:46.493  Astronomical twilight start: 06:16:00 Astronomical twilight end: 20:06:00
2021-02-17 22:34:46.636  Status: PluginSystem: Started, Python version '3.7.3'.
2021-02-17 22:34:46.650  Active notification Subsystems: email (1/13)
2021-02-17 22:34:46.655  Status: WebServer(HTTP) started on address: :: with port 80
2021-02-17 22:34:46.668  Error: [web:443] missing SSL DH parameters from file ./server_cert.pem
2021-02-17 22:34:46.669  Status: WebServer(SSL) started on address: :: with port 443
2021-02-17 22:34:46.721  Starting shared server on: :::6144
2021-02-17 22:34:46.722  Status: TCPServer: shared server started...
2021-02-17 22:34:46.723  Status: RxQueue: queue worker started...
2021-02-17 22:34:47.089  Status: Incoming connection from: 192.168.0.251
2021-02-17 22:34:48.723  Status: (ZiGate) Started.
2021-02-17 22:34:48.724  Status: (TV) Started.
2021-02-17 22:34:48.724  Status: (Linky) Started.
2021-02-17 22:34:48.724  Status: NotificationSystem: thread started...
2021-02-17 22:34:48.725  Status: EventSystem: reset all events...
2021-02-17 22:34:49.000  Status: PluginSystem: Entering work loop.
2021-02-17 22:34:52.259  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Charge des tablettes.lua
2021-02-17 22:34:52.260  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Capteur Perdu.lua
2021-02-17 22:34:52.261  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Chauffage bureau.lua
2021-02-17 22:34:52.262  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Switch-On-Off.lua
2021-02-17 22:34:52.262  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Pompe de relevage.lua
2021-02-17 22:34:52.262  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Chauffage SAM.lua
2021-02-17 22:34:52.263  Status: EventSystem: reset all device statuses...

En remontant une vieille sauvegarde, ca fonctionne, mais comment savoir ce qui a mis le bazar ?! (je préfèrerai désactiver un morceau plutot que de revenir en arrière de 2 semaines)

Merci

Re: impossible de démarrer domoticz

Publié : 18 févr. 2021, 06:40
par Thx
J'ai trouvé quelque chose : en lancant manuellement j'ai une "Erreur du bus"

Code : Tout sélectionner

$ sudo ./domoticz 
2021-02-18 06:39:27.284  Status: Domoticz V2020.2 (c)2012-2020 GizMoCuz
2021-02-18 06:39:27.284  Status: Build Hash: b63341bc0, Date: 2020-04-26 13:47:55
2021-02-18 06:39:27.285  Status: Startup Path: /home/pi/domoticz/
2021-02-18 06:39:27.328  Sunrise: 07:56:00 SunSet: 18:25:00
2021-02-18 06:39:27.329  Day length: 10:29:00 Sun at south: 13:11:00
2021-02-18 06:39:27.329  Civil twilight start: 07:25:00 Civil twilight end: 18:56:00
2021-02-18 06:39:27.329  Nautical twilight start: 06:49:00 Nautical twilight end: 19:32:00
2021-02-18 06:39:27.329  Astronomical twilight start: 06:14:00 Astronomical twilight end: 20:08:00
2021-02-18 06:39:27.442  Status: PluginSystem: Started, Python version '3.7.3'.
2021-02-18 06:39:27.456  Active notification Subsystems: email (1/13)
2021-02-18 06:39:27.460  Status: WebServer(HTTP) started on address: :: with port 8080
2021-02-18 06:39:27.472  Error: [web:443] missing SSL DH parameters from file ./server_cert.pem
2021-02-18 06:39:27.474  Status: WebServer(SSL) started on address: :: with port 443
2021-02-18 06:39:27.480  Starting shared server on: :::6144
2021-02-18 06:39:27.481  Status: TCPServer: shared server started...
2021-02-18 06:39:27.482  Status: RxQueue: queue worker started...
2021-02-18 06:39:29.482  Status: (ZiGate) Started.
2021-02-18 06:39:29.483  Status: (TV) Started.
2021-02-18 06:39:29.483  Status: (Linky) Started.
2021-02-18 06:39:29.483  Status: NotificationSystem: thread started...
2021-02-18 06:39:29.485  Status: EventSystem: reset all events...
2021-02-18 06:39:29.488  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Charge des tablettes.lua
2021-02-18 06:39:29.489  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Capteur Perdu.lua
2021-02-18 06:39:29.490  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Chauffage bureau.lua
2021-02-18 06:39:29.490  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Switch-On-Off.lua
2021-02-18 06:39:29.491  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Pompe de relevage.lua
2021-02-18 06:39:29.492  Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Chauffage SAM.lua
2021-02-18 06:39:29.492  Status: EventSystem: reset all device statuses...
Erreur du bus