Z-Way 2.3.8 and 3.0.0 randomly closing. Pi now has to be rebooted in 3.0.0

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
brizz
Posts: 6
Joined: 18 Oct 2017 19:15

Z-Way 2.3.8 and 3.0.0 randomly closing. Pi now has to be rebooted in 3.0.0

Post by brizz » 21 Jul 2019 20:27

I've had this problem a while now and really hoped 3.0.0 would fix it. I've seen a few other threads of people having similar issues. Unfortunately it's actually gotten worse in 3.0.0.

The Z-Way server randomly stops for me (not sure if it's a crash, or closing - nothing in the logs, even when set to most verbose). I'd say it's happening once every two days or so - not ideal at all for a smart house where my lights/sensors suddenly stop responding to button presses/actions/etc.

In 2.3.8 I could ssh into the pi and run

Code: Select all

sudo /etc/init.d/z-way-server restart
and the server would restart and everything continue to work. However, this no long works in 3.0.0. Restarting the server seems to do nothing and I have to perform a full reboot of the pi.

For now I'm going to be rolling back to a much earlier version that doesn't seem to have this problem.

Is there any chance of investigating this issue and fixing it once and for all? I'm willing to provide anything needed to help diagnose (including an image of what's on my pi if that's any help).

User avatar
PoltoS
Posts: 4946
Joined: 26 Jan 2011 19:36

Re: Z-Way 2.3.8 and 3.0.0 randomly closing. Pi now has to be rebooted in 3.0.0

Post by PoltoS » 21 Jul 2019 23:19

Hi!

We were hunting for those bugs for many months. Most were solved, but looks we have some more.

If you can help us, we would be glad to run gdb and similar tools on your side and cooperate very close with you to locate the issue.

Unfortunately just making an image do not help in most cases - environment influence a lot.

Please contact us in PM

jet11x
Posts: 51
Joined: 29 Dec 2014 21:15

Re: Z-Way 2.3.8 and 3.0.0 randomly closing. Pi now has to be rebooted in 3.0.0

Post by jet11x » 17 Aug 2019 10:39

Since installing 3.0.0 on 10-Aug-19 it's crashed twice. I've got monit installed to re-start process automatically if it crashes after problems with an earlier version of Z-Way, so isn't too much of a problem. I did use gdb previously to find out what was causing the crash. I have two problems though with doing that again:
- my wife tends to turn of the computer with putty running ...
- no re-start if it crashes

Likely ways around this, but my knowledge of gdb is rather basic.

User avatar
PoltoS
Posts: 4946
Joined: 26 Jan 2011 19:36

Re: Z-Way 2.3.8 and 3.0.0 randomly closing. Pi now has to be rebooted in 3.0.0

Post by PoltoS » 17 Aug 2019 21:01

First problem can be solved by running "screen" and inside gdb.

If you can provide us access, we would be happy to seek for this crash issue.

But first please do gdb and make "bt" and "info thr" after it crashes.

jet11x
Posts: 51
Joined: 29 Dec 2014 21:15

Re: Z-Way 2.3.8 and 3.0.0 randomly closing. Pi now has to be rebooted in 3.0.0

Post by jet11x » 17 Aug 2019 23:42

Thanks - I'll see what I can do

Post Reply