As I never include LuCi in official openwrt custom build, I can not help here. But you might ask in the openwrt forum. As you might have run into a bug. My custom build official openwrt for the 300N-v2 works well without LuCi.