Page 1 of 1

domoticz crashing after wrong sensor configuration

Posted: Friday 14 October 2022 13:39
by Duggel
Hi,

This morning I created a HTTP/HTTPS poller, but exidently put in a 0 (zero) as refresh value.
Since then domoticz is dead. I removed the domoticz.db file and rebooted the raspberry pi. Domoticz comes back online, so I can upload/restore a database backup. I tried the last 2 hourly and latest monthly automatic backup, but as soon the restore process finishes, domoticz crashes.
I don't even get the "domoticz offline" page.

What can I try to repair domoticz?

Hope someone has suggestions.
Marc.

Re: domoticz crashing after wrong sensor configuration

Posted: Friday 14 October 2022 14:05
by Duggel
Starting domoticz manually I get the following error:

Code: Select all

Error: WebServer(HTTP) startup failed on address 0.0.0.0 with port: 8080: bind: Address already in use
2022-10-14 13:57:30.957  Error: WebServer(HTTP) check if no other application is using port: 8080
I tried sudo netstat -tulpn | grep '8080\|433' with the following result:
tcp6 0 0 :::8080 :::* LISTEN 1085/java

Does this mean java is running on port 8080?
If yes, how come and how to repair?

Re: domoticz crashing after wrong sensor configuration

Posted: Saturday 15 October 2022 16:49
by gizmocuz
It seems domoticz is still running but probably extremely bussy handing your refresh requests
If it's a cronjob disable it
Next reboot your device, or issue a 'sudo service domoticz restart' command