Open dlwfeng opened 1 month ago
你的环境不支持 -e XL_CHROOT=/
@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端口,页面跳转后
这是我的日志
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=",
可以帮我看下吗?感谢
启动命令