Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译后总是进不去luci? #20

Open
Kevin19941121 opened this issue May 31, 2020 · 4 comments
Open

编译后总是进不去luci? #20

Kevin19941121 opened this issue May 31, 2020 · 4 comments

Comments

@Kevin19941121
Copy link

每当输入路由器密码 便弹出
/usr/lib/lua/luci/template.lua:55: Failed to execute template 'admin_status/index'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:4: module 'luci.tools.status' not found:
no field package.preload['luci.tools.status']
no file './luci/tools/status.lua'
no file '/usr/share/lua/luci/tools/status.lua'
no file '/usr/share/lua/luci/tools/status/init.lua'
no file '/usr/lib/lua/luci/tools/status.lua'
no file '/usr/lib/lua/luci/tools/status/init.lua'
no file './luci/tools/status.so'
no file '/usr/lib/lua/luci/tools/status.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'
[string "/usr/lib/lua/luci/view/admin_status/index.h..."]:4: in main chunk
stack traceback:
[C]: in function 'n'
/usr/lib/lua/luci/template.lua:55: in function </usr/lib/lua/luci/template.lua:47>
(tail call): ?
/usr/lib/lua/luci/dispatcher.lua:843: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:815: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:411: in function </usr/lib/lua/luci/dispatcher.lua:410>

编译时已经尽量按照版主的话操作
1
2
3
4
5
6
7
8
现在正在编译 不知道还会不会报错 以上是我在编译时做的修改
尽量没有添加其他功能
现在怀疑是我的编译环境问题导致
我编译时用的是版主yml文件中的
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
不知道还少了写什么?
用的是vultr vps 18.04

@iyuangang
Copy link
Owner

iyuangang commented May 31, 2020

图片
先在tty 输入 vi /etc/config/network 配置好openwrt 的网关,IP 及DNS。能上网后,在tty 输入 opkg updateopkg install luci-mod-status。还缺什么,就继续install

@Kevin19941121
Copy link
Author

图片

先在tty 输入 vi /etc/config/network 配置好openwrt 的网关,IP 及DNS。能上网后,在tty 输入 opkg updateopkg install luci-mod-status。还缺什么,就继续install

一般您编译 用的是什么编译环境 我想对比一下?

@Kevin19941121
Copy link
Author

图片

先在tty 输入 vi /etc/config/network 配置好openwrt 的网关,IP 及DNS。能上网后,在tty 输入 opkg updateopkg install luci-mod-status。还缺什么,就继续install

已经编译成功
进了luci
编译时 luci里面collection里面 选择luci base
之后下面三行资源里的第一行不要选

@Kevin19941121
Copy link
Author

图片
先在tty 输入 vi /etc/config/network 配置好openwrt 的网关,IP 及DNS。能上网后,在tty 输入 opkg updateopkg install luci-mod-status。还缺什么,就继续install

已经编译成功
进了luci
编译时 luci里面collection里面 选择luci base
之后下面三行资源里的第一行不要选

截图
补充说明 为了方便网友编译 多次实验证明这一行不选 能增加编译成功几率

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants