Open SvenRoederer opened 4 years ago
did a bit digging today ... found that removing the code which drops the privileges (https://github.com/freifunk/openwrt-packages/blob/47b9025041666454f94dc66208ea39e796d38f9b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua#L21) makes to code run.
So it seems to be a permission problem ...
With recent LuCI (master branch; somewhere before https://github.com/openwrt/luci/commit/09a3b4730a769c43067ff1fb3e4aad339271fbc3) Luci throws an error when clicking on the "Freifunk" button. The button on the page-bottom, beside the "Administration" button.
Seen with 05760f09e294caee423613ab681ce10d48629a19. Calling http:///cgi-bin/luci/ works fine, calling http:///cgi-bin/luci/freifunk fails.