luci-app-serverchan icon indicating copy to clipboard operation
luci-app-serverchan copied to clipboard

在wrt 24版本中使用opkg安装后在服务中未展示

Open darth-j opened this issue 11 months ago • 18 comments

您使用的版本? | Your usage version?

bleachwrt mod 20250328 @ R25.3.15 / LuCI Master (git-25.037.29332-6113678)

Image

您使用的场景? | Your usage scenarios?

安装场景

您遇到了什么问题? | What are your problems?

安装后服务列表中没有展示

Image

您期望的结果是怎样的? | What is your expected outcome?

darth-j avatar Apr 03 '25 01:04 darth-j

这似乎是另一个分支,甚至严格说根本不是这个项目

GOUKI9999 avatar Apr 03 '25 05:04 GOUKI9999

据作者描述,基于L大作为上游改的 https://www.right.com.cn/forum/thread-8379747-1-1.html(不好意思大佬在这块我比较菜,轻喷)

darth-j avatar Apr 03 '25 06:04 darth-j

这似乎是另一个分支,甚至严格说根本不是这个项目

不是,这是 openwrt 的 luci 版本比较旧,不支持 js 版本

tty228 avatar Apr 03 '25 15:04 tty228

这个软件不支持apk的OpenWrt吗? 最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

try496 avatar Apr 05 '25 06:04 try496

这个软件不支持apk的OpenWrt吗? 最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

tty228 avatar Apr 08 '25 03:04 tty228

这个软件不支持apk的OpenWrt吗? 最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

[ERROR] 网络错误或 URL 错误,推送失败,curl 返回值为 127 就是无法使用用的自定义推送 在OpenWrt24.10正常 最新快照无法使用

root@OpenWrt:~# curl --version curl 8.12.1 (aarch64-openwrt-linux-gnu)1 ibcurl/8.12.1 OpenSSL/3.0.16 nghttp2/1.63 2025-02-13 Protocols:file ftp ftps http ht tps ipfs ipns mqtt Features: alt-svC HSTS HTTP2 HTTPS-proxy IPv6 Largefile SSL threadsafe UnixSockets

try496 avatar Apr 08 '25 03:04 try496

这似乎是另一个分支,甚至严格说根本不是这个项目

不是,这是 openwrt 的 luci 版本比较旧,不支持 js 版本

所以大佬,这个需要Luci的最低版本是多少哇,我看看怎样手动更新一下

darth-j avatar Apr 08 '25 06:04 darth-j

这似乎是另一个分支,甚至严格说根本不是这个项目

不是,这是 openwrt 的 luci 版本比较旧,不支持 js 版本

所以大佬,这个需要Luci的最低版本是多少哇,我看看怎样手动更新一下

luci 的更新通常只能通过重新编译完成,因为懒得同时维护多个版本,v2.06.2 之后的版本不再支持 LuCI 18.06 ~~虽然我知道 LUA 版本有点影响运行的 bug 存在,但其实也就是个界面而已,不需要频繁改动设置的话,只用脚本也不是不能运行~~ LUA 版本的设置项不能堆叠,选项的说明也不能嵌入按钮中,虽然分割了好几个选项卡,大量选项+说明文字,看着就蛋疼

https://github.com/tty228/luci-app-wechatpush/issues/225

tty228 avatar Apr 08 '25 15:04 tty228

这个软件不支持apk的OpenWrt吗? 最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

大佬,我换成了标准openwrt最新版本,使用apk安装失败 apk add luci-* ERROR: luci-app-wechatpush_3.6.8_all.ipk: UNTRUSTED signature

apk add --allow-untrusted luci-app-wechatpush_3.6.8_all.ipk ERROR: luci-app-wechatpush_3.6.8_all.ipk: v2 package format error

darth-j avatar Apr 10 '25 15:04 darth-j

这个软件不支持apk的OpenWrt吗? 最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

大佬,我换成了标准openwrt最新版本,使用apk安装失败 apk add luci-* ERROR: luci-app-wechatpush_3.6.8_all.ipk: UNTRUSTED signature

apk add --allow-untrusted luci-app-wechatpush_3.6.8_all.ipk ERROR: luci-app-wechatpush_3.6.8_all.ipk: v2 package format error

使用官方或者 immortalwrt 的发行版(releases),apk 的需要自己编译

tty228 avatar Apr 12 '25 01:04 tty228

这个软件不支持apk的OpenWrt吗? 最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

大佬,我换成了标准openwrt最新版本,使用apk安装失败 apk add luci-* 错误:luci-app-wechatpush_3.6.8_all.ipk:不受信任的签名 apk add --allow-untrusted luci-app-wechatpush_3.6.8_all.ipk 错误:luci-app-wechatpush_3.6.8_all.ipk:v2 包格式错误

使用官方或者 immortalwrt 的发行版(releases),apk 的需要自己编译

同样的自定义接口在最新报以下错误root@OpenWrt:~# curl -X POST -H "Content-Type:application/x-www-form-urlencode d" -d "@/tmp/wechatpush/debug_send_data" "http:/192.168.2.41:3000/push/root" {"message":"请求体为空,如果使用 JSON 请设置 Content-Type 为 application/json, 否则请使用表单提交","success":false}

下面是自定义接口 { "url": ""http:/192.168.2.41:3000/push/root"", "data": ""title=${1}&desp=${nowtime}${str_linefeed}${2}"", "content_type": "Content-Type:application/x-www-form-urlencoded", "str_title_start": "#### ", "str_title_end": "", "str_linefeed": "%0D%0A%0D%0A", "str_splitline": "%0D%0A%0D%0A----%0D%0A%0D%0A", "str_space": " ", "str_tab": " ", "type": { } }

openwrt快照3.6.8出错使用wxpusher正常 openwrt24.10 3.5.6正常

try496 avatar Apr 12 '25 06:04 try496

应该是3.6.8出的问题 不知道以前可以用的的自定义接口为啥失效了 在openwrt24.10使用3.6.8版本无法推送报错相同的原因 @tty228

try496 avatar Apr 12 '25 11:04 try496

这个软件不支持apk的OpenWrt吗? 最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

大佬,我换成了标准openwrt最新版本,使用apk安装失败 apk add luci-* 错误:luci-app-wechatpush_3.6.8_all.ipk:不受信任的签名 apk add --allow-untrusted luci-app-wechatpush_3.6.8_all.ipk 错误:luci-app-wechatpush_3.6.8_all.ipk:v2 包格式错误

使用官方或者 immortalwrt 的发行版(releases),apk 的需要自己编译

同样的自定义接口在最新报以下错误root@OpenWrt:~# curl -X POST -H "Content-Type:application/x-www-form-urlencode d" -d "@/tmp/wechatpush/debug_send_data" "http:/192.168.2.41:3000/push/root" {"message":"请求体为空,如果使用 JSON 请设置 Content-Type 为 application/json, 否则请使用表单提交","success":false}

下面是自定义接口 { "url": ""http:/192.168.2.41:3000/push/root"", "data": ""title=${1}&desp=${nowtime}${str_linefeed}${2}"", "content_type": "Content-Type:application/x-www-form-urlencoded", "str_title_start": "#### ", "str_title_end": "", "str_linefeed": "%0D%0A%0D%0A", "str_splitline": "%0D%0A%0D%0A----%0D%0A%0D%0A", "str_space": " ", "str_tab": " ", "type": { } }

openwrt快照3.6.8出错使用wxpusher正常 openwrt24.10 3.5.6正常

我这里使用 wxpusher 可以推送,试了一下同样使用 get 方式的 serverchan 也没问题,可能和 run_with_tag() 函数没有正确的传递参数有关,把 run_with_tag curl 改成 curl 试试 加上这个是因为有时候梯子出问题,会在后台看到多个不会正常退出的 curl 进程,这里是给进程打个标签方便识别

tty228 avatar May 12 '25 16:05 tty228

这个软件不支持apk的OpenWrt吗?最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

大佬,我换成了标准openwrt最新版本,使用apk安装失败 apk add luci-* 错误:luci-app-wechatpush_3.6.8_all.ipk:不受信任的签名 apk add --allow-untrusted luci-app-wechatpush_3.6.8_all.ipk 错误:luci-app-wechatpush_3.6.8_all.ipk:v2 包格式错误

使用官方或者 immortalwrt 的发行版(releases),apk 的需要自己编译

同样的自定义接口在最新报以下错误 root@OpenWrt:~# curl -X POST -H “Content-Type:application/x-www-form-urlencode d” -d “@/tmp/wechatpush/debug_send_data” “http:/192.168.2.41:3000/push/root” {“message”:“请求体为空,如果使用 JSON 请设置 Content-Type 为 application/json,否则请使用表单提交”,“success”:false} 下面是自定义接口 { “url”: “http:/192.168.2.41:3000/push/root”“, ”data“: ”“title=${1}&desp=${nowtime}${str_linefeed}${2}”“, ”content_type“: ”Content-Type:application/x-www-form-urlencoded“, ”str_title_start“: ”#### “, ”str_title_end“: ”“, ”str_linefeed“: ”%0D%0A%0D%0A“, ”str_splitline“: ”%0D%0A%0D%0A----%0D%0A%0D%0A“, ”str_space“: ” “, ”str_tab“: ” “, ”类型“: { } } openwrt快照3.6.8出错使用wxpusher正常 openwrt24.10 3.5.6正常

我这里使用 wxpusher 可以推送,试了一下同样使用 get 方式的 serverchan 也没问题,可能和 函数没有正确的传递参数有关,把 改成 试试 加上这个是因为有时候梯子出问题,会在后台看到多个不会正常退出的 curl 进程,这里是给进程打个标签方便识别run_with_tag() ``run_with_tag curl``curl

我以前解决了故障有点奇怪 从另一台正常推送的复制粘贴到新的不行 复制serverchan的 把serverchan的这行 title=${1}&desp=${nowtime}${str_linefeed}${2}”“ 手动修改就能推送 改了也和复制粘贴的一模一样。另外最近发现ssh和wed登录错误没有提醒 登录成功有提醒。系统日志中有相关记载

try496 avatar May 13 '25 01:05 try496

这个软件不支持apk的OpenWrt吗?最新分支下报这个2025-04-05 14:04:06 [ERROR] 无法获取依赖项 iputils-arping 版本号,请确认插件是否正常运行 2025-04-05 14:04:06 [ERROR] 无法获取依赖项 curl 版本号,请确认插件是否正常运行 @tty228

akp的包管理器获取已安装列表的命令跟之前的不一样,如果能正常运行就不用管

大佬,我换成了标准openwrt最新版本,使用apk安装失败 apk add luci-* 错误:luci-app-wechatpush_3.6.8_all.ipk:不受信任的签名 apk add --allow-untrusted luci-app-wechatpush_3.6.8_all.ipk 错误:luci-app-wechatpush_3.6.8_all.ipk:v2 包格式错误

使用官方或者 immortalwrt 的发行版(releases),apk 的需要自己编译

同样的自定义接口在最新报以下错误 root@OpenWrt:~# curl -X POST -H “Content-Type:application/x-www-form-urlencode d” -d “@/tmp/wechatpush/debug_send_data” “http:/192.168.2.41:3000/push/root” {“message”:“请求体为空,如果使用 JSON 请设置 Content-Type 为 application/json,否则请使用表单提交”,“success”:false} 下面是自定义接口 { “url”: “http:/192.168.2.41:3000/push/root”“, ”data“: ”“title=${1}&desp=${nowtime}${str_linefeed}${2}”“, ”content_type“: ”Content-Type:application/x-www-form-urlencoded“, ”str_title_start“: ”#### “, ”str_title_end“: ”“, ”str_linefeed“: ”%0D%0A%0D%0A“, ”str_splitline“: ”%0D%0A%0D%0A----%0D%0A%0D%0A“, ”str_space“: ” “, ”str_tab“: ” “, ”类型“: { } } openwrt快照3.6.8出错使用wxpusher正常 openwrt24.10 3.5.6正常

我这里使用 wxpusher 可以推送,试了一下同样使用 get 方式的 serverchan 也没问题,可能和 函数没有正确的传递参数有关,把 改成 试试 加上这个是因为有时候梯子出问题,会在后台看到多个不会正常退出的 curl 进程,这里是给进程打个标签方便识别run_with_tag()run_with_tag curlcurl

我以前解决了故障有点奇怪 从另一台正常推送的复制粘贴到新的不行 复制serverchan的 把serverchan的这行 title=${1}&desp=${nowtime}${str_linefeed}${2}”“ 手动修改就能推送 改了也和复制粘贴的一模一样。另外最近发现ssh和wed登录错误没有提醒 登录成功有提醒。系统日志中有相关记载

试了一下大体上是正常的,没收到信息应该是之前偷懒,从日志里面读取登陆记录,有登陆成功的信息的话,就不会推送

Image

tty228 avatar May 13 '25 02:05 tty228

如果连封禁都不生效的话,可能是系统日志的格式跟我机子上的不一致,需要发出来重新做一下适配

tty228 avatar May 13 '25 02:05 tty228

如果连封禁都不生效的话,可能是系统日志的格式跟我机子上的不一致,需要发出来重新做一下适配

现在的格式 Tue May 13 11:04:06 2025 daemon.err uhttpd[2571]: [info] luci: failed login on / for root from 192.168.2.8

补充一下ssh的 Tue May 13 11:14:52 2025 authpriv.warn dropbear[23952]: Bad password attempt for 'root' from 192.168.2.8:43934

Tue May 13 11:14:53 2025 authpriv.info dropbear[23952]: Exit before auth from <192.168.2.8:43934>: (user 'root', 2 fails): Exited normally

try496 avatar May 13 '25 03:05 try496

看起来没有问题,不是格式的原因

tty228 avatar May 14 '25 14:05 tty228