installed luci-statistics from buildroot, I got the menu entry on top of LUCI page, 'Collectd' - this works correctly, and 'Graphs' - clicking this one gives this error message:
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute template dispatcher target for entry '/admin/statistics/graph'.
The called action terminated with an exception:
/usr/lib/lua/luci/template.lua:81: Failed to load template 'admin_statistics/index'.
Error while parsing template '/usr/lib/lua/luci/view/admin_statistics/index.htm':
Permission denied
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>
that file is mostly empty:
root@OpenWrt:~# ls -l /usr/lib/lua/luci/view/admin_statistics/index.htm
-rwxr-xr-x 1 root root 669 Jul 26 14:07 /usr/lib/lua/luci/view/admin_statistics/index.htm
root@OpenWrt:~#
why is that happening?