mirror of
https://github.com/brvphoenix/luci-app-wrtbwmon.git
synced 2026-04-27 09:15:52 +03:00
[GH-ISSUE #8] Usage feature failed after install 2.0 #8
Labels
No labels
Can't reproduce
WaitingInfo
bug
compatibility
duplicate
invalid
no-issue-activity
not a bug
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-wrtbwmon-brvphoenix#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @assofour on GitHub (Mar 5, 2020).
Original GitHub issue: https://github.com/brvphoenix/luci-app-wrtbwmon/issues/8
I compiled openwrt with original like 1.0.7. It doesn't work well. So I removed it and install the luci-app-wrtbwmon_2.0.0-2_all.ipk. The Usage menu showed up, but after click, the below error came up
I downgrade the package to 1.6.3, I could see the page but it didn't work completely and style is messy.
The wrtbwmon version is 0.8.3. Openwrt kernel version is 4.19.106.
@brvphoenix commented on GitHub (Mar 7, 2020):
You may need to download the current ipk from this url.
The current release with version 2.0.0-2 has no file 'wrtbwmon.htm'. If you have installed this version, you can try to clear the LuCI's cache by removing the '/tmp/luci-modulecache/' and '/tmp/luci-indexcache'.
@assofour commented on GitHub (Mar 16, 2020):
Thanks. I removed all old version.Installed wrtbwmon 0.3.6 and latest version luci-app from the url you mentioned above.
Seems everything was going very well. Before that I did remove everything under the '/tmp/luci-modulecache/' and '/tmp/luci-indexcache'. Finally restart uhttpd. The result is the 'Usage' Menu gone under 'Bandwidth Monitor' and I can't find it in any menus.
So please help, it is really wired.
@brvphoenix commented on GitHub (Mar 16, 2020):
@assofour
Firstly, you should use the wrtbwmon from my repo. I have modified the wrtbwmon's database which will make it incompatiable to the origin one from pyrovski.
Secondly, the LuCI page for wrtbwmon in my repo is under the menu 'Network' for now, which may be different from other‘s.
@assofour commented on GitHub (Mar 16, 2020):
I tried to do as following steps:
After back to web, ever homepage couldn't be load, eveything's gone with the below error
/usr/lib/lua/luci/controller/wrtbwmon.lua:12: attempt to call global 'view' (a nil value)
stack traceback:
/usr/lib/lua/luci/controller/wrtbwmon.lua:12: in function 't'
/usr/lib/lua/luci/dispatcher.lua:465: in function 'createtree'
/usr/lib/lua/luci/dispatcher.lua:188: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:95: in function </usr/lib/lua/luci/dispatcher.lua:94>
After panic and opkg remove luci-app-wrtbwmon, no change. and opkg remove wrtbwmon, it is back to normal.
any ideas? Thanks!
@brvphoenix commented on GitHub (Mar 16, 2020):
@assofour
Whether do you get the OpenWrt from the official site with branch 19.07 or branch master?
If you have used the non-official OpenWrt which may not be fully compatible to render by client side, you should use the release-1.6.3.
@assofour commented on GitHub (Mar 16, 2020):
@brvphoenix I used all source from official site to compile the system.
Unlucky, neither 2.0.0 nor 1.6.3, they brought to same result.
@brvphoenix commented on GitHub (Mar 16, 2020):
@assofour
Test the version from here https://github.com/brvphoenix/luci-app-wrtbwmon/issues/6#issuecomment-581029979. Someone else have used with no other issues.
@assofour commented on GitHub (Mar 16, 2020):
@brvphoenix
Tried the version. Error message changed a bit, wrtbwmon.lua: 11, the above was 12.
@assofour commented on GitHub (Mar 16, 2020):
@brvphoenix
New finding, I tried to use web instead CLI to install packages, the amazing thing is installation went without problem. I can see the 'Traffic Status' under 'Network' now. The new problem is the 'details' page layout is messy and with no any data (1.6.3 & 2.0.0).
When I click the 'Configuration', 1.6.3 is okay.
2.0.0 reports error again:
2.0.1 reports:
hope this helps locate the problem...
@brvphoenix commented on GitHub (Mar 16, 2020):
@assofour
It seems like that the cache is not cleared. I'm not very sure.
The first one is that the file 'usr/lib/lua/luci/view/wrtbwmon.htm' can't be found, which you can use winscp or other ssh client to verify whether that file exists.
The second one miss the file '/www/luci-static/resources/view/wrtbwmon/config.js'.
Besides, the 'arcombine' is not used in 2.00-2.
In fact, I have verified that it works well for both the official release 19.07.0 and the 18.06.x. Perhaps you can provide more details.
@assofour commented on GitHub (Mar 17, 2020):
@brvphoenix I will try to adopt official version instead of self-compiled, seems latter one is with too many unexpectable issues.
@github-actions[bot] commented on GitHub (Sep 4, 2020):
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days