Securifi Community Forum

Securifi Products => Almond+ => Topic started by: revoman on February 14, 2015, 12:07:20 pm

Title: R070 Error Saving Lan Settings
Post by: revoman on February 14, 2015, 12:07:20 pm
I wanted to add some Static DHCP Leases on my network, after adding the first one I was prompted by a popup to click "Save".  So I did.  Here is the error I received:

Code: [Select]
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/network/lan_save'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/lan_save.lua:252: attempt to concatenate local 'cur_dns' (a table value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:206: in function </usr/lib/lua/luci/dispatcher.lua:205>
Title: Re: R070 Error Saving Lan Settings
Post by: LGNilsson on February 16, 2015, 04:07:46 am
Not sure what's going on, it worked just fine for me just now when I did it.
It looks like something failed to save. Have you tried rebooting and then adding the static lease again?
Title: Re: R070 Error Saving Lan Settings
Post by: revoman on February 26, 2015, 10:29:50 pm
Yes.  I removed the static leases, rebooted my router, gone through every page in OpenWRT looking for a configuration error.  Still the same error. 

I have no static leases at this point and when I hit "Save" I get this error.

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/network/lan_save'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/lan_save.lua:252: attempt to concatenate local 'cur_dns' (a table value)
stack traceback:
   [C]: in function 'assert'
   /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
   /usr/lib/lua/luci/dispatcher.lua:206: in function </usr/lib/lua/luci/dispatcher.lua:205>


Where is 'cur_dns' coming from and why is it trying to "concatenate"? 

Title: Re: R070 Error Saving Lan Settings
Post by: revoman on February 26, 2015, 11:15:37 pm
Here is some additional information.  I had the original firmware until a few weeks ago, when I used the interface to update automagically. 
I made a backup of my system tonight, and re-applied the latest firmware (R070) and still had the save error on the LAN Settings page. 

So I backed up my settings, and did a "Reset".  First thing I tried was a "Save" on the LAN Settings page.  Success, it worked.  I then restored my settings backup, and when I tried to save from the LAN Settings page I would get the lua error.   

Back to square one.  I performed a "Reset", and then manually configured all the pages.  Everything is working great, and I can save without problems on the LAN Settings page. 

If it would help I could privately share my settings backup. 
Title: Re: R070 Error Saving Lan Settings
Post by: LGNilsson on March 19, 2015, 03:53:41 am
My guess is that too many things have changed since the initial firmware was released that restoring settings from 5-6 months ago, is no longer a workable option.
I know it's frustrating to restore all the settings manually, but we've made a lot of changes to the firmware since then and I guess something that was changed is causing these problems.