Page 1 of 1

Raspberry with Domoticz spontaneously hangs.

Posted: Wednesday 03 August 2016 18:07
by rgroothuis
It is probably not a Domoticz problem but not sure (yet) where else to post this problem and brainstorm for a solution. For a long time I had Domoticz stable running on a Raspberry Pi with a ZWave USB stick and the rfxcom device connected over USB. Suddenly I cannot control anything in my house anymore, really strange. Rebooted the Raspberry and it works again, but than after some time it hangs. Now it hangs after 10 to 15 seconds when I've rebooted the Raspberry.

What I did so far:
- changed the power supply as it good be a voltage/ampere issue. Unfortunately doesn't solve the problem.
- Cooled down the Raspberry for a couple of hours, booted the device still the same problem.
- Scanned the SD card with Ubuntu for file system problems, there where some problems but they have been fixed, still after starting the Raspberry it hangs within 10 to 15 seconds.

Any other suggestion on how to solve/debug this problem? You support is really appreciated as I cannot control the lights in my house anymore :-(

Re: Raspberry with Domoticz spontaneously hangs.

Posted: Wednesday 03 August 2016 18:18
by jannl
Nothing in the logfiles?

Re: Raspberry with Domoticz spontaneously hangs.

Posted: Wednesday 03 August 2016 18:19
by rgroothuis
jannl wrote:Nothing in the logfiles?
No unfortunately not, the Raspberry simply hangs. It also doesn't respond to pings anymore. The green and red LED are still on and I see the network LED also blinking continuously.

Re: Raspberry with Domoticz spontaneously hangs.

Posted: Wednesday 03 August 2016 18:39
by jannl
If you have a nas you might be able to write the domotocz logfile to the nas

Re: Raspberry with Domoticz spontaneously hangs.

Posted: Thursday 04 August 2016 8:07
by rgroothuis
jannl wrote:If you have a nas you might be able to write the domotocz logfile to the nas
What is the advantage of this? That the log files are still being written with maybe the root cause before it hangs? Or is there another purpose to do this?

Re: Raspberry with Domoticz spontaneously hangs.

Posted: Thursday 04 August 2016 12:42
by jannl
If you write the logifles to the PI and the pi crashes, you may not be able to read the logfiles anymore, if they are on the nas you still have them