0x676e67 / thunder

Synology NAS thunder run on Linux

Home Page:https://nas.xunlei.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

网页打开502啊

mensylisir opened this issue · comments

  thunder:
    image: gngpp/xunlei:latest
    privileged: true
    container_name: thunder
    environment:
      XUNLEI_AUTH_USER: "xxx"
      XUNLEI_AUTH_PASSWORD: "xxx"
      UID: 1000
      GID: 1000
    ports:
      - 5055:5055
    volumes:
      - /mydata/Downloads/gngpp:/opt/data
      - /mydata/Downloads:/downloads
    restart: unless-stopped

```
```
INFO 2023-09-16 08:47:03: [Asset] LD_LIBRARY_PATH=/var/packages/pan-xunlei-com/target/host/lib
INFO 2023-09-16 08:47:03: [Asset] Real path of the symlink /lib64/ld-linux-x86-64.so.2: /var/packages/pan-xunlei-com/target/host/lib/ld-linux-x86-64.so.2
INFO 2023-09-16 08:47:03: [Asset] LD_LIBRARY_PATH=/var/packages/pan-xunlei-com/target/host/lib
INFO 2023-09-16 08:47:03: [XunleiLauncher] Start Xunlei Pannel UI, listening on 0.0.0.0:5055
INFO 2023-09-16 08:47:03: [XunleiBackendServer] Mount /downloads to /xunlei succeeded
INFO 2023-09-16 08:47:03: [XunleiBackendServer] Start Xunlei Backend Server
INFO 2023-09-16 08:47:03: [XunleiBackendServer] Xunlei Backend Server PID: 58
2023-09-16 08:49:02.237764 UTC - GET / - 29.2us - 303
2023-09-16 08:49:02.265826 UTC - GET /login - 26.6us - 200
2023-09-16 08:49:02.360143 UTC - GET /js/sha3.min.js - 42.2us - 200
2023-09-16 08:49:03.054189 UTC - GET /favicon.ico - 26.6us - 303
2023-09-16 08:49:03.071404 UTC - GET /login - 33.7us - 200
2023-09-16 08:49:06.861270 UTC - POST /login - 52.4us - 303
2023-09-16 08:49:06.885475 UTC - GET / - 27.0us - 307
2023-09-16 08:49:06.908383 UTC - GET /webman/3rdparty/pan-xunlei-com/index.cgi/ - 96.0ms - 502

```


什么设备,什么系统,没有信息我就关了,docker跑没有问题

什么设备,什么系统,没有信息我就关了,docker跑没有问题

ubuntu22.04 docker启动

跑这个

docker run -it --rm --privileged -p 5055:5055 --name=xunlei \
  -e XUNLEI_AUTH_USER=xxx \
  -e XUNLEI_AUTH_PASSWORD=xxx \
  -e XUNLEI_GID=1000 \
  -e XUNLEI_UID=1000 \
  -e XUNLEI_DEBUG=true \
  gngpp/xunlei:latest

docker run -it --rm --privileged -p 5055:5055 --name=xunlei
-e XUNLEI_AUTH_USER=xxx
-e XUNLEI_AUTH_PASSWORD=xxx
-e XUNLEI_GID=1000
-e XUNLEI_UID=1000
-e XUNLEI_DEBUG=true
gngpp/xunlei:latest

DEBUG 2023-09-16 09:07:10: [Asset] ldd --version stdout: musl libc (x86_64)
Version 1.2.4
Dynamic Program Loader
Usage: /lib/ld-musl-x86_64.so.1 [options] [--] pathname

DEBUG 2023-09-16 09:07:10: [Asset] Run on musl environment
DEBUG 2023-09-16 09:07:10: [Asset] ldd --version stdout: musl libc (x86_64)
Version 1.2.4
Dynamic Program Loader
Usage: /lib/ld-musl-x86_64.so.1 [options] [--] pathname

DEBUG 2023-09-16 09:07:10: [Asset] Run on musl environment
DEBUG 2023-09-16 09:07:10: [Asset] ldd stdout:  /lib64/ld-linux-x86-64.so.2 (0x7f47d4c79000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f47d4c79000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f47d4c79000)

DEBUG 2023-09-16 09:07:10: [Asset] ldd stdout:  /lib64/ld-linux-x86-64.so.2 (0x7fa0a860e000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fa0a860e000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fa0a860e000)

DEBUG 2023-09-16 09:07:10: [Asset] ldd stdout:  /lib64/ld-linux-x86-64.so.2 (0x7fa619937000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fa619937000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fa619937000)

INFO 2023-09-16 09:07:10: [Asset] LD_LIBRARY_PATH=/var/packages/pan-xunlei-com/target/host/lib
INFO 2023-09-16 09:07:10: [XunleiBackendServer] Mount /downloads to /xunlei succeeded
INFO 2023-09-16 09:07:10: [XunleiBackendServer] Start Xunlei Backend Server
DEBUG 2023-09-16 09:07:10: [Asset] ldd stdout:  /lib64/ld-linux-x86-64.so.2 (0x7fc1c4fef000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fc1c4fef000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fc1c4fef000)

INFO 2023-09-16 09:07:10: [Asset] Real path of the symlink /lib64/ld-linux-x86-64.so.2: /var/packages/pan-xunlei-com/target/host/lib/ld-linux-x86-64.so.2
INFO 2023-09-16 09:07:10: [Asset] LD_LIBRARY_PATH=/var/packages/pan-xunlei-com/target/host/lib
INFO 2023-09-16 09:07:10: [XunleiLauncher] Start Xunlei Pannel UI, listening on 0.0.0.0:5055
DEBUG 2023-09-16 09:07:10: Server listening on 0.0.0.0:5055
INFO 2023-09-16 09:07:10: [XunleiBackendServer] Xunlei Backend Server PID: 55
DEBUG 2023-09-16 09:07:10: Running accept thread
09/16 09:07:10.11 INFO loadenv from /var/packages/pan-xunlei-com/target
09/16 09:07:10.12 INFO [error={"Op":"open","Path":"/var/packages/pan-xunlei-com/target/envconfig","Err":2}&file=/var/packages/pan-xunlei-com/target/envconfig]read envconfig failed use default
09/16 09:07:10.12 INFO getEnvs succ DownloadPATH=/xunlei
09/16 09:07:10.12 INFO getEnvs succ DriveListen=unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock
09/16 09:07:10.12 INFO getEnvs succ ConfigPath=/opt/data
09/16 09:07:10.12 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:07:10.12 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:07:10.12 INFO [use_path=/opt/data/.drive/plugins&report=true]getPluginPATH
09/16 09:07:10.12 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:07:10.12 INFO setDownloadAlias DriveFileMount :map[]
09/16 09:07:10.12 INFO config.init getEnvStrArray DownloadPATH:[/xunlei] len:1
09/16 09:07:10.12 INFO config.init init succ: &{isInit:true NasIDKey: NasId: NasSubIdKey: NasSubId: DeviceId: WorkDir: BinPath:/var/packages/pan-xunlei-com/target Platform: PathSplit:: DownloadPATHs:[/xunlei] TorrentPath: DriveFileMount:map[] PluginTokenDuration:5h0m0s PluginPATH:/opt/data/.drive/plugins AuthTokenPATH: DriveArgs: DrivePlayer: DriveListen:unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock DrivePortFile: DriveLogLevel:info DriveLogFile: DriveLogSize:10MB DriveLogFormat: DriveUpdate: DriveConfigPATH:/opt/data DrivePIDFile: DriveInfoFile: DrivePublicPort:21603 FreePortRange:[] FreePortRangeUDP:[] LauncherLogFile: LauncherLogSize: LauncherPIDFile: LauncherListen:127.0.0.1:5051 NfoIsDisable: RefreshTokenDuration:1h KvCacheDuration:24h0m0s TaskCfgPath: ScrapeCacheDuration:24h0m0s SyncWatchDogDuration:30m0s CachePATH: DeviceSpace: DeviceName: TLSInsecureSkipVerify:true ImportTask:true SingleTaskMaxMB:100 SingleTaskReserveMB:20 OverallShareMaxMB:200 ThirdAuthURL: PanCliEnv: GeneDBShadowFileDuration:24h DebugPrintFileEvents:[] GossipFile:/opt/data/.drive/gossip.json PluginWithBash:false Webhook:{Modules:map[] URL:} HostXluser:https://xluser-ssl.xunlei.com HostApiPan:https://api-pan.xunlei.com HostShoulei:https://api-shoulei-ssl.xunlei.com HostHighSpeedFlow:https://api-pan.xunlei.com EnableTaskCfg:true WebhookHealthzToken:}
09/16 09:07:10.12 INFO try to lock pid /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid
09/16 09:07:10.12 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:07:10.12 INFO copy varsion target not exists
09/16 09:07:10.12 INFO prepare binary error :open /opt/data/.drive/bin/.version: no such file or directory
09/16 09:07:10.12 ERROR loadHistory ReadFile err:open /opt/data/.drive/bin/.history: no such file or directory path:/opt/data/.drive/bin/.history
09/16 09:07:10.12 INFO launcher init  
09/16 09:07:10.12 INFO write launcher pid to file /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid 55
09/16 09:07:10.12 INFO use unix socket unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com-launcher.sock
09/16 09:07:10.12 INFO start new version %s
09/16 09:07:10.12 ERROR version file is not writable
09/16 09:07:10.12 ERROR KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:07:10.12 WARNING kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:07:10.12 ERROR launcher file /opt/data/.drive/bin/xunlei-pan-cli..amd64 not executable
09/16 09:07:10.12 ERROR startVersion err:file not executable:  version:
09/16 09:07:10.12 ERROR start new version => err:file not executable: 
09/16 09:07:10.12 WARNING launcher version error file not executable:  retry 1
09/16 09:07:10.12 INFO write launcher pid to file /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid 55
2023-09-16 09:07:18.909544 UTC - GET / - 32.8us - 303
2023-09-16 09:07:18.940124 UTC - GET /login - 37.9us - 200
2023-09-16 09:07:19.049807 UTC - GET /js/sha3.min.js - 51.1us - 200
2023-09-16 09:07:19.721014 UTC - GET /favicon.ico - 25.9us - 303
2023-09-16 09:07:19.729818 UTC - GET /login - 35.3us - 200
2023-09-16 09:07:25.470032 UTC - POST /login - 154.0us - 303
2023-09-16 09:07:25.496631 UTC - GET / - 27.1us - 307
09/16 09:07:25.61 INFO loadenv from /var/packages/pan-xunlei-com/target
09/16 09:07:25.61 INFO [error={"Op":"open","Path":"/var/packages/pan-xunlei-com/target/envconfig","Err":2}&file=/var/packages/pan-xunlei-com/target/envconfig]read envconfig failed use default
09/16 09:07:25.61 INFO getEnvs succ DownloadPATH=/xunlei
09/16 09:07:25.61 INFO getEnvs succ DriveListen=unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock
09/16 09:07:25.61 INFO getEnvs succ ConfigPath=/opt/data
09/16 09:07:25.61 INFO [config_path=/opt/data/.drive/&device_space=]use config
09/16 09:07:25.61 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:07:25.61 INFO [use_path=/opt/data/.drive/plugins&report=true]getPluginPATH
09/16 09:07:25.61 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:07:25.61 INFO setDownloadAlias DriveFileMount :map[]
09/16 09:07:25.61 INFO config.init getEnvStrArray DownloadPATH:[/xunlei] len:1
09/16 09:07:25.61 INFO config.init init succ: &{isInit:true NasIDKey: NasId: NasSubIdKey: NasSubId: DeviceId: WorkDir: BinPath:/var/packages/pan-xunlei-com/target Platform: PathSplit:: DownloadPATHs:[/xunlei] TorrentPath: DriveFileMount:map[] PluginTokenDuration:5h0m0s PluginPATH:/opt/data/.drive/plugins AuthTokenPATH: DriveArgs: DrivePlayer: DriveListen:unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock DrivePortFile: DriveLogLevel:info DriveLogFile: DriveLogSize:10MB DriveLogFormat: DriveUpdate: DriveConfigPATH:/opt/data DrivePIDFile: DriveInfoFile: DrivePublicPort:21603 FreePortRange:[] FreePortRangeUDP:[] LauncherLogFile: LauncherLogSize: LauncherPIDFile: LauncherListen:127.0.0.1:5051 NfoIsDisable: RefreshTokenDuration:1h KvCacheDuration:24h0m0s TaskCfgPath: ScrapeCacheDuration:24h0m0s SyncWatchDogDuration:30m0s CachePATH: DeviceSpace: DeviceName: TLSInsecureSkipVerify:true ImportTask:true SingleTaskMaxMB:100 SingleTaskReserveMB:20 OverallShareMaxMB:200 ThirdAuthURL: PanCliEnv: GeneDBShadowFileDuration:24h DebugPrintFileEvents:[] GossipFile:/opt/data/.drive/gossip.json PluginWithBash:false Webhook:{Modules:map[] URL:} HostXluser:https://xluser-ssl.xunlei.com HostApiPan:https://api-pan.xunlei.com HostShoulei:https://api-shoulei-ssl.xunlei.com HostHighSpeedFlow:https://api-pan.xunlei.com EnableTaskCfg:true WebhookHealthzToken:}
09/16 09:07:25.61 INFO start detect platform
09/16 09:07:25.62 INFO Detector.Detect envPlatform:
09/16 09:07:25.62 ERROR DetectPlatform err:env PLATFORM=lexar:ea94acab567b9cc724e943be3e4ac5c5 not exist name:lexar
09/16 09:07:25.62 ERROR DetectPlatform err:stat /.dockerenv: no such file or directory name:docker
09/16 09:07:25.62 ERROR DetectPlatform err:env PLATFORM=zspace:a68b3d890b860d0165a8f6f66acc6d45 not exist name:zspace
09/16 09:07:25.62 INFO detect platform: synology X9ibISwpIp8jQ4Ya nasid: labels: [withQrcodeLogin withOtherAuthLogin withPlugin withPreviewPrivilege allowUseConfigPathAsCachePath withRootDiskSelect withInstallLocalPlugin withHighSpeedFlowCtrl withFetchFolder withSyncDriveFile withUserResetScrapeResult]
2023/09/16 09:07:25 Failed to dial: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023/09/16 09:07:25 http: proxy error: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023-09-16 09:07:25.549897 UTC - GET /webman/3rdparty/pan-xunlei-com/index.cgi/ - 71.6ms - 502
09/16 09:07:30.12 INFO start new version %s
09/16 09:07:30.12 ERROR KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:07:30.12 WARNING kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:07:30.12 ERROR launcher file /opt/data/.drive/bin/xunlei-pan-cli..amd64 not executable
09/16 09:07:30.12 ERROR startVersion err:file not executable:  version:
09/16 09:07:30.12 ERROR start new version => err:file not executable: 
09/16 09:07:30.12 WARNING launcher version error file not executable:  retry 2
09/16 09:07:30.12 INFO write launcher pid to file /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid 55
09/16 09:07:40.12 ERROR version file is not writable

docker暂时不能用gid uid,等我看看能不能修复

看了一下确实没东西

/rootfs # ls
bin        dev        etc        lib64      opt        root       sbin       tmp        var
boot       downloads  lib        mnt        proc       run        sys        usr        xunlei
/rootfs # ls /opt/data/
/rootfs # ls opt
data
/rootfs # ls opt/data
/rootfs # 

我把

docker暂时不能用gid uid,等我看看能不能修复

好的,谢谢

docker暂时不能用gid uid,等我看看能不能修复

神奇,docker可以用,docker-compose还是502
docker-compose除过比docker多挂了目录外,也没有什么差异啊

docker run -it --rm --privileged -p 5055:5055 --name=xunlei1 \
  -e XUNLEI_AUTH_USER=xxx \
  -e XUNLEI_AUTH_PASSWORD=xxx \
  -e XUNLEI_DEBUG=true \
  gngpp/xunlei:latest
  thunder:
    image: gngpp/xunlei:latest
    privileged: true
    container_name: thunder
    environment:
      XUNLEI_AUTH_USER: "xxx"
      XUNLEI_AUTH_PASSWORD: "xxx"
      XUNLEI_DEBUG: true
    ports:
      - 5055:5055
    volumes:
      - /mydata/Downloads/gngpp:/opt/data
      - /mydata/Downloads:/downloads
    restart: unless-stopped
09/16 09:22:46.71 INFO get version list [] map[hour:9]
09/16 09:22:46.71 INFO create client unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock
2023-09-16 09:23:01.353691 UTC - GET / - 55.8us - 303
2023-09-16 09:23:01.385780 UTC - GET /login - 32.9us - 200
2023-09-16 09:23:01.408359 UTC - GET /js/sha3.min.js - 38.8us - 200
2023-09-16 09:23:02.019235 UTC - GET /favicon.ico - 26.2us - 303
2023-09-16 09:23:02.027264 UTC - GET /login - 26.5us - 200
09/16 09:23:06.5 INFO start new version %s3.11.2
09/16 09:23:06.5 ERROR KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:23:06.5 WARNING kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:23:06.5 ERROR launcher file /opt/data/.drive/bin/xunlei-pan-cli.3.11.2.amd64 not executable
09/16 09:23:06.5 ERROR startVersion err:file not executable: 3.11.2 version:3.11.2
09/16 09:23:06.5 ERROR start new version 3.11.2=>3.11.2 err:file not executable: 3.11.2
09/16 09:23:06.5 WARNING launcher version error file not executable: 3.11.2 retry 2
09/16 09:23:06.5 INFO write launcher pid to file /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid 58
2023-09-16 09:23:08.996614 UTC - POST /login - 33.9us - 303
2023-09-16 09:23:09.025989 UTC - GET / - 29.5us - 307
09/16 09:23:09.1 INFO loadenv from /var/packages/pan-xunlei-com/target
09/16 09:23:09.1 INFO [error={"Op":"open","Path":"/var/packages/pan-xunlei-com/target/envconfig","Err":2}&file=/var/packages/pan-xunlei-com/target/envconfig]read envconfig failed use default
09/16 09:23:09.1 INFO getEnvs succ DownloadPATH=/xunlei
09/16 09:23:09.1 INFO getEnvs succ DriveListen=unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock
09/16 09:23:09.1 INFO getEnvs succ ConfigPath=/opt/data
09/16 09:23:09.1 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:23:09.1 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:23:09.1 INFO [report=true&use_path=/opt/data/.drive/plugins]getPluginPATH
09/16 09:23:09.1 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:23:09.1 INFO setDownloadAlias DriveFileMount :map[]
09/16 09:23:09.1 INFO config.init getEnvStrArray DownloadPATH:[/xunlei] len:1
09/16 09:23:09.1 INFO config.init init succ: &{isInit:true NasIDKey: NasId: NasSubIdKey: NasSubId: DeviceId: WorkDir: BinPath:/var/packages/pan-xunlei-com/target Platform: PathSplit:: DownloadPATHs:[/xunlei] TorrentPath: DriveFileMount:map[] PluginTokenDuration:5h0m0s PluginPATH:/opt/data/.drive/plugins AuthTokenPATH: DriveArgs: DrivePlayer: DriveListen:unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock DrivePortFile: DriveLogLevel:info DriveLogFile: DriveLogSize:10MB DriveLogFormat: DriveUpdate: DriveConfigPATH:/opt/data DrivePIDFile: DriveInfoFile: DrivePublicPort:21603 FreePortRange:[] FreePortRangeUDP:[] LauncherLogFile: LauncherLogSize: LauncherPIDFile: LauncherListen:127.0.0.1:5051 NfoIsDisable: RefreshTokenDuration:1h KvCacheDuration:24h0m0s TaskCfgPath: ScrapeCacheDuration:24h0m0s SyncWatchDogDuration:30m0s CachePATH: DeviceSpace: DeviceName: TLSInsecureSkipVerify:true ImportTask:true SingleTaskMaxMB:100 SingleTaskReserveMB:20 OverallShareMaxMB:200 ThirdAuthURL: PanCliEnv: GeneDBShadowFileDuration:24h DebugPrintFileEvents:[] GossipFile:/opt/data/.drive/gossip.json PluginWithBash:false Webhook:{Modules:map[] URL:} HostXluser:https://xluser-ssl.xunlei.com HostApiPan:https://api-pan.xunlei.com HostShoulei:https://api-shoulei-ssl.xunlei.com HostHighSpeedFlow:https://api-pan.xunlei.com EnableTaskCfg:true WebhookHealthzToken:}
09/16 09:23:09.1 INFO start detect platform
09/16 09:23:09.1 INFO Detector.Detect envPlatform:
09/16 09:23:09.1 ERROR DetectPlatform err:env PLATFORM=lexar:ea94acab567b9cc724e943be3e4ac5c5 not exist name:lexar
09/16 09:23:09.1 ERROR DetectPlatform err:stat /.dockerenv: no such file or directory name:docker
09/16 09:23:09.1 ERROR DetectPlatform err:env PLATFORM=zspace:a68b3d890b860d0165a8f6f66acc6d45 not exist name:zspace
09/16 09:23:09.1 INFO detect platform: synology X9ibISwpIp8jQ4Ya nasid: labels: [withQrcodeLogin withOtherAuthLogin withPlugin withPreviewPrivilege allowUseConfigPathAsCachePath withRootDiskSelect withInstallLocalPlugin withHighSpeedFlowCtrl withFetchFolder withSyncDriveFile withUserResetScrapeResult]
2023/09/16 09:23:09 Failed to dial: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023/09/16 09:23:09 http: proxy error: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023-09-16 09:23:09.046747 UTC - GET /webman/3rdparty/pan-xunlei-com/index.cgi/ - 59.3ms - 502
09/16 09:23:11.3 INFO loadenv from /var/packages/pan-xunlei-com/target
09/16 09:23:11.3 INFO [file=/var/packages/pan-xunlei-com/target/envconfig&error={"Op":"open","Path":"/var/packages/pan-xunlei-com/target/envconfig","Err":2}]read envconfig failed use default
09/16 09:23:11.3 INFO getEnvs succ DownloadPATH=/xunlei
09/16 09:23:11.3 INFO getEnvs succ DriveListen=unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock
09/16 09:23:11.3 INFO getEnvs succ ConfigPath=/opt/data
09/16 09:23:11.3 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:23:11.3 INFO [config_path=/opt/data/.drive/&device_space=]use config
09/16 09:23:11.3 INFO [report=true&use_path=/opt/data/.drive/plugins]getPluginPATH
09/16 09:23:11.3 INFO [config_path=/opt/data/.drive/&device_space=]use config
09/16 09:23:11.3 INFO setDownloadAlias DriveFileMount :map[]
09/16 09:23:11.31 INFO config.init getEnvStrArray DownloadPATH:[/xunlei] len:1
09/16 09:23:11.31 INFO config.init init succ: &{isInit:true NasIDKey: NasId: NasSubIdKey: NasSubId: DeviceId: WorkDir: BinPath:/var/packages/pan-xunlei-com/target Platform: PathSplit:: DownloadPATHs:[/xunlei] TorrentPath: DriveFileMount:map[] PluginTokenDuration:5h0m0s PluginPATH:/opt/data/.drive/plugins AuthTokenPATH: DriveArgs: DrivePlayer: DriveListen:unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock DrivePortFile: DriveLogLevel:info DriveLogFile: DriveLogSize:10MB DriveLogFormat: DriveUpdate: DriveConfigPATH:/opt/data DrivePIDFile: DriveInfoFile: DrivePublicPort:21603 FreePortRange:[] FreePortRangeUDP:[] LauncherLogFile: LauncherLogSize: LauncherPIDFile: LauncherListen:127.0.0.1:5051 NfoIsDisable: RefreshTokenDuration:1h KvCacheDuration:24h0m0s TaskCfgPath: ScrapeCacheDuration:24h0m0s SyncWatchDogDuration:30m0s CachePATH: DeviceSpace: DeviceName: TLSInsecureSkipVerify:true ImportTask:true SingleTaskMaxMB:100 SingleTaskReserveMB:20 OverallShareMaxMB:200 ThirdAuthURL: PanCliEnv: GeneDBShadowFileDuration:24h DebugPrintFileEvents:[] GossipFile:/opt/data/.drive/gossip.json PluginWithBash:false Webhook:{Modules:map[] URL:} HostXluser:https://xluser-ssl.xunlei.com HostApiPan:https://api-pan.xunlei.com HostShoulei:https://api-shoulei-ssl.xunlei.com HostHighSpeedFlow:https://api-pan.xunlei.com EnableTaskCfg:true WebhookHealthzToken:}
09/16 09:23:11.31 INFO start detect platform
09/16 09:23:11.31 INFO Detector.Detect envPlatform:
09/16 09:23:11.31 ERROR DetectPlatform err:env PLATFORM=lexar:ea94acab567b9cc724e943be3e4ac5c5 not exist name:lexar
09/16 09:23:11.31 ERROR DetectPlatform err:stat /.dockerenv: no such file or directory name:docker
09/16 09:23:11.31 ERROR DetectPlatform err:env PLATFORM=zspace:a68b3d890b860d0165a8f6f66acc6d45 not exist name:zspace
09/16 09:23:11.31 INFO detect platform: synology X9ibISwpIp8jQ4Ya nasid: labels: [withQrcodeLogin withOtherAuthLogin withPlugin withPreviewPrivilege allowUseConfigPathAsCachePath withRootDiskSelect withInstallLocalPlugin withHighSpeedFlowCtrl withFetchFolder withSyncDriveFile withUserResetScrapeResult]
2023/09/16 09:23:11 Failed to dial: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023/09/16 09:23:11 http: proxy error: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023-09-16 09:23:11.250559 UTC - GET /webman/3rdparty/pan-xunlei-com/index.cgi/ - 61.9ms - 502
09/16 09:23:16.76 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["user_id","in","737602543","190725001","855720291","838406881","228546131","256148940","5860805431","284819130","278937470","252654726"]},{"match":["user_id","in","278937470","251044528","1326477","653746584","745324194","252007571","745522874","654875186","25253890","133695995","375430455","25804265","843492209","134161831","55983967","375792247","658718064","258066121","74963098","134528176","659207639","260855875","135104410","751667809","66034538","559986467","754462250","660650288","260877669","56047929","136467368","756134720","560822695","13806118","38027751","261879","660730427","560869895","846668351","138366959","3806579","26246396","663205553","382304565","263265951","565792994","138408429","663551705","3837170","56654045","138667816","386397157","666908145","760546507","56715105","139573347","387228","847842685","668285739","139615824","567572488","761132899","26533077","3882740","668369083","568147219","84789018","14141967","76177287","669559335","39064485","847975896","670248693","272888341","848075345","143069427","27751952","672354596","143195024","574342440","278344598","763350911","672920014","14335079","278686286","676101978","144380643","278780669","676581745","575074061","676784651","849656464","677937491","1460722","849700988","678120699","850908028","14712394","281791470","580976070","678210568","28481233","851160991","582733710","775849639","678454046","775899945","586553104","776091135","853813927","77655098","29133977","854044151","77725977","85422254","293376855","777391346","680517124","59003253","149226182","295146943","854580758","778855494","680684324","855864686","681698725","149551142","6839351","29910818","5907955","149568823","299118928","59080532","5920141","780378797","150151347","783023243","593727890","857727981","150923123","783799207","858352643","15104541","689454600","785084316","15162079","691433011","858724825","691450122","151757057","858804282","152412361","597433746","6934658","152798207","597748196","693701547","859737209","860838096","694518374","154429206","787038796","695096463","599202791","154566024","861443","154841259","788987956","789823123","699466866","861903182","155836122","789982589","6999250","156756996","793484472","600386","793942968","610548312","862609337","15732215","635128941","862711064","79527395","795999","15732916","862779483","15745623","862960395","798137558","157673776","863920468","158194120","864210946","729675206","158471779","864338858","74918811","15870457","865606400","158945686","865718956","866219400","159226055","867666809","159849917","16143277","161618970","868779659","161714106","16638399","167157442","868882986","868887595","169206049","169886970","170048760","170165706","870540606","170454658","170514114","870913744","171018712","871159001","171972268","871748726","17235751","872043655","175828671","176559342","17867919","872899086","873062865","873733043","180892741","181532944","875075675","182030320","875116304","182784813","875308673","1832519","184805877","875399191","875438145","18547287","875513083","18683633","876972659","877525059","878684431","878709858","19128861","191385262","879956668","880224750","19144734","19216040","193134569","19348965","1978577","842131721","199107636","133267483","374909133","843174624","74778934","37823704","758432258","758975487","264732756","846709448","399110424","569792974","848596545","574701799","849193927","765349025","14452542","769524980","28158740","575296802","772872424","852583400","148756392","289196984","679475228","587998669","29796648","779160549","150112123","857694532","68908476","593981996","859444979","788693302","861597887","15499015","697750275","868905005","176969531","872105712","1853176","88214810"]}]}] []} map[hour:9]
09/16 09:23:16.76 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["user_id","notIn","0"]}]}] []} map[hour:9]
09/16 09:23:16.76 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {}] []} map[hour:9]
09/16 09:23:16.76 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["user_id","notIn","0"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["user_id","in","540961191","168781425","398665435","743319635","8429088","877014517","86895216","127756923","41964005","114693321","659337124","349298120","35990661","1144807","536452810","278870368","55394038","307967428","640673357","76776030","763572","565200880","583484080","437154734","1910576","17161539","798151967","783826598","604659258","711308568","201746240","735634294","857168549","214775467","19534985","729884237","108601202","44934962","689744503","132334460","31870193","908759377","729273695","268843875","273238339","49242803","902971234","193816487","736041666","143574668","67287476","521718616","6895553","483898904","98660563","154767383","34310099","906874439","831730296","648003382","318129722","461334120","136687764","2843172","6004206","442688643","582309189","41556936","9224233","822203146","16705190","901138077","824108608","575124466","198391346","908562843","686646297","113128923","776839094","906385593","172973122","578892294","6768079","183966095","559168683","901079268","755906084","150912706","209523598","127896335","862193274","731066191","705984211","1081914","715121579","869306548","742629215","1239633","797541711","494101764","253112095","568876317","848928716","135729400","14606471","17457649","338605158","641871109","83630627","735303174","9573373","738833337","825771537","80418662","612237238","79429612","802184276","897219480","270162265","43127894","549395916","293101160","71162873","789913402","75398982","898176240","320418816","20889233","896270362","559685687","9192","94815946","602050601","13392458","2217458","698759","157664760","894732536","825922690","10485280","20053537","27584633","583117398","666305052","63856748","903597162","82564572","830681621","111642007","751800539","146640080","37779494","3246100","34943171","713556172","883533288","355588127","624005897","831191644","664499721","97573882","70399","871114017","12287698","680381821","771343932","824165422","30720397","532649741","782296611","606174089","10746824","760239363","222265423","890283878","75542443","903904405","662427606","19481418","298074097","811035879","172847969","833098122","408359793","747640360","366590570","347608923","98123018","280768788","860969296","580697390","460425667","119687245","75024698","204184545","896405524","217672787","397757517","256428030","207443558","823296560","273953360","94872186","744546011","631358943","31099703","264071","86449092","692968250","618447581","855745930","312556981","742588151","14866861","769909839","793632632","597407173","224762184","601442902","131894874","74160043","251140780","129606338","745724017","21354353","631760231","10877981","904560103","11195956","16668869","730262744","167485326","553903361","738043413","9100074","378812389","310017591","12497371","462603091","834940346","154618075","61674","871870794","15094115","243607185","696631356","116026090","712042048","695222733","69463010","549180703","149173096","225151923","599122522","824345306","649198419","7199654","399142132","14963822","362668375","260258858","18406989","258312687","877488228","143291337","62770441","149385845","883966524","48317609","1133434","377013654","103860673","831414806","157455396","853155280","823927124","46605199","535093249","693952883","889639012","759939960","26250234","802916950","836979972","874890506","48014879","694333287","889077436","898124287","662772275","532384228","538946212","741652262","745932280","640335721","172002146","700682651","553900700","68256785","671456023","766127308","613218553","775343324","896461716","9739936","158175085","116700430","94670127","579018543","47532445","631320457","46480654","746939892","592008822","690165508","227785372","5118225","735980970","906723987","804875531","62089952","771667537","27635068","782876271","38044","836657616","874231666","822086323","590031569","5199264","2832915","11146998","55890682","43580699","597987619","790093975","589910620","76885683","867143323","702434945","245285316","835495","4141896","6953553","769848676","3058442","413459062","1946209","748188117","574790170","864359232","19292450","309151274","880964113","36626886","672493957","38662048","28730370","13934521","28565691","106255681","131685537","859871549","25535194","838673700","168690842","850627672","50648451","760399583","541285898","43848769","833699856","223741881","838406881","907423926","879807012","863540931","722995145","849474040","847402587","215026407","908068848","69376841","675536243","291117064","159950286","10819322","725818596","5485760","830953525","166153311","741493087","907707962","699509648","23051772","397884196","143595146","724198602","743061244","81825810","908625133","864802979","569639840","722624276","158084690","843841685","29475890","658499599","798535442","606174089","60654863","808842470","8583714","8078690","709690576","6842068","398838291","695304137","588627869","549245858","7249834","6669343","38942378","610411452","776848782","208287870","25660971","35655496","60481318","23581917","260202228","201816176","512006184","228546131","807012255","577941302","123369008","573771831","158240418","170909015","654168053","704145285","335518056","1133321","417271815","659388728","218524038","363342771","842483212","878212472","662671098","629835882","541906519","13915635","204771353","5011175","128418167","67155728","129821324","593003830","205339429","257769727","825922690","850031412","515786241","140018549","602903008","621346534","641871109","29610078","281791470","95459043","627858792","669785391","805088738","638149799","53838597","641958233","825771537","909495731","12451964","627110384","812513769","55995891","147476024","85202776","485175225","531738525","5221757","303288253","566283037","129284991","546816194","1540772","832784785","720581136","676171426","133365804","830853889","777090955","654546813","713072193","866079432","900124100","228732797","742254287","535371579","33925172","908871279","263632241","680403716","641871109","14724646","49811737","309321150","295780325","516055565","701277493","408359793","22260143","673996858","287226414","291921479","4055748","37712032","578954365"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["user_id","notIn","0"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["client_version","in","0"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["client_version","notIn","0"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["client_version","notIn","0"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"matchAny":[{"match":["client_version","notIn","0"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO filter not match { false map[] map[] map[] <nil> null [{"match":["platform","in","synology","linux"]} {"match":["hour","in","5","6","7","8"]} {"matchAny":[{"match":["user_id","in","737602543","827350621","728680263"]},{"match":["user_id","in","111642007","701875897","838406881"]},{"match":["user_id","hasSuffix","6"]},{"match":["user_id","hasSuffix","7"]},{"match":["user_id","hasSuffix","8"]},{"match":["user_id","hasSuffix","9"]}]}] []} map[hour:9]
09/16 09:23:16.77 INFO get version list [] map[hour:9]
09/16 09:23:36.5 INFO start new version %s3.11.2
09/16 09:23:36.5 ERROR KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:23:36.5 WARNING kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:23:36.5 ERROR launcher file /opt/data/.drive/bin/xunlei-pan-cli.3.11.2.amd64 not executable
09/16 09:23:36.5 ERROR startVersion err:file not executable: 3.11.2 version:3.11.2
09/16 09:23:36.5 ERROR start new version 3.11.2=>3.11.2 err:file not executable: 3.11.2
09/16 09:23:36.5 WARNING launcher version error file not executable: 3.11.2 retry 3
09/16 09:23:36.5 INFO write launcher pid to file /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid 58
09/16 09:24:16.5 INFO start new version %s3.11.2
09/16 09:24:16.5 ERROR KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:24:16.5 WARNING kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:24:16.5 ERROR launcher file /opt/data/.drive/bin/xunlei-pan-cli.3.11.2.amd64 not executable
09/16 09:24:16.5 ERROR startVersion err:file not executable: 3.11.2 version:3.11.2
09/16 09:24:16.5 ERROR start new version 3.11.2=>3.11.2 err:file not executable: 3.11.2
09/16 09:24:16.5 WARNING launcher version error file not executable: 3.11.2 retry 4
09/16 09:24:16.5 INFO write launcher pid to file /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid 58
2023-09-16 09:24:55.763668 UTC - GET / - 67.5us - 303
2023-09-16 09:24:55.771122 UTC - GET /login - 42.6us - 200
2023-09-16 09:24:55.823723 UTC - GET /js/sha3.min.js - 53.1us - 200
2023-09-16 09:24:55.906673 UTC - GET /favicon.ico - 23.3us - 303
2023-09-16 09:24:55.908508 UTC - GET /login - 29.8us - 200
2023-09-16 09:25:01.187104 UTC - POST /login - 145.7us - 303
2023-09-16 09:25:01.194647 UTC - GET / - 22.9us - 307
09/16 09:25:01.26 INFO loadenv from /var/packages/pan-xunlei-com/target
09/16 09:25:01.26 INFO [error={"Op":"open","Path":"/var/packages/pan-xunlei-com/target/envconfig","Err":2}&file=/var/packages/pan-xunlei-com/target/envconfig]read envconfig failed use default
09/16 09:25:01.26 INFO getEnvs succ DownloadPATH=/xunlei
09/16 09:25:01.26 INFO getEnvs succ DriveListen=unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock
09/16 09:25:01.26 INFO getEnvs succ ConfigPath=/opt/data
09/16 09:25:01.26 INFO [device_space=&config_path=/opt/data/.drive/]use config
09/16 09:25:01.26 INFO [config_path=/opt/data/.drive/&device_space=]use config
09/16 09:25:01.26 INFO [report=true&use_path=/opt/data/.drive/plugins]getPluginPATH
09/16 09:25:01.26 INFO [config_path=/opt/data/.drive/&device_space=]use config
09/16 09:25:01.26 INFO setDownloadAlias DriveFileMount :map[]
09/16 09:25:01.26 INFO config.init getEnvStrArray DownloadPATH:[/xunlei] len:1
09/16 09:25:01.26 INFO config.init init succ: &{isInit:true NasIDKey: NasId: NasSubIdKey: NasSubId: DeviceId: WorkDir: BinPath:/var/packages/pan-xunlei-com/target Platform: PathSplit:: DownloadPATHs:[/xunlei] TorrentPath: DriveFileMount:map[] PluginTokenDuration:5h0m0s PluginPATH:/opt/data/.drive/plugins AuthTokenPATH: DriveArgs: DrivePlayer: DriveListen:unix:///var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock DrivePortFile: DriveLogLevel:info DriveLogFile: DriveLogSize:10MB DriveLogFormat: DriveUpdate: DriveConfigPATH:/opt/data DrivePIDFile: DriveInfoFile: DrivePublicPort:21603 FreePortRange:[] FreePortRangeUDP:[] LauncherLogFile: LauncherLogSize: LauncherPIDFile: LauncherListen:127.0.0.1:5051 NfoIsDisable: RefreshTokenDuration:1h KvCacheDuration:24h0m0s TaskCfgPath: ScrapeCacheDuration:24h0m0s SyncWatchDogDuration:30m0s CachePATH: DeviceSpace: DeviceName: TLSInsecureSkipVerify:true ImportTask:true SingleTaskMaxMB:100 SingleTaskReserveMB:20 OverallShareMaxMB:200 ThirdAuthURL: PanCliEnv: GeneDBShadowFileDuration:24h DebugPrintFileEvents:[] GossipFile:/opt/data/.drive/gossip.json PluginWithBash:false Webhook:{Modules:map[] URL:} HostXluser:https://xluser-ssl.xunlei.com HostApiPan:https://api-pan.xunlei.com HostShoulei:https://api-shoulei-ssl.xunlei.com HostHighSpeedFlow:https://api-pan.xunlei.com EnableTaskCfg:true WebhookHealthzToken:}
09/16 09:25:01.26 INFO start detect platform
09/16 09:25:01.26 INFO Detector.Detect envPlatform:
09/16 09:25:01.26 ERROR DetectPlatform err:env PLATFORM=lexar:ea94acab567b9cc724e943be3e4ac5c5 not exist name:lexar
09/16 09:25:01.26 ERROR DetectPlatform err:stat /.dockerenv: no such file or directory name:docker
09/16 09:25:01.26 ERROR DetectPlatform err:env PLATFORM=zspace:a68b3d890b860d0165a8f6f66acc6d45 not exist name:zspace
09/16 09:25:01.26 INFO detect platform: synology X9ibISwpIp8jQ4Ya nasid: labels: [withQrcodeLogin withOtherAuthLogin withPlugin withPreviewPrivilege allowUseConfigPathAsCachePath withRootDiskSelect withInstallLocalPlugin withHighSpeedFlowCtrl withFetchFolder withSyncDriveFile withUserResetScrapeResult]
2023/09/16 09:25:01 Failed to dial: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023/09/16 09:25:01 http: proxy error: dial unix /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.sock: connect: no such file or directory
2023-09-16 09:25:01.199605 UTC - GET /webman/3rdparty/pan-xunlei-com/index.cgi/ - 63.3ms - 502
09/16 09:25:06.5 INFO start new version %s3.11.2
09/16 09:25:06.5 ERROR KillDrivePid ioutil.ReadFile err:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:25:06.5 WARNING kill process error:open /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid.child: no such file or directory
09/16 09:25:06.5 ERROR launcher file /opt/data/.drive/bin/xunlei-pan-cli.3.11.2.amd64 not executable
09/16 09:25:06.5 ERROR startVersion err:file not executable: 3.11.2 version:3.11.2
09/16 09:25:06.5 ERROR start new version 3.11.2=>3.11.2 err:file not executable: 3.11.2
09/16 09:25:06.5 WARNING launcher version error file not executable: 3.11.2 retry 5
09/16 09:25:06.5 INFO write launcher pid to file /var/packages/pan-xunlei-com/target/var/pan-xunlei-com.pid 58

docker 刚启动的时候,会检查挂载的目录是否存在,不存在则自动创建,但是自动创建的目录所有者是 root 而不是你指定的 uid,所以不出意外你把 /mydata/Downloads/gngpp chown 给你指定的 uid 就没问题了。

PS:并且一般情况下不建议嵌套挂载,比如你的 docker-compose 里挂载了 /mydata/Downloads/gngpp 又挂载了 /mydata/Downloads