cnk3x / xunlei

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

树莓派启动后页面500 #196

Open dlwfeng opened 1 month ago

dlwfeng commented 1 month ago

启动命令

dlw@dlwrpi:~/app/xunlei $ docker run -e XL_CHROOT=/ -v /home/dlw/app/xunlei/configs/xunlei:/xunlei/data -v /home/dlw/app/xunlei/downloads:/xunlei/downloads -p 2345:2345 cnk3x/xunlei

image

dlw@dlwrpi:~/app/xunlei $ docker run -e XL_CHROOT=/ -v /home/dlw/app/xunlei/configs/xunlei:/xunlei/data -v /home/dlw/app/xunlei/downloads:/xunlei/downloads -p 2345:2345 cnk3x/xunlei
10/22 13:06:42 INF [main] check current user uid=0 gid=0
10/22 13:06:46 INF [main] _  _ _  _ _  _ _    ____  _
10/22 13:06:46 INF [main]  \/  |  | |\ | |    |___  |
10/22 13:06:46 INF [main] _/\_ |__| | \| |___ |___  |
10/22 13:06:46 INF [main] daemon version: v3.20.2
10/22 13:06:46 INF [main] spk version: 3.11.2
10/22 13:06:46 INF [main] port: 2345
10/22 13:06:46 INF [main] ip: <nil>
10/22 13:06:46 INF [main] dashboard username: 
10/22 13:06:46 INF [main] dashboard password: 
10/22 13:06:46 INF [main] dir download: /xunlei/downloads
10/22 13:06:46 INF [main] dir data: /xunlei/data
10/22 13:06:46 INF [main] uid: 0
10/22 13:06:46 INF [main] gid: 0
10/22 13:06:46 INF [main] prevent update: true
10/22 13:06:46 INF [main] chroot: /
10/22 13:06:46 INF [main] debug: false
10/22 13:06:46 INF [main] args: "--dashboard_port" "2345" "--dir_download" "/xunlei/downloads" "--dir_data" "/xunlei/data" "--prevent_update" "--chroot" "/"
10/22 13:06:46 INF [mock] web started listen=[::]:2345
10/22 13:06:46 INF [xunlei-pan-cli] start cmd="/var/packages/pan-xunlei-com/target/bin/bin/xunlei-pan-cli-launcher.arm64 -launcher_listen unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com-launcher.sock -pid /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid -update_url http://127.0.0.1:2345/webman/3rdparty/pan-xunlei-com/version"
10/22 13:06:46 INF [xunlei-pan-cli] started pid=15
10/22 13:06:46 WRN [xunlei-pan-cli] loadHistory ReadFile err:open /xunlei/data/.drive/bin/.history: no such file or directory path:/xunlei/data/.drive/bin/.history
10/22 13:06:46 WRN [xunlei-pan-cli] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:06:46 INF [xunlei-pan-cli] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:06:46 WRN [xunlei-pan-cli] DetectPlatform err:synology not suport docker name:synology
10/22 13:06:46 WRN [xunlei-pan-cli] panic: platform not suport:
10/22 13:06:46 WRN [xunlei-pan-cli] 
10/22 13:06:46 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:06:46 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:06:46 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:06:46 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:06:46 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:06:46 WRN [xunlei-pan-cli] report log {"fields":{"error":"exit status 2","panic":"panic: platform not suport:\n\ngoroutine 1 [running]:\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()\n\t/xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()\n\t/xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64\n","report_type":"launcher"}}
10/22 13:06:46 WRN [xunlei-pan-cli] 
10/22 13:06:46 WRN [xunlei-pan-cli] report log error Post "https://analysis-acc-ssl.xunlei.com/analysis-report/v1/xlppc-pan-cli-log": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused
10/22 13:06:46 WRN [xunlei-pan-cli] [panCliPid=23]Launcher.startVersion cmd.Run exit error err:exit status 2 panCliPath:/xunlei/data/.drive/bin/xunlei-pan-cli.3.11.2.arm64 StdErr:panic: platform not suport:
10/22 13:06:46 WRN [xunlei-pan-cli] 
10/22 13:06:46 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:06:46 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:06:46 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:06:46 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:06:46 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:06:46 WRN [xunlei-pan-cli]  repErr:exit status 2
10/22 13:06:46 WRN [xunlei-pan-cli] start new version 3.11.2=>3.11.2 err:exit status 2
10/22 13:06:46 INF [xunlei-pan-cli] launcher version error exit status 2 retry 1
10/22 13:06:47 WRN [xunlei-pan-cli] [report=true&panCliPid=23]CheckProcess Signal err:os: process already finished
10/22 13:07:06 WRN [xunlei-pan-cli] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:07:06 INF [xunlei-pan-cli] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:07:07 WRN [xunlei-pan-cli] DetectPlatform err:synology not suport docker name:synology
10/22 13:07:07 WRN [xunlei-pan-cli] panic: platform not suport:
10/22 13:07:07 WRN [xunlei-pan-cli] 
10/22 13:07:07 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:07:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:07:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:07:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:07:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:07:07 WRN [xunlei-pan-cli] report log {"fields":{"error":"exit status 2","panic":"panic: platform not suport:\n\ngoroutine 1 [running]:\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()\n\t/xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()\n\t/xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64\n","report_type":"launcher"}}
10/22 13:07:07 WRN [xunlei-pan-cli] 
10/22 13:07:07 WRN [xunlei-pan-cli] report log error Post "https://analysis-acc-ssl.xunlei.com/analysis-report/v1/xlppc-pan-cli-log": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused
10/22 13:07:07 WRN [xunlei-pan-cli] [panCliPid=32]Launcher.startVersion cmd.Run exit error err:exit status 2 panCliPath:/xunlei/data/.drive/bin/xunlei-pan-cli.3.11.2.arm64 StdErr:panic: platform not suport:
10/22 13:07:07 WRN [xunlei-pan-cli] 
10/22 13:07:07 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:07:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:07:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:07:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:07:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:07:07 WRN [xunlei-pan-cli]  repErr:exit status 2
10/22 13:07:07 WRN [xunlei-pan-cli] start new version 3.11.2=>3.11.2 err:exit status 2
10/22 13:07:07 INF [xunlei-pan-cli] launcher version error exit status 2 retry 2
10/22 13:07:07 WRN [xunlei-pan-cgi] DetectPlatform err:synology not suport docker name:synology
10/22 13:07:07 WRN [xunlei-pan-cgi] panic: platform not suport:
10/22 13:07:07 WRN [xunlei-pan-cgi] 
10/22 13:07:07 WRN [xunlei-pan-cgi] goroutine 1 [running]:
10/22 13:07:07 WRN [xunlei-pan-cgi] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:07:07 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3c0
10/22 13:07:07 WRN [xunlei-pan-cgi] main.init.0()
10/22 13:07:07 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/package/synology/src/ui/amaze.go:8569 +0xe64
10/22 13:07:07 WRN [xunlei-pan-cgi] cgicgi: no headers
10/22 13:07:07 WRN [xunlei-pan-cli] [report=true&panCliPid=32]CheckProcess Signal err:os: process already finished
10/22 13:07:08 WRN [xunlei-pan-cgi] DetectPlatform err:synology not suport docker name:synology
10/22 13:07:08 WRN [xunlei-pan-cgi] panic: platform not suport:
10/22 13:07:08 WRN [xunlei-pan-cgi] 
10/22 13:07:08 WRN [xunlei-pan-cgi] goroutine 1 [running]:
10/22 13:07:08 WRN [xunlei-pan-cgi] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:07:08 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3c0
10/22 13:07:08 WRN [xunlei-pan-cgi] main.init.0()
10/22 13:07:08 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/package/synology/src/ui/amaze.go:8569 +0xe64
10/22 13:07:08 WRN [xunlei-pan-cgi] cgicgi: no headers
10/22 13:07:37 WRN [xunlei-pan-cli] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:07:37 INF [xunlei-pan-cli] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:07:37 WRN [xunlei-pan-cli] DetectPlatform err:synology not suport docker name:synology
10/22 13:07:37 WRN [xunlei-pan-cli] panic: platform not suport:
10/22 13:07:37 WRN [xunlei-pan-cli] 
10/22 13:07:37 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:07:37 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:07:37 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:07:37 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:07:37 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:07:37 WRN [xunlei-pan-cli] report log {"fields":{"error":"exit status 2","panic":"panic: platform not suport:\n\ngoroutine 1 [running]:\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()\n\t/xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()\n\t/xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64\n","report_type":"launcher"}}
10/22 13:07:37 WRN [xunlei-pan-cli] 
10/22 13:07:37 WRN [xunlei-pan-cli] report log error Post "https://analysis-acc-ssl.xunlei.com/analysis-report/v1/xlppc-pan-cli-log": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused
10/22 13:07:37 WRN [xunlei-pan-cli] [panCliPid=57]Launcher.startVersion cmd.Run exit error err:exit status 2 panCliPath:/xunlei/data/.drive/bin/xunlei-pan-cli.3.11.2.arm64 StdErr:panic: platform not suport:
10/22 13:07:37 WRN [xunlei-pan-cli] 
10/22 13:07:37 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:07:37 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:07:37 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:07:37 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:07:37 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:07:37 WRN [xunlei-pan-cli]  repErr:exit status 2
10/22 13:07:37 WRN [xunlei-pan-cli] start new version 3.11.2=>3.11.2 err:exit status 2
10/22 13:07:37 INF [xunlei-pan-cli] launcher version error exit status 2 retry 3
10/22 13:07:38 WRN [xunlei-pan-cli] [panCliPid=57&report=true]CheckProcess Signal err:os: process already finished
10/22 13:08:17 WRN [xunlei-pan-cli] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:08:17 INF [xunlei-pan-cli] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:08:17 WRN [xunlei-pan-cli] DetectPlatform err:synology not suport docker name:synology
10/22 13:08:17 WRN [xunlei-pan-cli] panic: platform not suport:
10/22 13:08:17 WRN [xunlei-pan-cli] 
10/22 13:08:17 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:08:17 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:08:17 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:08:17 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:08:17 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:08:17 WRN [xunlei-pan-cli] report log {"fields":{"error":"exit status 2","panic":"panic: platform not suport:\n\ngoroutine 1 [running]:\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()\n\t/xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()\n\t/xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64\n","report_type":"launcher"}}
10/22 13:08:17 WRN [xunlei-pan-cli] 
10/22 13:08:17 WRN [xunlei-pan-cli] [panCliPid=65]Launcher.startVersion cmd.Run exit error err:exit status 2 panCliPath:/xunlei/data/.drive/bin/xunlei-pan-cli.3.11.2.arm64 StdErr:panic: platform not suport:
10/22 13:08:17 WRN [xunlei-pan-cli] 
10/22 13:08:17 WRN [xunlei-pan-cli] report log error Post "https://analysis-acc-ssl.xunlei.com/analysis-report/v1/xlppc-pan-cli-log": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused
10/22 13:08:17 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:08:17 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:08:17 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:08:17 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:08:17 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:08:17 WRN [xunlei-pan-cli]  repErr:exit status 2
10/22 13:08:17 WRN [xunlei-pan-cli] start new version 3.11.2=>3.11.2 err:exit status 2
10/22 13:08:17 INF [xunlei-pan-cli] launcher version error exit status 2 retry 4
10/22 13:08:18 WRN [xunlei-pan-cli] [report=true&panCliPid=65]CheckProcess Signal err:os: process already finished
10/22 13:09:04 WRN [xunlei-pan-cgi] DetectPlatform err:synology not suport docker name:synology
10/22 13:09:04 WRN [xunlei-pan-cgi] panic: platform not suport:
10/22 13:09:04 WRN [xunlei-pan-cgi] 
10/22 13:09:04 WRN [xunlei-pan-cgi] goroutine 1 [running]:
10/22 13:09:04 WRN [xunlei-pan-cgi] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:09:04 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3c0
10/22 13:09:04 WRN [xunlei-pan-cgi] main.init.0()
10/22 13:09:04 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/package/synology/src/ui/amaze.go:8569 +0xe64
10/22 13:09:04 WRN [xunlei-pan-cgi] cgicgi: no headers
10/22 13:09:07 WRN [xunlei-pan-cli] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:09:07 INF [xunlei-pan-cli] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:09:07 WRN [xunlei-pan-cli] DetectPlatform err:synology not suport docker name:synology
10/22 13:09:07 WRN [xunlei-pan-cli] panic: platform not suport:
10/22 13:09:07 WRN [xunlei-pan-cli] 
10/22 13:09:07 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:09:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:09:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:09:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:09:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:09:07 WRN [xunlei-pan-cli] report log {"fields":{"error":"exit status 2","panic":"panic: platform not suport:\n\ngoroutine 1 [running]:\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()\n\t/xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac\ngitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()\n\t/xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64\n","report_type":"launcher"}}
10/22 13:09:07 WRN [xunlei-pan-cli] 
10/22 13:09:07 WRN [xunlei-pan-cli] report log error Post "https://analysis-acc-ssl.xunlei.com/analysis-report/v1/xlppc-pan-cli-log": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused
10/22 13:09:07 WRN [xunlei-pan-cli] [panCliPid=81]Launcher.startVersion cmd.Run exit error err:exit status 2 panCliPath:/xunlei/data/.drive/bin/xunlei-pan-cli.3.11.2.arm64 StdErr:panic: platform not suport:
10/22 13:09:07 WRN [xunlei-pan-cli] 
10/22 13:09:07 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:09:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:09:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:09:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:09:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:09:07 WRN [xunlei-pan-cli]  repErr:exit status 2
10/22 13:09:07 WRN [xunlei-pan-cli] start new version 3.11.2=>3.11.2 err:exit status 2
10/22 13:09:07 INF [xunlei-pan-cli] launcher version error exit status 2 retry 5
10/22 13:09:08 WRN [xunlei-pan-cli] [report=true&panCliPid=81]CheckProcess Signal err:os: process already finished
10/22 13:10:06 WRN [xunlei-pan-cgi] DetectPlatform err:synology not suport docker name:synology
10/22 13:10:06 WRN [xunlei-pan-cgi] panic: platform not suport:
10/22 13:10:06 WRN [xunlei-pan-cgi] 
10/22 13:10:06 WRN [xunlei-pan-cgi] goroutine 1 [running]:
10/22 13:10:06 WRN [xunlei-pan-cgi] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:10:06 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3c0
10/22 13:10:06 WRN [xunlei-pan-cgi] main.init.0()
10/22 13:10:06 WRN [xunlei-pan-cgi]     /xunlei-pan-cli/package/synology/src/ui/amaze.go:8569 +0xe64
10/22 13:10:06 WRN [xunlei-pan-cgi] cgicgi: no headers
10/22 13:10:07 WRN [xunlei-pan-cli] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:10:07 INF [xunlei-pan-cli] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
10/22 13:10:07 WRN [xunlei-pan-cli] [panCliPid=97]Launcher.startVersion cmd.Run exit error err:exit status 2 panCliPath:/xunlei/data/.drive/bin/xunlei-pan-cli.3.11.2.arm64 StdErr:panic: platform not suport:
10/22 13:10:07 WRN [xunlei-pan-cli] 
10/22 13:10:07 WRN [xunlei-pan-cli] goroutine 1 [running]:
10/22 13:10:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/platformdetect.Platform()
10/22 13:10:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/platformdetect/detect.go:47 +0x3ac
10/22 13:10:07 WRN [xunlei-pan-cli] gitlab.xunlei.cn/xlppc/pan-cli/pkg/oauth2client.init.0()
10/22 13:10:07 WRN [xunlei-pan-cli]     /xunlei-pan-cli/pkg/oauth2client/algorithms.go:8485 +0xe64
10/22 13:10:07 WRN [xunlei-pan-cli]  repErr:exit status 2
10/22 13:10:07 WRN [xunlei-pan-cli] start new version 3.11.2=>3.11.2 err:exit status 2
10/22 13:10:07 INF [xunlei-pan-cli] launcher version error exit status 2 retry 6
10/22 13:10:08 WRN [xunlei-pan-cli] [report=true&panCliPid=97]CheckProcess Signal err:os: process already finished
cnk3x commented 3 weeks ago

你的环境不支持 -e XL_CHROOT=/

dlwfeng commented 3 weeks ago

@cnk3x 感谢回复

我去掉了-e配置,这是我的docker-compose.yml

version: '3.8'

services:
  xunlei:
    image: cnk3x/xunlei
    container_name: xunlei
    ports:
      - "2345:2345"
    restart: unless-stopped
    privileged: true

启动后,访问2345端口,页面跳转后 image

这是我的日志

xunlei    | 10/28 16:04:56 INF [main] mount...
xunlei    | 10/28 16:04:56 INF [/xunlei] check current user uid=0 gid=0
xunlei    | 10/28 16:05:00 INF [/xunlei] _  _ _  _ _  _ _    ____  _
xunlei    | 10/28 16:05:00 INF [/xunlei]  \/  |  | |\ | |    |___  |
xunlei    | 10/28 16:05:00 INF [/xunlei] _/\_ |__| | \| |___ |___  |
xunlei    | 10/28 16:05:00 INF [/xunlei] daemon version: v3.20.2
xunlei    | 10/28 16:05:00 INF [/xunlei] spk version: 3.11.2
xunlei    | 10/28 16:05:00 INF [/xunlei] port: 2345
xunlei    | 10/28 16:05:00 INF [/xunlei] ip: <nil>
xunlei    | 10/28 16:05:00 INF [/xunlei] dashboard username: 
xunlei    | 10/28 16:05:00 INF [/xunlei] dashboard password: 
xunlei    | 10/28 16:05:00 INF [/xunlei] dir download: /xunlei/downloads
xunlei    | 10/28 16:05:00 INF [/xunlei] dir data: /xunlei/data
xunlei    | 10/28 16:05:00 INF [/xunlei] uid: 0
xunlei    | 10/28 16:05:00 INF [/xunlei] gid: 0
xunlei    | 10/28 16:05:00 INF [/xunlei] prevent update: true
xunlei    | 10/28 16:05:00 INF [/xunlei] chroot: /xunlei
xunlei    | 10/28 16:05:00 INF [/xunlei] debug: false
xunlei    | 10/28 16:05:00 INF [/xunlei] args: "--dashboard_port" "2345" "--dir_download" "/xunlei/downloads" "--dir_data" "/xunlei/data" "--prevent_update" "--chroot" "/xunlei"
xunlei    | 10/28 16:05:00 INF [mock] web started listen=[::]:2345
xunlei    | 10/28 16:05:00 INF [xunlei-pan-cli] start cmd="/var/packages/pan-xunlei-com/target/bin/bin/xunlei-pan-cli-launcher.arm64 -launcher_listen unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com-launcher.sock -pid /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid -update_url http://127.0.0.1:2345/webman/3rdparty/pan-xunlei-com/version"
xunlei    | 10/28 16:05:00 INF [xunlei-pan-cli] started pid=31
xunlei    | 10/28 16:05:00 WRN [xunlei-pan-cli] loadHistory ReadFile err:open /data/.drive/bin/.history: no such file or directory path:/data/.drive/bin/.history
xunlei    | 10/28 16:05:00 WRN [xunlei-pan-cli] KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
xunlei    | 10/28 16:05:00 INF [xunlei-pan-cli] kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] [device_space=]Client.Request httpClient.Do err:Get "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused req:&{Method:GET URL:https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id= Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[User-Agent:[pan.xunlei.cli.synology/3.11.2 (linux arm64;rtd1296 dsm 7.2-64570;71f499deb067)] X-Captcha-Token:[] X-Device-Id:[9a725f150c3d1cbb159cd9e4fd013fa5]] Body:{} GetBody:0x8a3720 ContentLength:0 TransferEncoding:[] Close:false Host:conf-m-ssl.xunlei.com Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil> Cancel:<nil> Response:<nil> ctx:0x40037ebdd0} lookup:addr:conf-m-ssl.xunlei.com ip:117.185.18.29,2408:4002:1f10::95,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] [device_space=]Client.Request TRY TWICE http.DefaultClient.Do err:Get "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused  url:https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id= req:&{Method:GET URL:https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id= Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[User-Agent:[pan.xunlei.cli.synology/3.11.2 (linux arm64;rtd1296 dsm 7.2-64570;71f499deb067)] X-Captcha-Token:[] X-Device-Id:[9a725f150c3d1cbb159cd9e4fd013fa5]] Body:{} GetBody:0x8a3720 ContentLength:0 TransferEncoding:[] Close:false Host:conf-m-ssl.xunlei.com Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil> Cancel:<nil> Response:<nil> ctx:0x40037ebdd0} lookup:addr:conf-m-ssl.xunlei.com ip:117.185.18.29,2408:4002:1f10::95,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] [device_space=]getRespBodyFromCacheOrRemote getRespBodyFromRemote err:Get "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused url:https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id= method:GET req:
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] [device_space=]Client.request getRespBodyFromCacheOrRemote err:Get "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] [device_space=]client.Request err:Get "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused url:https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] [device_space=]InitGlobalConfig Oauth2Client.Request err:Get "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused req:{
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "URL": "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=\u0026client_version=3.11.2\u0026client_version_number=31102\u0026device_id=9a725f150c3d1cbb159cd9e4fd013fa5\u0026os_version=rtd1296+dsm+7.2-64570\u0026peer_id=0242AC140002004V\u0026platform=synology\u0026user_id=",
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "Method": "GET",
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "Headers": null,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "Body": null,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "ReqData": null,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "WithCredential": false,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "Credentials": null,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "Response": {
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]   "result": "",
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]   "values": null
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  },
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "HttpClient": null,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "GetReqParams": null,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "WithRequestLog": false
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] } resp:{
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "result": "",
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli]  "values": null
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] } lookupResult:addr:conf-m-ssl.xunlei.com ip:117.185.18.29,2408:4002:1f10::95,
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] plugin.Init m.StormDB.One err:not found
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] [device_space=]client.Request GetCredentials err:access token is expired
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] UpdateUserInfo Request url:https://xluser-ssl.xunlei.com/v1/user/me err:{"error":"unauthenticated","error_description":"either credentials or access token not found(access token is expired)","error_uri":"https://xluser-ssl.xunlei.com/v1/user/me","HttpStatus":401}
xunlei    | 10/28 16:05:01 WRN [xunlei-pan-cli] CreateTasksRunner UpdateUserInfo err:{"error":"unauthenticated","error_description":"either credentials or access token not found(access token is expired)","error_uri":"https://xluser-ssl.xunlei.com/v1/user/me","HttpStatus":401} deviceSpace:
xunlei    | 10/28 16:05:02 WRN [xunlei-pan-cli] report log error Post "https://analysis-acc-ssl.xunlei.com/analysis-report/v1/xlppc-pan-cli-log": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused 1 3s
xunlei    | 10/28 16:05:16 WRN [xunlei-pan-cli] [device_space=]InitGlobalConfig Oauth2Client.Request err:Get "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=&client_version=3.11.2&client_version_number=31102&device_id=9a725f150c3d1cbb159cd9e4fd013fa5&os_version=rtd1296+dsm+7.2-64570&peer_id=0242AC140002004V&platform=synology&user_id=": proxyconnect tcp: dial tcp 127.0.0.1:7890: connect: connection refused req:{
xunlei    | 10/28 16:05:16 WRN [xunlei-pan-cli]  "URL": "https://conf-m-ssl.xunlei.com/external/3590509d-071b-4589-8dc9-98f667b4ce1a?PanCliEnv=\u0026client_version=3.11.2\u0026client_version_number=31102\u0026device_id=9a725f150c3d1cbb159cd9e4fd013fa5\u0026os_version=rtd1296+dsm+7.2-64570\u0026peer_id=0242AC140002004V\u0026platform=synology\u0026user_id=",

可以帮我看下吗?感谢