We have moved at community.getvera.com

Author Topic: VeraBridge Issues (user error)  (Read 689 times)

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #15 on: February 16, 2019, 08:47:13 am »


Still not right.  New VM/totally new install oi ubuntu this morning.    Just wget new file. from link in install docs.

Error now in line 30, same error, same chunk.

 lua5.1 openLuup_install.lua
openLuup_install   2019.02.12   @akbooer
getting openLuup version tar file from GitHub branch master...
lua5.1: openLuup_install.lua:30: GitHub download failed with code tlsv1 alert protocol version
stack traceback:
        [C]: in function 'assert'
        openLuup_install.lua:30: in main chunk
        [C]: ?
vera@veraplus:/etc/cmh-ludl$



not sure where to find scheduler.

on the new machine, I manually downloaded openLuup_install, and it still fails.

Code: [Select]
vera@veraplus:/etc/cmh-ludl$ lua5.1 openLuup_install
openLuup_install   2019.02.12   @akbooer
getting openLuup version tar file from GitHub branch master...
lua5.1: openLuup_install:31: GitHub download failed with code tlsv1 alert protocol version
stack traceback:
        [C]: in function 'assert'
        openLuup_install:31: in main chunk
        [C]: ?
vera@veraplus:/etc/cmh-ludl$

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #16 on: February 16, 2019, 08:57:38 am »
In the meantime, in my existing running image, how do I get vera ridge to connect  correctly? It says it can't; the correct IP address was entered under attributes and won't despite restarts connect to my veraplus?

What does the console Scheduler > Startup Jobs show?


7  2019-02-16 08:50:45        10      Abort[1]  job#7 :plugin VeraBridge [string "openLuup/L_VeraBridge.lua"]:440: attempt to call field 'create' (a nil value)

btw, There is a L_VeraBridge.lua in the directory /ec/cmh-ludl already....




from the detailed log:

2019-02-16 08:50:45.089   luup_log:10: Vera info received!
2019-02-16 08:50:45.089   luup_log:10: MiOS-500XXXX
2019-02-16 08:50:45.089   openLuup.context_switch::  ERROR: [string "openLuup/L_VeraBridge.lua"]:440: attempt to call field 'create' (a nil value)
2019-02-16 08:50:45.089   openLuup.scheduler:: job aborted : [string "openLuup/L_VeraBridge.lua"]:440: attempt to call field 'create' (a nil value)
2019-02-16 08:50:45.089   luup_log:3: ALTUI: UPNPregisterDataProvider(3,datayours,http://127.0.0.1:3480/data_request?id=lr_DataWatcherRelay&target={0},[{
  "default":"unknown",
  "key":"target",
  "label":"Metric Name",
  "type":"text"
},{
  "default":"\/data_request?id=lr_render&target={0}&hideLegend=true&height=250&from=-y",
  "key":"graphicurl",
  "label":"Graphic Url",
  "type":"url"
}])
« Last Edit: February 16, 2019, 08:59:20 am by Drex »

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #17 on: February 16, 2019, 10:08:33 am »
Sigh...

Something has got really screwed up here.  You should not have a L_VeraBridge.lua anywhere other than the openLuup/ folder.  Delete the one in /cmh-ludl/.  Then just click the openLuup update button of the Plugins page to ensure that you are using the latest master release.

If you still have problems, I need the startup log and the initial regular log after starting up.  Give it a minute or so after restart.

_________

Edit: I take it that the other clean install went OK.
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 Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #18 on: February 16, 2019, 04:27:53 pm »
in regards to fresh install, as reported above, the error moved down a line.... but unable to fresh install (on new virigin built from scratch vm....


Error now in line 30, same error, same chunk.

 lua5.1 openLuup_install.lua
openLuup_install   2019.02.12   @akbooer
getting openLuup version tar file from GitHub branch master...
lua5.1: openLuup_install.lua:30: GitHub download failed with code tlsv1 alert protocol version
stack traceback:
        [C]: in function 'assert'
        openLuup_install.lua:30: in main chunk
        [C]: ?
vera@veraplus:/etc/cmh-ludl$
« Last Edit: February 16, 2019, 04:33:47 pm by Drex »

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #19 on: February 16, 2019, 04:39:31 pm »
in regards to fresh install, as reported above, the error moved down a line.... but unable to fresh install (on new virigin built from scratch vm...

I'm so sorry.  You must have taken this from the master branch, which, for some reason, had failed to merge with the development.  Both now should be up to date at version 2019.02.15.

Can you try one more time...?

I'll work on the other issue now.  In future it might help to separate the two issues into separate posts.
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 Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #20 on: February 16, 2019, 04:44:13 pm »
Sigh...

Something has got really screwed up here.  You should not have a L_VeraBridge.lua anywhere other than the openLuup/ folder.  Delete the one in /cmh-ludl/.  Then just click the openLuup update button of the Plugins page to ensure that you are using the latest master release.

If you still have problems, I need the startup log and the initial regular log after starting up.  Give it a minute or so after restart.



Did exactly as you said; deleted plugin in cmh-ludl.  upgraded plugin.  reloaded lua.  it still has the ip in it, but doesn't connect.

Logs:


startup

Code: [Select]
X   openLuup   Scheduler   Servers   Logs   Backups
2019-02-16 16:30:56.734   :: openLuup STARTUP :: /etc/cmh-ludl
2019-02-16 16:30:56.734   openLuup.init::        version 2018.03.21  @akbooer
2019-02-16 16:30:56.738   openLuup.scheduler::   version 2018.03.21  @akbooer
2019-02-16 16:30:56.739   openLuup.wsapi::       version 2017.01.12  @akbooer
2019-02-16 16:30:56.739   openLuup.servlet::     version 2018.02.22  @akbooer
2019-02-16 16:30:56.739   openLuup.server::      version 2018.03.22  @akbooer
2019-02-16 16:30:56.741   openLuup.rooms::       version 2016.06.23  @akbooer
2019-02-16 16:30:56.741   openLuup.scenes::      version 2018.02.19  @akbooer
2019-02-16 16:30:56.742   openLuup.chdev::       version 2018.03.18  @akbooer
2019-02-16 16:30:56.742   openLuup.userdata::    version 2018.03.02  @akbooer
2019-02-16 16:30:56.742   openLuup.requests::    version 2018.02.18  @akbooer
2019-02-16 16:30:56.742   openLuup.gateway::     version 2018.03.05  @akbooer
2019-02-16 16:30:56.743   openLuup.smtp::        version 2018.03.20  @akbooer
2019-02-16 16:30:56.744   openLuup.io::          version 2018.03.22  @akbooer
2019-02-16 16:30:56.744   openLuup.luup::        version 2018.03.22  @akbooer
2019-02-16 16:30:56.747   luup.create_device:: [1] D_ZWaveNetwork.xml / I_ZWave.xml /
2019-02-16 16:30:56.748   luup.create_device:: [2] D_openLuup.xml / I_openLuup.xml / D_openLuup.json
2019-02-16 16:30:56.749   openLuup.init:: loading configuration user_data.json
2019-02-16 16:30:56.749   openLuup.userdata:: loading user_data json...
2019-02-16 16:30:56.755   openLuup.userdata:: loading rooms...
2019-02-16 16:30:56.755   openLuup.userdata:: room#1 'MiOS-50XXXXX'
2019-02-16 16:30:56.755   openLuup.userdata:: room#2 'Fountain'
2019-02-16 16:30:56.755   openLuup.userdata:: ...room loading completed
2019-02-16 16:30:56.755   openLuup.userdata:: loading devices...
2019-02-16 16:30:56.756   luup.create_device:: [1] D_ZWaveNetwork.xml / I_ZWave.xml /
2019-02-16 16:30:56.765   luup.create_device:: [3] D_ALTUI.xml / I_ALTUI.xml / D_ALTUI_UI7.json
2019-02-16 16:30:56.766   luup.create_device:: [4] D_AltAppStore.xml / I_AltAppStore.xml / D_AltAppStore.json
2019-02-16 16:30:56.768   luup.create_device:: [7] D_ZWay.xml / I_ZWay.xml / D_ZWay.json
2019-02-16 16:30:56.769   luup.create_device:: [8] D_DataYours.xml / I_DataYours.xml / D_DataYours.json
2019-02-16 16:30:56.772   luup.create_device:: [9] D_Arduino1.xml / I_Arduino1.xml / D_Arduino1.json
2019-02-16 16:30:56.774   luup.create_device:: [10] D_VeraBridge.xml / I_VeraBridge.xml / D_VeraBridge.json
2019-02-16 16:30:56.774   openLuup.userdata:: loading scenes...
2019-02-16 16:30:56.774   openLuup.userdata:: number of scenes = 0
2019-02-16 16:30:56.774   openLuup.userdata:: ...scene loading completed
2019-02-16 16:30:56.774   openLuup.userdata:: loading installed plugin info...
2019-02-16 16:30:56.774   openLuup.userdata:: [openLuup] openLuup (18.3.23)
2019-02-16 16:30:56.774   openLuup.userdata:: [8246] Alternate UI (GitHub.2501)
2019-02-16 16:30:56.774   openLuup.userdata:: [AltAppStore] Alternate App Store (18.2.27)
2019-02-16 16:30:56.774   openLuup.userdata:: [Z-Way] Z-Way (18.7.16)
2019-02-16 16:30:56.774   openLuup.userdata:: [Arduino] MySensors (GitHub.master)
2019-02-16 16:30:56.774   openLuup.userdata:: [8211] DataYours (16.10.4)
2019-02-16 16:30:56.774   openLuup.userdata:: [VeraBridge] VeraBridge (19.1.26)
2019-02-16 16:30:56.774   openLuup.userdata:: ...user_data loading completed
2019-02-16 16:30:56.774   openLuup.init:: running _openLuup_STARTUP_
2019-02-16 16:30:56.774   luup_log:0: startup code completed
2019-02-16 16:30:56.774   openLuup.init:: init phase completed
2019-02-16 16:30:56.774   :: openLuup LOG ROTATION :: (runtime 0.0 days)
 
   
« Last Edit: February 16, 2019, 04:47:32 pm by Drex »

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #21 on: February 16, 2019, 04:52:33 pm »
in regards to fresh install, as reported above, the error moved down a line.... but unable to fresh install (on new virigin built from scratch vm...

I'm so sorry.  You must have taken this from the master branch, which, for some reason, had failed to merge with the development.  Both now should be up to date at version 2019.02.15.

Can you try one more time...?

I'll work on the other issue now.  In future it might help to separate the two issues into separate posts.

Just re-downloaded it (wget), and getting the file from 2/15... same error

vera@veraplus:/etc/cmh-ludl$ ls
openLuup_install.lua
vera@veraplus:/etc/cmh-ludl$ lua5.1 openLuup_install.lua
openLuup_install   2019.02.15   @akbooer
getting openLuup version tar file from GitHub branch master...
lua5.1: openLuup_install.lua:31: GitHub download failed with code latest.tar.gz: Permission denied
stack traceback:
        [C]: in function 'assert'
        openLuup_install.lua:31: in main chunk
        [C]: ?


Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #22 on: February 16, 2019, 05:01:34 pm »
[Just re-downloaded it (wget), and getting the file from 2/15... same error

Not same error.

Was:

lua5.1: openLuup_install.lua:30: GitHub download failed with code tlsv1 alert protocol version

Now:

lua5.1: openLuup_install.lua:31: GitHub download failed with code latest.tar.gz: Permission denied


At least the original problem is solved.

No idea about the permissions, though.
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 Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #23 on: February 16, 2019, 08:55:56 pm »
It worked.

used sudo lua5.1 openLuup-install.lua.

Offline Drex

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: VeraBridge Issues (user error)
« Reply #24 on: February 16, 2019, 10:36:41 pm »
so disregard the logs and stuff.  have a new working virgin vrsion on ubuntu.  thank goodness for Vmware ESXi servers. 

It worked. AltUI registration transferred.  Your install script is working.

-drex

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +291/-70
  • "Less is more"
Re: VeraBridge Issues (user error)
« Reply #25 on: February 17, 2019, 03:59:23 am »
used sudo lua5.1 openLuup-install.lua.

At last!  Good call using sudo, I'll add something to the docs.

So everything OK now.
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.