Comments (14)
I had same error, but with Argon theme config. But since this issue appeared first on Google , maybe this can help someone.
Solved by jerrykuku/luci-theme-argon#151 (comment), the solution is to install luci-lib-ipkg
. Eg: opkg install luci-lib-ipkg
from luci-wrtbwmon.
Can you please provide more details?
What version of OpenWRT are you using?
When you say versions later than 6.0
, do you mean version 0.6.0
of this luci-wrtbwmon
?
Can you provide a screenshot of the loading
screen?
Is it possible to provide a copy of the logs in the console
tab in your browser (if there are any)?
Thanks in advance!
from luci-wrtbwmon.
I'm using the latest snapshot of OpenWRT, and yes 0.6.0 of luci-wrtbwmon, its just the loading screen that pops up normally right before the table is displayed. Unfortunately it was at a friends house that I had the problem, I have a similar router at home though and I'll see if I can reproduce the issue on it.
from luci-wrtbwmon.
Can you please provide more details?
What version of OpenWRT are you using?
When you say versions later than6.0
, do you mean version0.6.0
of thisluci-wrtbwmon
?
Can you provide a screenshot of theloading
screen?
Is it possible to provide a copy of the logs in theconsole
tab in your browser (if there are any)?Thanks in advance!
in console: 500 error here usage/check_dependency:1
and when I open /cgi-bin/luci/admin/network/usage/check_dependency
Failed to execute call dispatcher target for entry '/admin/network/usage/check_dependency'.
The called action terminated with an exception:
/usr/lib/lua/luci/controller/wrtbwmon.lua:24: module 'luci.model.ipkg' not found:
no field package.preload['luci.model.ipkg']
no file './luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg/init.lua'
no file '/usr/lib/lua/luci/model/ipkg.lua'
no file '/usr/lib/lua/luci/model/ipkg/init.lua'
no file './luci/model/ipkg.so'
no file '/usr/lib/lua/luci/model/ipkg.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/lib/lua/luci/controller/wrtbwmon.lua:24: in function </usr/lib/lua/luci/controller/wrtbwmon.lua:22>
(tail call): ?
from luci-wrtbwmon.
Thanks @Virr for the details. I couldn't reproduce it myself but I pushed a fix nonetheless.
Can you try release v0.8.3?
from luci-wrtbwmon.
Unfortunately, exactly the same.
I did
opkg install /tmp/luci-wrtbwmon_v0.8.3_all.ipk
Upgrading luci-wrtbwmon on root from 0.8.2 to v0.8.3...
Configuring luci-wrtbwmon
then
rm /tmp/luci-indexcache
but nothing changed
from luci-wrtbwmon.
Try running this as well to make sure the cache is completely clear:
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache
Can you tell me which version of OpenWRT are you using?
Also, can you provide the output of the following command?
opkg list-installed
from luci-wrtbwmon.
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache
after this command it works. Great! Thanks!
from luci-wrtbwmon.
But I still cannot reproduce it with a clean image of OpenWRT 18.06.2
Can you answer my questions so that I can figure out the source of the problem?
Can you tell me which version of OpenWRT are you using?
Also, can you provide the output of the following command?
opkg list-installed
from luci-wrtbwmon.
trying to install but getting below error
root@myrouter:# opkg install luci-wrtbwmon_v0.8.3_all.ipk#
ERROR: Dependency wrtbwmon of package luci-wrtbwmon cannot be found, try updating your package lists
root@myrouter:
from luci-wrtbwmon.
you can remove ipkg = require "luci.model.ipkg"
in the xx.lua, then make again. I guess it's because the luci version is different.
from luci-wrtbwmon.
I ran into a similar module 'luci.model.ipkg' not found
error. Mine was for luci-ddns, not luci-wrtbwmon, so it may be completely unrelated. My issue was that I use USB storage for an extroot overlay and when I upgraded OpenWRT the USB storage carried along some stale luci modules/config. I fixed it by deleting /usr/lib/lua/luci/ from the USB storage and then re-copying it from the "fresh" jffs partition. Just a possible explanation if @Virr is also using an external overlay.
from luci-wrtbwmon.
I had same error, but with Argon theme config. But since this issue appeared first on Google , maybe this can help someone.
Solved by jerrykuku/luci-theme-argon#151 (comment), the solution is to install
luci-lib-ipkg
. Eg:opkg install luci-lib-ipkg
Thank you bro ~
from luci-wrtbwmon.
For me this happened when I tried to remove the luci-app-ntpc and ntpclient package. I wanted to replace it with ntpd instead. When you remove the packages you get the error, put them back and it works again. Repeatable.
from luci-wrtbwmon.
Related Issues (20)
- Add option to keep track monthly HOT 4
- realtime and totals do not match real life HOT 1
- Openwrt 18.06 bootstrap theme squished table HOT 8
- add traffic running from router to list
- Always saying "Form token mismatch" when submit custom user file
- IP address change not detected until update
- Not found in openwrt repo
- when I Software flow offloading enabled ,i'm getting 0 download kbps using openwrt 18.06.2 Netgear r7800
- LUCI menu entry missing HOT 1
- Failed to install HOT 1
- speed not working HOT 1
- Problems...
- install of luci_wrtbwmon fails HOT 1
- Custom location for usage.db
- Display current data - not aggregate
- cannot link the mac addresses with hostname
- help me
- Can i get a Video record for installation process? Please!
- 如果能同时显示 ipv6 和ipv4 流量就好了 以mac 分组
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from luci-wrtbwmon.