I’m having issues on a Raspberry Pi running the latest builds on Raspian Stretch.
Raspberry Pi 2 (and 3 is the same)
Raspian Stretch - latest image
update and install pre-reqs (Linux_Aptitude form post on openLuup turnkey images up to the point where openLuup is loaded)
install openLuup as per the ‘openLuup User Guide’
Setup to start openLuup at boot (/etc/rc.local)
Reboot, AltUI starts witth no problems.
Install VeraBridge, Set ip address of Vera and restart Luup, devices are successfully loaded from the vera.
In VeraBridge, in Actions, load files from vera, wait for log to indicate all files loaded.
Activity in the log indicates devices being updated, AltUI web interface still working fine.
Reload Luup Engine - Error in log:
2017-12-09 16:44:24.105 openLuup.luup:0: device 0 ‘system’ requesting reload
2017-12-09 16:44:24.105 luup.reload:0: saving user_data
2017-12-09 16:44:24.504 openLuup.luup:0: exiting with code 42 - after 0.0 hours
Web interface to AltUI still working.
Ctl-F5 to reload web.
Web interface now shows
This site can?t be reached
vera2.xxxxxxxx.xxxxxxx refused to connect.
Search Google for vera2 xxxxxx xxxx 3480 data request
ERR_CONNECTION_REFUSED
On the pi console I get the following:
device 0 ‘system’ requesting reload
rc.local[431]: lua5.1: ./openLuup/userdata.lua:600 attempt to index local ‘dev’ (a nil value)
rc.local[431]: stack traceback:
rc.local[431]: ./openLuup/userdata.lua:600: in function ‘load’
rc.local[431]: openLuup/init.lua:189 in main chunk
rc.local[431]: [C]: ?
Have also tried this on Ubuntu 17 on a laptop with the same results.
Have also posted under Alternate UI to U17 as “Problems after 2245 update” but amg0 unable to help
The status 42 is a final shutdown from the openLuup system, so it’s expected that you would receive no response after that. WHY it has done that is not clear to me from your information.
It would be helpful to get a log, which will have useful diagnostic information in it. Could you also confirm the actual version that you are running?
I will now download the files from the development branch and let you know.
Peter.
Update. Downloaded all the files in development branch (29 files all .lua) and overwrote the files in my cmh-ludl/openLuup folder.
Rebooted
Error on console:
rc.local[424]: lua5.1: openLuup/init.lua:7 unexpected symbol near ‘<’
No new LuaUPnP.log or LuaUPnP_startup.log
init.lua has on the 7th line
lines 1 to 6 are empty.
Yes, my unfamiliarity with GitHub and to some extent Linux.
Have downloaded the files again and verified them Following on console on reboot:
rc.local[434]: lua5.1: ./openLuup/userdata.lua:604: attempt to index local ‘dev’ (a nil value)
rc.local[434]: stack traceback:
rc.local[434]: ./openLuup/userdata.lua:604: in function ‘load’
rc.local[434]: openLuup/init.lua:200 in main chunk
rc.local[434]: [C]: ?
Hi,
The device was a ‘Huawei Home Gateway’, my internet router. This had also spawned several other devices such as a ‘WAN device’ and a ‘LAN device’.
I could only find these devices by using Event Watcher on the Vera, as they were not showing in the device list.
I have disabled UPnP scanning and have deleted all of these devices using web requests.
Just rebuilding the openLuup system at the moment and will let you know what happens.
Peter.
Update: now rebuilt and all is running:
RaspberryPi Stretch
openLuup 17.11.14
AltUI 2.06.2267