Lua error when selecting system on the webinterface

I get following error when clicking on the system link in the web interface and it seems that the heartbeat isn't working any longer either.

I noticed there is an update for the firmware is it possible to upgrade the device manually?

below the error

  1. /usr/lib/lua/luci/cbi.lua:338: Unable to read UCI data: system
  2. stack traceback:
  3.         [C]: in function 'error'
  4.         /usr/lib/lua/luci/cbi.lua:338: in function '__init__'
  5.         /usr/lib/lua/luci/util.lua:70: in function 'Map'
  6.         /usr/lib/lua/luci/model/cbi/mini/system.lua:21: in function 'func'
  7.         /usr/lib/lua/luci/cbi.lua:91: in function 'load'
  8.         /usr/lib/lua/luci/dispatcher.lua:663: in function 'target'
  9.         /usr/lib/lua/luci/dispatcher.lua:363: in function 'dispatch'
  10.         /usr/lib/lua/luci/dispatcher.lua:129: in function </usr/lib/lua/luci/dispatcher.lua:128>

and the last part from the syslog
  1. Mar 14 10:21:40 flukso-d4533b user.info sysinit: sh: 1: unknown operand
  2. Mar 14 10:21:40 flukso-d4533b user.info sysinit: Daemon returned 0 as return value.
  3. Mar 14 10:21:40 flukso-d4533b daemon.info spid[1003]: Sucessfully started with DEAMON=spid and DAEMON_PATH=/var/run/spid
  4. Mar 14 10:21:40 flukso-d4533b user.info sysinit: Daemon returned 0 as return value.
  5. Mar 14 10:21:40 flukso-d4533b daemon.info fluksod[1006]: Sucessfully started with DEAMON=fluksod and DAEMON_PATH=/var/run/fluksod
  6. Mar 14 10:21:40 flukso-d4533b user.info sysinit: uci: Parse error (unterminated ') at line 3, byte 23
  7. Mar 14 10:21:40 flukso-d4533b user.info sysinit: sh: 1: unknown operand
  8. Mar 14 10:21:46 flukso-d4533b user.err heartbeat[1009]: POST <a href="https://api.flukso.net/device/0123456789abcdef0123456789abcdef:" title="https://api.flukso.net/device/0123456789abcdef0123456789abcdef:">https://api.flukso.net/device/0123456789abcdef0123456789abcdef:</a> 401
  9. Mar 14 10:21:46 flukso-d4533b user.err heartbeat[1009]: WWW-Authenticate: No proper provisioning for this device

jupike's picture

bump

Is it possible to reset the device to firmware defaults in some way. Or to update the firmware manual?

I would like to have it back in a working order.

icarus75's picture

Restoring the default firmware settings is quite straightforward if you can ssh into the device. Just run following command and wait until the heartbeat LED starts flashing again. Then re-configure your network and sensor settings.

  1. root@flukso-9caf78:~$ mtd -r erase rootfs_data

If you do not know how to ssh into the FLM, then you'll have to re-flash the device. See my Feb 8 comment on forum post [1].

[1] https://flukso.net/content/no-ip-connect

HTH,
Bart.

jupike's picture

Thanks works like a charm now :)
reset of the firmware did the trick :)