Author Topic: Frequent restarts  (Read 2497 times)

Offline Thorden

  • Full Member
  • ***
  • Posts: 100
  • Karma: +5/-5
Frequent restarts
« on: December 11, 2017, 10:41:51 am »
Hi all,

My Vera Plus (or rather LUUP engine?) restarts frequently, many times every day. This is getting a major issue, as it effectively causes scenes to fail running, miss triggers or fail to run delayed sequences in scenes.
The last things I see in the log before the reboot is the same three lines:

01   12/11/17 16:06:52.355   UserData::WriteUserData saved--before move File Size: 137362 save size 137362 <0x77058520>
02   12/11/17 16:06:52.355   UserData::TempLogFileSystemFailure start 0 <0x77058520>
02   12/11/17 16:06:52.380   UserData::TempLogFileSystemFailure 6054 res:1

Then it seems to attempt to restart, fails, retries and succeeds. Log entry for first attempt:

/etc/cmh/wan_failover:
-rw-r--r--    1 root     root            44 Aug 14  2015 check_internet.hosts
 <0x77058520>
02   12/11/17 16:18:52.467   UserData::TempLogFileSystemFailure start 0 <0x77058520>
02   12/11/17 16:18:52.494   UserData::TempLogFileSystemFailure 5965 res:1
-rw-r--r--    1 root     root            33 Oct 11 08:47 /etc/cmh/HW_Key


I run the DataMine Plugin that logs to USB. Vera logging to USB is not enabled.

Any suggestions as to how I could fix this issue is greatly appreciated!
 

Offline Inzax

  • Sr. Member
  • ****
  • Posts: 376
  • Karma: +25/-63
Re: Frequent restarts
« Reply #1 on: December 11, 2017, 10:57:09 am »
By chance are the restarts timed with a scene being triggered?

I have the issue described above when it involves recording involving two or more cameras with a scene.

Vera tells me it is a known bug they hope to fix soon...lol.

It would not surprise me if this issue occurs with other scene activations outside of camera recording.
Proud Member of the Epic Smite Thread.
VeraSecure; Concord 4 Panel; 6 IP Cameras; Imperiehome; Housemodes; system monitor; DeusexmachinaII; Vera Concierge

Offline Thorden

  • Full Member
  • ***
  • Posts: 100
  • Karma: +5/-5
Re: Frequent restarts
« Reply #2 on: December 11, 2017, 11:28:34 am »
Good question, answer is that it is hard to tell. See below.

Did your log have the same error messages?
02   12/11/17 16:12:52.373   UserData::TempLogFileSystemFailure start 0 <0x77058520>
02   12/11/17 16:12:52.413   UserData::TempLogFileSystemFailure 6054 res:1

I see three scenes that are triggered all the time. They really shouldn't be, as on of them is in fact deactivated, the other two has triggers that shouldn't act like this. They have one thing in common, and that is that the Heliotrope plugin is a trigger (sun goes below/sun goes above). They do run, but returns false immediately, so they don't do anything most of the time. And they run all the time, the restarts happens lot less frequently than they start.

I deleted the deactivated scene, and removed the Heliotrope trigger from the other. Let's see if that changes anything.

I also find some strange things in the log; seems like two LightSensors are behaving weird. Log is full of these entries:
12/11/17 16:09:09.109   Device_Variable::m_szValue_set device: 338 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 50 now: 50 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:09.763   Device_Variable::m_szValue_set device: 338 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 50 now: 50 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:09.827   Device_Variable::m_szValue_set device: 447 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 39 now: 39 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:09.907   Device_Variable::m_szValue_set device: 447 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 39 now: 39 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:11.263   Device_Variable::m_szValue_set device: 338 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 50 now: 50 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:11.919   Device_Variable::m_szValue_set device: 338 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 50 now: 50 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:12.003   Device_Variable::m_szValue_set device: 447 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 39 now: 39 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:12.039   Device_Variable::m_szValue_set device: 447 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 39 now: 39 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:13.459   Device_Variable::m_szValue_set device: 338 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 50 now: 50 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:14.101   Device_Variable::m_szValue_set device: 338 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 50 now: 50 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:14.163   Device_Variable::m_szValue_set device: 447 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 39 now: 39 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
06   12/11/17 16:09:14.223   Device_Variable::m_szValue_set device: 447 service: urn:micasaverde-com:serviceId:LightSensor1 variable: CurrentLevel was: 39 now: 39 #hooks: 0 upnp: 0 skip: 0 v:0xf951e0/NONE duplicate:1 <0x76e58520>
 

Offline cc4005

  • Full Member
  • ***
  • Posts: 104
  • Karma: +6/-0
Re: Frequent restarts
« Reply #3 on: December 11, 2017, 11:31:38 am »
Watching. I've consistently experienced the same behavior since initial installation and configuration of my Vera Plus a couple months ago. So far tech support hasn't been able to help (to be fair, I've not gone in-depth with them yet and they've only attempted one thing which they explained as "restarted the relays").

Inzax, I don't have any cameras.

Offline Inzax

  • Sr. Member
  • ****
  • Posts: 376
  • Karma: +25/-63
Re: Frequent restarts
« Reply #4 on: December 11, 2017, 11:39:42 am »
@Thorden.  Not sure about the logs.  I will have to take a look.  I threw it in the lap of tech support and waited for the reply I got.  I was up to my eyeballs in other projects at the time. 
Proud Member of the Epic Smite Thread.
VeraSecure; Concord 4 Panel; 6 IP Cameras; Imperiehome; Housemodes; system monitor; DeusexmachinaII; Vera Concierge

Offline Tsviper

  • Sr. Newbie
  • *
  • Posts: 43
  • Karma: +4/-0
Re: Frequent restarts
« Reply #5 on: December 11, 2017, 11:59:00 am »
I've experienced frequent Luup Engine restarts off and on since I have had my VeraPlus for a few years now.  I set a notification and logging script in my startup Lua so I could track it.  It would occur at seemingly random times about every hour to every 10 minutes or so.  Really made the system unreliable.  The first time it happened tech support helped me identify a bad z-wave device that was "flooding" the network.  After removing it all was stable for a long time.  Then very recently having issues again.  Tech support still trying to isolate the cause but I was able to identify another sensor "EZMultiPli Z-Wave Multi-Sensor" that I installed in Feb that was all of the sudden causing restarts again.  Didn't happen until I installed some new switches.  Removed it a few day's ago and all is stable again. 

I've looked into alternative hubs/controllers and don't like anything as much as the vera.  I use some vera scenes but mostly AltUI's workflows to do complex automation.  When things are stable its the best controller out there for what I use it for.

Offline Don Phillips

  • Hero Member
  • *****
  • Posts: 1259
  • Karma: +31/-32
Re: Frequent restarts
« Reply #6 on: December 11, 2017, 08:35:07 pm »
I moved most of my scenes to PLEG and it seems to survive LUUP restarts quite well. Vera restarts about 2 to 10 times a day (at 2 pm and 7 pm just this afternoon).
Vera 3, 1.7.1030, CT101 t-stat, Everspring motion detector, GE/Jasco switch, Leviton outlet, AeonLabs sensor, NuTone garage door, Blue Iris, Sricam SP011, iPhone locator, APCUPSD, VeraMate, VeraAlerts, PLEG, House Modes, Countdown Timer, DVR, Virtual/Multi Switch, Weatherunderground, LB60Z-1 bulb

Offline cc4005

  • Full Member
  • ***
  • Posts: 104
  • Karma: +6/-0
Re: Frequent restarts
« Reply #7 on: December 11, 2017, 08:44:44 pm »
Virtually all my scenes are via PLEG as well. I agree, they seem to survive the restarts generally quite well. However, my wife works from home and has an uncanny ability to trigger (or attempt to trigger) an HA action just as the controller is reloading. WAF is still relatively low for the system in general, and I'd really like to get to the bottom of the frequent restarts.

Offline RichardTSchaefer

  • Master Member
  • *******
  • Posts: 10063
  • Karma: +759/-141
Re: Frequent restarts
« Reply #8 on: December 11, 2017, 10:20:04 pm »
Actually I think that any activity on an idle Vera can trigger a restart.
Mine typically restarts when I do motion in the house after it's been idle for awhile.

Offline Thorden

  • Full Member
  • ***
  • Posts: 100
  • Karma: +5/-5
Re: Frequent restarts
« Reply #9 on: December 12, 2017, 03:18:27 am »
Thank you so much for your feedback!

I see in my logs now that restarts are at least every hour. Totally unacceptable. I have had Vera systems since Vera2 first came out in 2010, it has never been as bad as this before.
Will submit a support ticket to see what they can find out.

I know we all has a lot of time, effort and money invested in Vera, but seriously, are there alternatives that are more stable? I would consider a switch, a bit tired of fiddling around with endless trouble. I want a stable smart home, not something you need to invest hours and hours in to keep working. I can't even sell my house the unstable, quite useless way it is now, so I have to set everything back to old fashioned before I sell it. That will cost a lot, take a lot of time, and reduce the value too.  Seriously Vera, you need to get this thing working in a reliable and user friendly way, or it will never achieve broad market acceptance.

Offline rafale77

  • Hero Member
  • *****
  • Posts: 1110
  • Karma: +52/-21
Re: Frequent restarts
« Reply #10 on: December 12, 2017, 04:41:21 am »
There many alternatives, all more stable and cheaper than vera but with a new learning curve which means you will have to invest time in it.
Home Assistant, OpenHab are the well known local ones and are open-source. Along the same line you can also find Domoticz and iobroker. You will need your own little computer (rasberry pi probably suffice) to host it. I personally use Virtual machines on a server.
I have been fighting issues with the vera myself and have moved a lot of my automation to openLuup. See the section on this forum.

I have not found any of the commercial solutions very attractive maybe except for Homeseer because they are all require cloud processing and are not very stable either (wink, ST)
openLuup (96 devices, 122 scenes, 20 apps) controlling HomeAss + VeraPlus (133 zwave nodes, 8 Zigbee nodes, 200 devices, 34 scenes , 1 apps) Bridged to Homekit and Alexa

Offline Thorden

  • Full Member
  • ***
  • Posts: 100
  • Karma: +5/-5
Re: Frequent restarts
« Reply #11 on: December 12, 2017, 06:09:02 am »
Thanks, Rafale77, that was very helpful information!

I will set up OpenLuup immediately, looks promising. Lack of hardware is not an issue. :-)
« Last Edit: December 12, 2017, 06:10:56 am by Thorden »

Offline kartcon

  • Full Member
  • ***
  • Posts: 143
  • Karma: +7/-0
Re: Frequent restarts
« Reply #12 on: December 12, 2017, 08:21:57 pm »
My Vera Secure just experienced a major meltdown today. Non-stop reboots for 45 minutes. Unable to access any devices or do any troubleshooting. I was able to grab a small chunk of the logs between reboots. One line was very disconcerting:
Code: [Select]
01 12/12/17 18:43:04.293 FileUtils::WriteBufferIntoFile cannot write to /etc/cmh/user_data.json.lzo.new err No space left on device <0x773fb520>
No space left on device?? The dashboard shows 62% used. Had to pull the battery and do a full restart. So far all seems ok, but still no idea why this event occurred today. Power users - any thoughts?
If it happens again I will send a support request. So far is is an isolated incident albeit totally unexplainable.

Offline akbooer

  • Master Member
  • *******
  • Posts: 5880
  • Karma: +251/-69
  • "Less is more"
Re: Frequent restarts
« Reply #13 on: December 13, 2017, 02:54:33 am »
This is not unheard of... several threads found if you search for "no space left on device."

Solutions include just waiting, or calling support.  I did notice this one in particular...

Sercan,

Try to reach our Customer Care team and they will help you on the spot. Details in my signature.
This might happen when restoring on VeraSecure a backup from an old legacy unit.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline jlind

  • Full Member
  • ***
  • Posts: 201
  • Karma: +7/-6
Re: Frequent restarts
« Reply #14 on: December 13, 2017, 10:52:07 am »
As far as restarts, my VeraPlus running 1.7.3232 has been pretty stable.  Sure it does restart, usually about 1 restart in the early morning each day.  Unfortunately, the Vera system doesn't handle exceptions very well.  I slowly built my system (over 100 devices now), write most of my own code, try to limit 3rd party apps, buy quality hardware, and just systematically make relatively small and controlled adjustments in logic.  This has worked for me so far.  I can ignore it for months at a time pretty easily.

The fortunate, or unfortunate, reality is that Vera still has more to offer than most systems out there.  I have to say that their support is improving along with how much they pay attention to the forums.   
VeraLite/VeraPlus with UI7, Multiple GE switches, GE Outlets, Aeon Smart Switches, Minimote, GE Portable outlets  Apps: (Pentair Autelis Plugin, Weather Underground, Honeywell WiFi Thermo, System Monitor, AlternateUI)