




设置如上图,日志如下:
02/15 03:13:50 INF [/xunlei] daemon version: v3.20.2
02/15 03:13:50 INF [/xunlei] spk version: 3.21.0
02/15 03:13:50 INF [/xunlei] port: 2345
02/15 03:13:50 INF [/xunlei] ip: <nil>
02/15 03:13:50 INF [/xunlei] dashboard username: admin
02/15 03:13:50 INF [/xunlei] dashboard password: admin
02/15 03:13:50 INF [/xunlei] dir download: /xunlei/downloads
02/15 03:13:50 INF [/xunlei] dir data: /xunlei/data
02/15 03:13:50 INF [/xunlei] uid: 0
02/15 03:13:50 INF [/xunlei] gid: 0
02/15 03:13:50 INF [/xunlei] prevent update: true
02/15 03:13:50 INF [/xunlei] chroot: /xunlei
02/15 03:13:50 INF [/xunlei] debug: false
02/15 03:13:50 INF [/xunlei] args: "--dashboard_port" "2345" "--dashboard_username" "admin" "--dashboard_password" "admin" "--dir_download" "/xunlei/downloads" "--dir_data" "/xunlei/data" "--prevent_update" "--chroot" "/xunlei"
02/15 03:13:50 INF [mock] web started listen=[::]:2345
02/15 03:13:50 INF [xunlei-pan-cli] start cmd="/var/packages/pan-xunlei-com/target/bin/bin/xunlei-pan-cli-launcher.amd64 -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"
02/15 03:13:50 INF [xunlei-pan-cli] started pid=32
02/15 03:13:50 WRN [xunlei-pan-cli] > loadHistory ReadFile err:open /data/.drive/bin/.history: no such file or directory path:/data/.drive/bin/.history
02/15 03:13:50 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
02/15 03:13:50 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
02/15 03:13:50 WRN [xunlei-pan-cli] [device_space=] > client.Request GetCredentials err:access token is expired
02/15 03:13:50 WRN [xunlei-pan-cli] [pid=41&func_name=Client.UpdateUserInfo&func_st=02/15 03:13:50&trace_id=4vC6AWX4] > UpdateUserInfo Request 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} url:https://xluser-ssl.xunlei.com/v1/user/me
02/15 03:13:50 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:
02/15 03:13:50 WRN [xunlei-pan-cli] [device_space=] > client.Request GetCredentials err:access token is expired
02/15 03:13:50 WRN [xunlei-pan-cli] [req={"space":"","filters":"{\"type\":{\"in\":\"TYPE_PLAY\"}}","limit":30,"page_token":""}] > GetEvents RawRequest err:{"error":"unauthenticated","error_description":"either credentials or access token not found(access token is expired)","error_uri":"https://api-pan.xunlei.com/drive/v1/events?filters=%7B%22type%22%3A%7B%22in%22%3A%22TYPE_PLAY%22%7D%7D\u0026limit=30\u0026page_token=\u0026space=","HttpStatus":401}