I do use image builder for creating custom OpenWRT images,
recently with my latest configuration my build fails with implementing the luci
web interface correctly.
I do use argon as a theme and excluded bootstrap theme for saving flash.
That said I do get following error after upgrading the flash with my latest build while I omit the old settings during flash upgrade.
I do not know how to solve this error.
Unable to render any theme header template, last error was: Unable to compile 'themes/null/header' as Lua template:
/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:158: Failed to load template 'themes/null/header'. Error while parsing template '/usr/lib/lua/luci/view/themes/null/header.htm': No such file or directory In error(), file [C] called from function run (/usr/lib/lua/luci/ucodebridge.lua:23) called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:31)
In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 106, byte 62:
called from function [anonymous function] (/usr/share/ucode/luci/runtime.uc:158:65)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:895:3)
called from anonymous function (/www/cgi-bin/luci:39:13)
` vm.get('_G', 'luci', 'ucodebridge', 'compile').call(path);`
Near here ------------------------------------------------------------------^
Since I did not change anything in my image creation script I do wonder maybe image builder somehow got modified, I am wondering whether I could fix that issue
by reintsalling image builder or not.
In addition, I am wondering can this issue is caused by limited /tmp memory size that causes partial incomplete flashing of the router after upgrade.
My image is about 15MB and after copying the image into memory /tmp there will be still 8MB free of ram available (please note I do use zram) and I do not know how the router deal with it.
My previous builds worked fine with image creation, but my recent build fails in spite that I do not change any package for installation, in fact the difference between my recent build which fails and my previous build that works is that I have only added a few files (overall less than 50kb) and none of those files are related to luci or theme and nothing else.
I would be happy any who could assist me to figure out what causes this problem.
Thanks