[OpenWrt-Devel] Problems with Luci "Flash image" on Chaos Calmer

Sergey Naumov sknaumov at gmail.com
Thu Sep 8 09:24:10 EDT 2016

Hi All.

I've updated my TP-Link Archer C7 v2 router from Barrier Breaker to
Chaos Calmer (cloned git://git.openwrt.org/15.05/openwrt.git, last
commit is 160eb5da2835a99363c8ad37cf63df9d3347f7f3), Luci shows
OpenWrt Chaos Calmer 15.05.1 r49404 / LuCI for-15.05 branch

The image was built by me manually, just like Barrie Breaker one.

Now when I'm trying to upload sysupgrade firmware using Luci, I have
either one or the other of the following errors:
1. URL:;stok=f8e7f11405461b2fdd4743057c333933
Bad Gateway
The process did not produce any response

not enough memory
stack traceback:
/usr/lib/lua/luci/http/protocol.lua:123: in function '__appendval'
/usr/lib/lua/luci/http/protocol.lua:320: in function 'store'
/usr/lib/lua/luci/http/protocol.lua:397: in function 'snk'
/usr/lib/lua/luci/ltn12.lua:300: in function 'step'
/usr/lib/lua/luci/ltn12.lua:309: in function </usr/lib/lua/luci/ltn12.lua:305>
(tail call): ?
(tail call): ?
/usr/lib/lua/luci/http.lua:95: in function '_parse_input'
/usr/lib/lua/luci/http.lua:39: in function </usr/lib/lua/luci/http.lua:37>
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:108: in function 'authen'
/usr/lib/lua/luci/dispatcher.lua:338: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:168: in function

How it could be fixed?

BTW upgrade using CLI (wget + sysupgrade) works well.

The other problem I noticed is too frequent credentials expiration.
Sometimes I need to log in 5 times in a row to be able to see Luci
page like System -> backup / flash firmware or Network -> Wi-Fi. Is it
a known issue with fix available?

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list