Page 1 sur 1

Domoticz planté, après coupure secteur...

Publié : 24 mai 2020, 13:24
par BernArd
Bonjour à Toutes et Tous :)

Je vais tenter d'être le plus explicite, sachant que lorsqu'un souci nous concerne, nous avons tendance à faire des raccourcis "malheureux"... aussi, si je fais un oubli, merci de me le rappeler et m'indiquer s'il y a une commande à effectuer :)

Après une coupure du secteur, la nuit, au p'tit matin, ordi arrêté, jusque là, aucun souci, je relance et en terminal de commande je fais :

Code : Tout sélectionner

./domoticz -www 8181 -sslwww 0
obtenu ici
et obtiens à la suite :

Code : Tout sélectionner

root@debian-fixe:/home/bernard/domoticz# ./domoticz -www 8181 -sslwww 0
2020-05-24 10:52:52.699  Status: Domoticz V2020.1 (c)2012-2020 GizMoCuz
2020-05-24 10:52:52.699  Status: Build Hash: 77b93f111, Date: 2020-03-22 16:45:56
2020-05-24 10:52:52.716  Status: Startup Path: /home/bernard/domoticz/
2020-05-24 10:52:52.722  Sunrise: 06:19:00 SunSet: 21:23:00
2020-05-24 10:52:52.722  Day length: 15:05:00 Sun at south: 13:51:00
2020-05-24 10:52:52.722  Civil twilight start: 05:44:00 Civil twilight end: 21:58:00
2020-05-24 10:52:52.722  Nautical twilight start: 05:00:00 Nautical twilight end: 22:42:00
2020-05-24 10:52:52.722  Astronomical twilight start: 04:06:00 Astronomical twilight end: 23:35:00
2020-05-24 10:52:52.738  Status: PluginSystem: Started, Python version '3.7.3'.
2020-05-24 10:52:52.739  Active notification Subsystems: (0/13)
2020-05-24 10:52:52.740  Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8181
2020-05-24 10:52:52.740  Starting shared server on: 0.0.0.0:6144
2020-05-24 10:52:52.740  Status: TCPServer: shared server started...
2020-05-24 10:52:52.741  Status: RxQueue: queue worker started...
2020-05-24 10:52:54.741  Status: NotificationSystem: thread started...
2020-05-24 10:52:54.742  Status: EventSystem: reset all events...
2020-05-24 10:52:54.742  Status: EventSystem: reset all device statuses...
2020-05-24 10:52:54.757  Status: Python EventSystem: Initalizing event module.
2020-05-24 10:52:54.757  Status: EventSystem: Started
2020-05-24 10:52:54.757  Status: EventSystem: Queue thread started...
2020-05-24 10:52:54.941  Error: RFLink: Error opening serial port!
2020-05-24 10:52:55.141  Status: RFLink: serial retrying in 30 seconds...
2020-05-24 10:52:55.223  Status: PluginSystem: Entering work loop.
^C
.2020-05-24 10:52:59.741  Status: Closing application!...
2020-05-24 10:52:59.741  Status: Stopping worker...
2020-05-24 10:52:59.741  Status: RxQueue: queue worker stopped...
2020-05-24 10:53:00.242  Status: WebServer(HTTP) stopped
2020-05-24 10:53:00.242  Status: TCPServer: shared server stopped
2020-05-24 10:53:00.242  Status: Stopping all hardware...
2020-05-24 10:53:00.242  Status: RFLink: Worker stopped...
2020-05-24 10:53:00.242  Status: Scheduler stopped...
2020-05-24 10:53:00.242  Status: EventSystem: Stopped...
2020-05-24 10:53:00.242  Status: EventSystem: Queue thread stopped...
2020-05-24 10:53:00.245  Status: EventSystem - Python stopped...
2020-05-24 10:53:00.246  Status: NotificationSystem: thread stopped...
2020-05-24 10:53:00.246  Status: PluginSystem: Exiting work loop.
2020-05-24 10:53:00.249  Status: PluginSystem: Stopped.
2020-05-24 10:53:00.249  Status: Mainworker Stopped...
root@debian-fixe:/home/bernard/domoticz# 
je fais Ctrl+C pour le stopper, puisque Domoticz réessaie toutes les 30 secondes et tourne en rond... :?

j'ai effectué plusieurs arrêts et démarrages sur :

Code : Tout sélectionner

root@debian-fixe:~# /etc/init.d/domoticz.sh stop
[ ok ] Stopping domoticz.sh (via systemctl): domoticz.service.
root@debian-fixe:~# 

root@debian-fixe:~# service domoticz stop
root@debian-fixe:~# 
puis

Code : Tout sélectionner

root@debian-fixe:~# /etc/init.d/domoticz.sh start
[ ok ] Starting domoticz.sh (via systemctl): domoticz.service.
root@debian-fixe:~# 

root@debian-fixe:~# service domoticz start
root@debian-fixe:~# 
le résultat obtenu est toujours le même qu'à la première commande...

Vous ai-je bien résumé le souci ?
Avez-vous besoin d'une autre commande pour visualiser une fonction ?
avec quelle commande ?

ou j'ai oublié quelque chose ?
si rien d'oublié, que puis-je faire pour relancer Domoticz, et qu'il fonctionne ;)

Merci de vos retours d'expériences :)

Re: Domoticz planté, après coupure secteur...

Publié : 24 mai 2020, 14:57
par vil1driver
Salut,

Ton domoticz fonctionne à ce que l'on peu voir..

Tu as juste à redéfinir le port du rflink.
C'est la base du raspberry que de fixer les ports usb.
As tu été un peu sur le wiki ?
Les notices ne sont pas là que pour faire joli