Closed initramfs closed 6 years ago
Can't reproduce that, please post the output of ...
ls -la /etc/config/luci
grep "main" /etc/config/luci
opkg list-installed luci*
This can also mean that LuCI is unable to query uci data via ubus. It is likely caused by enabling uci session isolation.
Please provide the output of ls -l /usr/share/rpcd/acl.d/
and ls -l /usr/share/acl.d/
ls -la /etc/config/luci:
-rw------- 1 root root 1078 May 18 22:33 /etc/config/luci
The config file itself (autogenerated):
config core 'main'
option lang 'auto'
option resourcebase '/luci-static/resources'
option mediaurlbase '/luci-static/openwrt.org'
config extern 'flash_keep'
option uci '/etc/config/'
option dropbear '/etc/dropbear/'
option openvpn '/etc/openvpn/'
option passwd '/etc/passwd'
option opkg '/etc/opkg.conf'
option firewall '/etc/firewall.user'
option uploads '/lib/uci/upload/'
config internal 'languages'
config internal 'sauth'
option sessionpath '/tmp/luci-sessions'
option sessiontime '3600'
config internal 'ccache'
option enable '1'
config internal 'themes'
option Bootstrap '/luci-static/bootstrap'
option OpenWrt '/luci-static/openwrt.org'
config internal 'apply'
option rollback '30'
option holdoff '4'
option timeout '5'
option display '1.5'
config internal 'diag'
option dns 'lede-project.org'
option ping 'lede-project.org'
option route 'lede-project.org'
ls -l /usr/share/rpcd/acl.d/
-rw-r--r-- 1 root root 159 May 5 03:44 luci-base.json
-rw-r--r-- 1 root root 179 May 5 03:44 unauthenticated.json
ls -l /usr/share/acl.d/
-rw-r--r-- 1 root root 50 May 5 03:44 dnsmasq_acl.json
-rw-r--r-- 1 root root 91 May 5 03:44 luci-base.json
Note: I forgot to mention but this manifests as a regression for me, downgrading to a previous build with the same config files works just fine.
Okay I can confirm that 9ed48ef fixed the regression.
I cant confirm
root@OpenWrt:~# ls -la /etc/config/luci
-rw-r--r-- 1 root root 742 Dec 26 22:29 /etc/config/luci
root@OpenWrt:~# grep "main" /etc/config/luci
config core 'main'
root@OpenWrt:~# opkg list-installed luci*
luci - git-18.210.69179-6df9a57-1
luci-app-firewall - git-18.210.69179-6df9a57-1
luci-base - git-18.210.69179-6df9a57-1
luci-lib-ip - git-18.210.69179-6df9a57-1
luci-lib-jsonc - git-18.210.69179-6df9a57-1
luci-lib-nixio - git-18.210.69179-6df9a57-1
luci-mod-admin-full - git-18.210.69179-6df9a57-1
luci-proto-ipv6 - git-18.210.69179-6df9a57-1
luci-proto-ppp - git-18.210.69179-6df9a57-1
luci-theme-bootstrap - git-18.210.69179-6df9a57-1
root@OpenWrt:~# ls -l /usr/share/rpcd/acl.d
-rw-r--r-- 1 root root 159 Jul 30 16:25 luci-base.json
-rw-r--r-- 1 root root 179 Jul 30 16:25 unauthenticated.json
root@OpenWrt:~# ls -l /usr/share/acl.d/
-rw-r--r-- 1 root root 50 Jul 30 16:25 dnsmasq_acl.json
-rw-r--r-- 1 root root 91 Jul 30 16:25 luci-base.json
root@OpenWrt:~# cat /etc/config/luci
config core 'main'
option lang 'auto'
option mediaurlbase '/luci-static/bootstrap'
option resourcebase '/luci-static/resources'
config extern 'flash_keep'
option uci '/etc/config/'
option dropbear '/etc/dropbear/'
option openvpn '/etc/openvpn/'
option passwd '/etc/passwd'
option opkg '/etc/opkg.conf'
option firewall '/etc/firewall.user'
option uploads '/lib/uci/upload/'
config internal 'languages'
config internal 'sauth'
option sessionpath '/tmp/luci-sessions'
option sessiontime '3600'
config internal 'ccache'
option enable '1'
config internal 'themes'
option Bootstrap '/luci-static/bootstrap'
config internal 'diag'
option dns 'lede-project.org'
option ping 'lede-project.org'
option route 'lede-project.org'
root@OpenWrt:~#
note: the server is lighttpd and configured as in this instruction: http://ainopara.github.io/openwrt-webdav.html
note: the server is lighttpd
and configured as in this instruction:
http://ainopara.github.io/openwrt-webdav.html
> > 路由器系统:OpenWrt Barrier Breaker 14.07正式版
Note that you are following an ancient guide written for the year 2014 version of Openwrt & LuCI.
Upon using and installing the latest version of LuCI the web interface does not load, yielding this error message:
This is irrespective of the actual luci configuration file used (/etc/config/luci), including the default auto-generated config.