debridmediamanager / zurg-testing

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.
480 stars 36 forks source link

Bug: Docker stuck at starting #59

Closed subexx closed 9 months ago

subexx commented 9 months ago

Expected Behavior Docker starts

Actual Behavior Docker stuck at starting Detailed Steps I have followed the tutorial to set up the docker. But zurg container is stuck at starting.

Operating System Ubuntu

Environment Setup

version: '3.8'

services:
  zurg:
    image: ghcr.io/debridmediamanager/zurg-testing:latest
    restart: unless-stopped
    ports:
      - 9999:9999
    volumes:
      - ./plex_update.sh:/app/plex_update.sh
      - ./config.yml:/app/config.yml
      - zurgdata:/app/data

  rclone:
    image: rclone/rclone:latest
    restart: unless-stopped
    environment:
      TZ: Australia/Melbourne
      PUID: 1001
      PGID: 1001
    volumes:
      - /mnt/zurg:/data:rshared
      - ./rclone.conf:/config/rclone/rclone.conf
    cap_add:
      - SYS_ADMIN
    security_opt:
      - apparmor:unconfined
    devices:
      - /dev/fuse:/dev/fuse:rwm
    depends_on:
      - zurg
    command: "mount zurg: /data --allow-other --allow-non-empty --dir-cache-time 10s --vfs-cache-mode full"

volumes:
  zurgdata:

Logs

Logging to logs/zurg-2024-01-29.log
2024-01-29T08:22:21.045Z    DEBUG   zurg    PID: 1
2024-01-29T08:22:21.046Z    INFO    zurg    Version: v0.9.3-hotfix.3
2024-01-29T08:22:21.046Z    INFO    zurg    GitCommit: 60c2d8cac277942680cf78464980377dbddc8726
2024-01-29T08:22:21.046Z    INFO    zurg    BuiltAt: 2024-01-29T02:40:21
2024-01-29T08:22:21.046Z    INFO    zurg    Debug logging is enabled; if you are not debugging please set LOG_LEVEL=info in your environment
2024-01-29T08:22:21.046Z    DEBUG   config  Loading config file ./config.yml
2024-01-29T08:22:21.046Z    DEBUG   config  Config version: v1
2024-01-29T08:22:21.346Z    DEBUG   httpclient  Fetched 44 IPv6 hosts
2024-01-29T08:22:27.468Z    ERROR   realdebrid  Error when executing the user information request: Get "https://api.real-debrid.com/rest/1.0/user": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:27.468Z    ERROR   realdebrid  Error when executing the get torrents request: Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1000&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:27.468Z    ERROR   zurg    Failed to get user information: Get "https://api.real-debrid.com/rest/1.0/user": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:27.468Z    WARN    manager Cannot get torrents: Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1000&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:33.470Z    ERROR   realdebrid  Error when executing the get torrents request: Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:33.470Z    WARN    manager Checksum API Error (GetTorrents): Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:33.470Z    INFO    manager Starting periodic repair job
2024-01-29T08:22:33.470Z    INFO    manager Starting periodic refresh job
2024-01-29T08:22:33.480Z    DEBUG   dlclient    Fetched 44 IPv6 hosts
2024-01-29T08:22:33.481Z    INFO    zurg    Starting server on [::]:9999
2024-01-29T08:22:49.473Z    ERROR   realdebrid  Error when executing the get torrents request: Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:49.473Z    WARN    manager Checksum API Error (GetTorrents): Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:59.473Z    ERROR   realdebrid  Error when executing the get torrents request: Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address
2024-01-29T08:22:59.473Z    WARN    manager Checksum API Error (GetTorrents): Get "https://api.real-debrid.com/rest/1.0/torrents?limit=1&page=1": dial tcp [2a10:13c0:ef1c::10]:443: connect: cannot assign requested address

Rclone Configuration

[zurg]
type = webdav
url = http://zurg:9999/dav
vendor = other
pacer_min_sleep = 0

[zurghttp]
type = http
url = http://zurg:9999/http
no_head = false
no_slash = false

Zurg Configuration


zurg: v1
token: 4LMUCTXXXXXXXXXXXXXXXXXXXXXXXXXXX
host: "[::]"
port: 9999

# username:
# password:
# proxy:
concurrent_workers: 50
check_for_changes_every_secs: 10
# repair_every_mins: 60
ignore_renames: false
retain_rd_torrent_name: false
retain_folder_name_extension: false
expose_full_path: true
enable_repair: true
auto_delete_rar_torrents: true
# api_timeout_secs: 4
# download_timeout_secs: 2
# enable_download_mount: false
# rate_limit_sleep_secs: 4
# retries_until_failed: 2
# network_buffer_size: 4194304 # 4MB
serve_from_rclone: false
verify_download_link: false
force_ipv6: true
on_library_update: sh plex_update.sh "$@"

directories:
  anime:
    group_order: 10
    group: media
    filters:
      - regex: /\b[a-fA-F0-9]{8}\b/
      - any_file_inside_regex: /\b[a-fA-F0-9]{8}\b/

  shows:
    group_order: 20
    group: media
    filters:
      - has_episodes: true

  movies:
    group_order: 30
    group: media
    only_show_the_biggest_file: true
    filters:
      - regex: /.*/
yowmamasita commented 9 months ago

Should be resolved on v0.9.3-hotfix.4 please check