cnk3x / xunlei

提取自群晖平台的迅雷下载套件,用在其他Linux机器上的迅雷远程下载服务
MIT License
1.46k stars 170 forks source link

arm64启动报错 #135

Closed SheriffChen closed 3 months ago

SheriffChen commented 6 months ago

version: 3.11.2 time="05/12 17:49:54" level=info msg="exited: unsupported platform: linux arm64"

镜像描述: "Created": "2024-05-12T01:13:17.3033633Z", "DockerVersion": "", "Architecture": "arm64", "Os": "linux", "Size": 94978197, "VirtualSize": 94978197,

frankiezdh commented 6 months ago

@cnk3x 大佬fix一下?

yb9210 commented 6 months ago

istoreos内一样启动报错,不获取网络

cnk3x commented 6 months ago

24/05/22之前的latest确认有问题,现在更新了,可以尝试一下,不过arm64没有设备没测试。

Soulxy1993 commented 6 months ago

24/05/22之前的latest确认有问题,现在更新了,可以尝试一下,不过arm64没有设备没测试。

我是Arm64, istoreOS可以正常用,但是之前默认地址http://192.168.100.1:2345/web/打不开 用跳转后的http://192.168.100.1:2345/webman/3rdparty/pan-xunlei-com/index.cgi/#/home可以。

konglh80 commented 6 months ago

在 arm64 设备上拉取了最新版本,目前遇到的问题是卡在登录页面,一直显示 “二维码加载中...“,过一会会提示错误 “设备校验失败,请重新登录设备或刷新”

Screenshot 2024-05-23 at 16 28 15
cnk3x commented 6 months ago

可以把容器运行输出的日志贴出来看一下吗

konglh80 commented 6 months ago

运行日志 xunlei.log

i36lib commented 6 months ago

树莓派5(arm64)运行有一些警告和错误:

启动脚本:

docker run -v /data/xunlei/config:/xunlei/data -v /data/movies:/xunlei/downloads -p 2345:2345 --privileged cnk3x/xunlei:latest

错误日志:

05/25 12:31:19 WRN bind src=/lib32 err="stat /lib32: no such file or directory"
05/25 12:31:19 WRN bind src=/libx32 err="stat /libx32: no such file or directory"
05/25 12:31:19 WRN bind src=/lib64 err="stat /lib64: no such file or directory"

05/25 12:31:19 ERR [xunlei-pan-cli-launcher.arm64.2] loadHistory ReadFile err:open /var/packages/pan-xunlei-com/shares/迅雷/.drive/bin/.history: no such file or directory path:/var/packages/pan-xunlei-com/shares/迅雷/.drive/bin/.history
05/25 12:31:19 ERR [xunlei-pan-cli-launcher.arm64.2] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
05/25 12:31:19 WRN [xunlei-pan-cli-launcher.arm64.2] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
bigmangos commented 6 months ago

同样的问题,加载不出二维码

YingcaiDong commented 5 months ago

树莓派5(arm64)运行有一些警告和错误:

启动脚本:

docker run -v /data/xunlei/config:/xunlei/data -v /data/movies:/xunlei/downloads -p 2345:2345 --privileged cnk3x/xunlei:latest

错误日志:

05/25 12:31:19 WRN bind src=/lib32 err="stat /lib32: no such file or directory"
05/25 12:31:19 WRN bind src=/libx32 err="stat /libx32: no such file or directory"
05/25 12:31:19 WRN bind src=/lib64 err="stat /lib64: no such file or directory"

05/25 12:31:19 ERR [xunlei-pan-cli-launcher.arm64.2] loadHistory ReadFile err:open /var/packages/pan-xunlei-com/shares/迅雷/.drive/bin/.history: no such file or directory path:/var/packages/pan-xunlei-com/shares/迅雷/.drive/bin/.history
05/25 12:31:19 ERR [xunlei-pan-cli-launcher.arm64.2] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
05/25 12:31:19 WRN [xunlei-pan-cli-launcher.arm64.2] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory

同样的报错+1

konglh80 commented 4 months ago

加载不出二维码的问题我这边解决了,网络模式用 host,但这样就不能指定端口了。

docker run -d --network host -v /mnt/mmcblk0p6/xunlei3200/data:/xunlei/data -v /mnt/mmcblk0p6/xunlei3200/downloads:/xunlei/downloads --name xunlei-3.20.0 --privileged cnk3x/xunlei:latest
cnk3x commented 4 months ago

加载不出二维码的问题我这边解决了,网络模式用 host,但这样就不能指定端口了。

docker run -d --network host -v /mnt/mmcblk0p6/xunlei3200/data:/xunlei/data -v /mnt/mmcblk0p6/xunlei3200/downloads:/xunlei/downloads --name xunlei-3.20.0 --privileged cnk3x/xunlei:latest

可以用环境变量 XL_DASHBOARD_PORT 来指定端口

docker run -d --network host -e XL_DASHBOARD_PORT 5432 -v /mnt/mmcblk0p6/xunlei3200/data:/xunlei/data -v /mnt/mmcblk0p6/xunlei3200/downloads:/xunlei/downloads --name xunlei-3.20.0 --privileged cnk3x/xunlei:latest