Closed kilofox closed 1 year ago
Did you install this shared package at the same time?
Yes, the shared package has been installed. The fw4 package depends on it.
Please check if this file exists and its content is same as following:
root@OpenWrt:/usr/share/rpcd/acl.d# cat luci-app-xray.json
{
"luci-app-xray": {
"description": "Grant access to xray configurations",
"read": {
"uci": [
"xray_fw4"
]
},
"write": {
"uci": [
"xray_fw4"
]
}
}
}
Yes, this file does exist. Files in this directory:
-rw-r--r-- 1 root root 411 Apr 30 05:47 luci-app-firewall.json
-rw-r--r-- 1 root root 774 Apr 3 20:08 luci-app-opkg.json
-rw-r--r-- 1 root root 276 Apr 17 15:41 luci-app-xray.json
-rw-r--r-- 1 root root 946 Apr 30 06:28 luci-base.json
-rw-r--r-- 1 root root 1870 Apr 29 04:44 luci-mod-network.json
-rw-r--r-- 1 root root 1073 Apr 3 19:46 luci-mod-status-index.json
-rw-r--r-- 1 root root 2064 Apr 3 19:46 luci-mod-status.json
-rw-r--r-- 1 root root 4441 Apr 29 05:53 luci-mod-system.json
-rw-r--r-- 1 root root 179 Jan 3 08:24 unauthenticated.json
That is weird. Could you find the actual failed ubus request with Chrome DevTools?
Uh oh! The page /cgi-bin/luci/admin/services/xray_fw4 is normal now. It works. I didn't do any operation at all. The "Enable Transparent Proxy" option is checked, which may from the old version. Maybe this is the reason.
I found some HTML errors.
I found some HTML errors.
That's a problem for LuCI, not this project and that field does not need any autofilling
Environments:
It seems there occurred some errors while installing luci-app-xray-fw4_2.0.0-1_all.ipk.
The submenu of Xray (firewall4) appeared after installation. But it shows an RPCError on the page /cgi-bin/luci/admin/services/xray_fw4:
Here are the full installation logs:
Executing package manager
Errors
Could you give me some advice on how to resolve this issue?