moroen / IKEA-Tradfri-plugin

A Python plugin for Domoticz to controll IKEA Gateway
68 stars 23 forks source link

Domoticz stops working with new "master" version #91

Closed basrieter closed 4 years ago

basrieter commented 4 years ago

Every since I upgraded to the new "master" branche version (without the additional service) my Domoticz stops responding after about 24-36 hours.

Is there any way I can provide you with logging regarding this issue?

moroen commented 4 years ago

Domoticz as a whole or just tradfri?

basrieter commented 4 years ago

Domoticz as a whole. I initially noticed this because I could not access Domoticz via the brower. I was still able to access the Raspberry Pi via SSH and noticed the Domoticz process stopped. I had to restart Domoticz.

I reverted back to 0ce7c2741123025c291dc6517256d88c8c801c24 which was the version I was using for a while now. The Tradfri service is running on a Docker image in my Docker swarm. Then Domoticz runs for weeks.

moroen commented 4 years ago

Is there anything in the logs, up to the moment where domoticz just dies? Which version of domoticz are you using? Do you have some kind of memory log, to see if memory usage spikes or gradually increases?

basrieter commented 4 years ago

I use Domoticz v4.10717 (May 9th 2019). The problem is that the in-app log gets cleared whenever I start Domoticz.

I can go back the latest master of the Tradfri plugin and start Domoticz with a file log tonight.

moroen commented 4 years ago

I think I have found your problem, the lastest version (0.7.0) should hopefully fix this. Just make sure that you also upgrade to the latest version of pycoap (0.7.0) as well! If not, let domoticz run from the command line, then you'll get the full log and some notion of what's happening when domoticz dies...

I'm closing this issue, please feel free to reopen if the latest version still fails!

basrieter commented 4 years ago

Just upgraded and I will see what happens. I will update you after some days.

basrieter commented 4 years ago

@moroen It has been running ever since I upgraded to 0.7.0 of both the plugin as pycoap. Super!

moroen commented 4 years ago

Great!