#17309: Luci Meta Package Misconfigured with Theme
--------------------------+-----------------------------------
  Reporter:  johnllyon@…  |      Owner:  developers
      Type:  defect       |     Status:  reopened
  Priority:  normal       |  Milestone:
 Component:  packages     |    Version:  Barrier Breaker 14.07
Resolution:               |   Keywords:
--------------------------+-----------------------------------

Comment (by hnyman):

 The theme is not included in the main default config file. Instead, it is
 added via a uci-defaults script, which makes it vulnerable in some
 scenarios:
 * firmware upgrade scenarios that include restoring settings from backup
 after reboot.
 * You manually install luci, start uhttpd, but do NOT reboot the router,
 so nothings runs the uci-defaults script. Installed default config
 includes no theme, yet, so Luci hangsto that assertation. Reboot will help
 as the uci-defaults should then run once and theme will get inserted into
 the config. (Sounds like this happened to op.)

 Uci-defaults script is located at the theme:
 http://luci.subsignal.org/trac/browser/luci/trunk/themes/bootstrap/root/etc
 /uci-defaults/luci-theme-bootstrap

 I wrote a Luci ticket about this ~10 months ago after having been locked
 out of my Luci GUI due to this issue.
 http://luci.subsignal.org/trac/ticket/618

 Regarding forthcoming BB release, I think it would be better to have the
 current default theme included in the default config. That would ease
 upgrading from older versions.

--
Ticket URL: <https://dev.openwrt.org/ticket/17309#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to