找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6634|回复: 17

openwrt更换软件源安装了个依赖然后web界面进不去了

[复制链接]
2 币恩山币 回复本帖可获得 1 币恩山币奖励! 每人限 1 次
本帖最后由 a131656 于 2023-4-18 00:15 编辑


不堪折磨,重装来的,此贴终结


20230417 21:20
现在变成这样,网络,ssh啥的都能正常访问,就是面板进不去
Bad Gateway
The process did not produce any response

换了个软件源装了个依赖然后就报这样的问题,web图形界面进不去了,有好心人知道咋解决吗,我不像重装啊

是N1刷的openwrt

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

回帖奖励 +1 币恩山币

试一下装 luci-compat,ssh登入,运行
opkg update
opkg install luci-compat
回复

使用道具 举报

 楼主| | 显示全部楼层
jjit 发表于 2023-4-17 17:00
试一下装 luci-compat,ssh登入,运行
opkg update
opkg install luci-compat

装了,重启了,还是不行
回复

使用道具 举报

 楼主| | 显示全部楼层
500 Internal Server Error /usr/lib/lua/luci/dispatcher.lua:474: Failed to execute function dispatcher target for entry '/'. The called action terminated with an exception: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'sysauth'. A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'. A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/mcat/header'. A runtime error occured: /usr/lib/lua/luci/util.lua:191: module 'luci.xml' not found:         no field package.preload['luci.xml']         no file './luci/xml.lua'         no file '/usr/share/lua/luci/xml.lua'         no file '/usr/share/lua/luci/xml/init.lua'         no file '/usr/lib/lua/luci/xml.lua'         no file '/usr/lib/lua/luci/xml/init.lua'         no file './luci/xml.so'         no file '/usr/lib/lua/luci/xml.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/util.lua:191: in function 'striptags'         [string "/usr/lib/lua/luci/view/themes/mcat/header.h..."]:165: in main chunk stack traceback:         [C]: in function 'error'         /usr/lib/lua/luci/template.lua:97: in function 'render'         /usr/lib/lua/luci/dispatcher.lua:324: in function 'include'         [string "/usr/lib/lua/luci/view/header.htm"]:3: in main chunk stack traceback:         [C]: in function 'error'         /usr/lib/lua/luci/template.lua:97: in function 'render'         /usr/lib/lua/luci/dispatcher.lua:324: in function 'include'         [string "/usr/lib/lua/luci/view/sysauth.htm"]:1: in main chunk stack traceback:         [C]: in function 'error'         /usr/lib/lua/luci/template.lua:97: in function </usr/lib/lua/luci/template.lua:85>         (tail call): ?         (tail call): ?         /usr/lib/lua/luci/dispatcher.lua:701: in function </usr/lib/lua/luci/dispatcher.lua:696> stack traceback:         [C]: in function 'assert'         /usr/lib/lua/luci/dispatcher.lua:474: in function 'dispatch'         /usr/lib/lua/luci/dispatcher.lua:126: in function </usr/lib/lua/luci/dispatcher.lua:125>
回复

使用道具 举报

a131656 发表于 2023-4-17 17:16
装了,重启了,还是不行

装这个包呢 luci-lua-runtime 如果提示没有,手动下载ipk,x86_64改成你的设备芯片架构:
http://mirrors.cloud.tencent.com ... -fa17c15_x86_64.ipk
回复

使用道具 举报

 楼主| | 显示全部楼层
a131656 发表于 2023-4-17 17:16
装了,重启了,还是不行

我是N1刷的op,提示这个
Package opkg (2021-06-13-1bf042dd-4) installed in root is up to date.
Unknown package 'install'.
Unknown package 'luci-lua-runtime'.
Collected errors:
* opkg_install_cmd: Cannot install package install.
* opkg_install_cmd: Cannot install package luci-lua-runtime.
回复

使用道具 举报

回帖奖励 +1 币恩山币

楼主的遭遇令人痛心疾首
回复

使用道具 举报

 楼主| | 显示全部楼层
jjit 发表于 2023-4-17 17:22
装这个包呢 luci-lua-runtime 如果提示没有,手动下载ipk,x86_64改成你的设备芯片架构:
http://mirror ...

大佬现在是显示:
Bad Gateway
The process did not produce any response

就是面板进不去其他的ssh,联网都没问题
回复

使用道具 举报

回帖奖励 +1 币恩山币

ssh下卸载luci,luci-base,luci-compat,uhttpd,uhttpd-mod-lua,luci-app-uhttpd,然后重装这几个软件试试(没试过,可能会更糟,楼主自决)
回复

使用道具 举报

 楼主| | 显示全部楼层
wubozh 发表于 2023-4-17 20:50
ssh下卸载luci,luci-base,luci-compat,uhttpd,uhttpd-mod-lua,luci-app-uhttpd,然后重装这几个软件试试( ...

Bad Gateway
The process did not produce any response
现在变成这样要怎么解决
回复

使用道具 举报

卸载刚才那几个软件包重装,是看是不是这几个web界面要用到的软件包被破坏了。如果卸载重装这几个软件包还有问题,那就不是这几个软件包的问题,要根据出错信息再去查找原因
回复

使用道具 举报

 楼主| | 显示全部楼层
wubozh 发表于 2023-4-17 21:26
卸载刚才那几个软件包重装,是看是不是这几个web界面要用到的软件包被破坏了。如果卸载重装这几个软件包还 ...

好的,我去试试
回复

使用道具 举报

a131656 发表于 2023-4-17 21:26
好的,我去试试

可能有几个包是其他包的依赖,不一定能卸掉,或者强行卸掉,很多包都会出问题,那就不卸,只卸掉能卸掉的包,或者卸不掉的包看能不能直接覆盖安装试试。总之,我也没遇到过这种问题,只是帮你出个主意,也可能是馊主意
回复

使用道具 举报

 楼主| | 显示全部楼层
wubozh 发表于 2023-4-17 21:26
卸载刚才那几个软件包重装,是看是不是这几个web界面要用到的软件包被破坏了。如果卸载重装这几个软件包还 ...

删除luci-base   luci-compat后安装不上了
安装luci-base   luci-compat
提示:
Collected errors:
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/cacheloader.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/ccache.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/config.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/controller/admin/index.lua
        But that file is already provided by package  * luci-mod-admin-full
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/controller/admin/uci.lua
        But that file is already provided by package  * luci-mod-admin-full
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/dispatcher.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/i18n/base.zh-cn.lmo
        But that file is already provided by package  * luci-i18n-base-zh-cn
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/i18n.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/model/uci.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/store.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys/zoneinfo/tzdata.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys/zoneinfo/tzoffset.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys/zoneinfo.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/template/parser.so
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/template.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/version.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/view/empty_node_placeholder.htm
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/view/indexer.htm
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/xml.lua
        But that file is already provided by package  * luci-lua-runtime
* opkg_install_cmd: Cannot install package luci-base.
root@OpenWrt:~# opkg install luci-compat
Installing luci-compat (git-23.093.42303-ef4cd04) to root...
Downloading https://op.supes.top/packages/aa ... 303-ef4cd04_all.ipk
Installing luci-base (git-24.040.56300-01aa7bb) to root...
Downloading https://op.supes.top/packages/aa ... ch64_cortex-a53.ipk
Collected errors:
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/cacheloader.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/ccache.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/config.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/controller/admin/index.lua
        But that file is already provided by package  * luci-mod-admin-full
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/controller/admin/uci.lua
        But that file is already provided by package  * luci-mod-admin-full
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/dispatcher.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/i18n/base.zh-cn.lmo
        But that file is already provided by package  * luci-i18n-base-zh-cn
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/i18n.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/model/uci.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/store.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys/zoneinfo/tzdata.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys/zoneinfo/tzoffset.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys/zoneinfo.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/sys.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/template/parser.so
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/template.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/version.lua
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/view/empty_node_placeholder.htm
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/view/indexer.htm
        But that file is already provided by package  * luci-lua-runtime
* check_data_file_clashes: Package luci-base wants to install file /usr/lib/lua/luci/xml.lua
        But that file is already provided by package  * luci-lua-runtime
* opkg_install_cmd: Cannot install package luci-compat.
回复

使用道具 举报

 楼主| | 显示全部楼层
wubozh 发表于 2023-4-17 21:46
可能有几个包是其他包的依赖,不一定能卸掉,或者强行卸掉,很多包都会出问题,那就不卸,只卸掉能卸掉的 ...

装好变成这个样子了

/usr/lib/lua/luci/controller/mjpg-streamer.lua:8: attempt to call field 'loadc' (a nil value)
stack traceback:
        /usr/lib/lua/luci/controller/mjpg-streamer.lua:8: in function 'v'
        /usr/lib/lua/luci/dispatcher.lua:1269: in function 'createtree'
        /usr/lib/lua/luci/dispatcher.lua:644: in function 'menu_json'
        /usr/lib/lua/luci/dispatcher.lua:893: in function 'dispatch'
        /usr/lib/lua/luci/dispatcher.lua:488: in function </usr/lib/lua/luci/dispatcher.lua:487>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-23 02:05

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表