haugene / docker-transmission-openvpn

Docker container running Transmission torrent client with WebUI over an OpenVPN tunnel
GNU General Public License v3.0
4.14k stars 1.21k forks source link

Metadata not being downloaded. stuck Retrieving metadata. #403

Closed aprillia99 closed 6 years ago

aprillia99 commented 6 years ago

have 30-40 torrent that is stuck retrieving metadata. Other torrents work fine. They are typically the torrents that are hard to find as well.

I am using PIA, and I have opened my ports and tried uPNP. I have also tried to disable uTP still nothing. When I run transmission-remote --port-test it says my port is open. Any thoughts?

haugene commented 6 years ago

I'm blank, and seems this issue has been stale for a while. Any news? Never had a problem with it and as long as other torrents are working then I think the container is working as it should. Have you tried these torrents in a non-containerized environment, do they work there. Need to check this to be sure this is an issue with the container itself. Closing for now, reopen if you have something that points to the container and not the torrents.

ATXMJ commented 6 years ago

@aprillia99 @haugene I'm having this same issue. Torrents never begin downloading, perpetually stuck in "downloading metadata". But I haven't been able to get any torrents at all to work. Tested them on a different system and they download fine. Did either of you ever figure anything out with this?

edit: I should mention I'm using docker-transmission-openvpn in a combined docker-compose with several other service containers. It's possible this is an issue with my configuration(s). Here is the docker-compose.yml:

version: '3'

networks:
  bridge:
    driver: bridge

services:
  proxy:
    image: traefik
    container_name: proxy
    command: --web.address=":${ADMIN_PORT}" --docker.domain="${DOCKER_DOMAIN}" --docker.usebindportip=true --acme.email="${ACME_EMAIL}"
    networks:
      - bridge
    ports:
      - "80:80" # for the HTTP -> HTTPS redirection
      - "443:443"
      - "${ADMIN_PORT}:${ADMIN_PORT}"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - ./traefik.toml:/etc/traefik/traefik.toml:ro
      - ./acme/:/etc/traefik/acme

  plex:
    image: plexinc/pms-docker:latest
    container_name: plex
    restart: always
    ports:
      - "32400:32400"
    networks:
      - bridge
    environment:
      - PLEX_CLAIM="${PLEX_TOKEN}"
      - ADVERTISE_IP="https://plex.${DOMAIN_NAME}/"
      - PLEX_UID=${USER_ID}
      - PLEX_GID=${GROUP_ID}
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./media/radarr/movies:/data/movies
      - ./media/sonarr/series:/data/tvshows
      - ./media/plex/config/:/config
      - /tmp/transcode/:/transcode
    labels:
      - "traefik.enable=true"
      - "traefik.backend=plex"
      - "traefik.frontend.rule=Host:plex.${DOMAIN_NAME}"
      - "traefik.port=32400"
      - "traefik.docker.network=web"
    depends_on:
      - proxy
      - transmission
      - sonarr
      - radarr

  plexpy:
    image: linuxserver/plexpy:latest
    container_name: plexpy
    restart: always
    ports:
      - "8181:8181"
    networks:
      - bridge
    environment:
      - PUID=${USER_ID}
      - PGID=${GROUP_ID}
    volumes:
      - ./media/plexpy:/config
      - ./media/plex/config/Library/Application\ Support/Plex\ Media\ Server/Logs:/logs:ro
    labels:
      - "traefik.enable=true"
      - "traefik.backend=plexpy"
      - "traefik.frontend.rule=Host:plexpy.${DOMAIN_NAME}"
      - "traefik.port=8181"
      - "traefik.docker.network=web"
    depends_on:
      - proxy
      - plex

  transmission:
    image: haugene/transmission-openvpn:latest
    container_name: transmission
    restart: always
    privileged: true
    ports:
      - "9091:9091"
    networks:
      - bridge
    environment:
      - PUID=${USER_ID}
      - PGID=${GROUP_ID}
      - OPENVPN_PROVIDER=${VPN_PROVIDER}
      - OPENVPN_CONFIG=${VPN_CONFIG}
      - OPENVPN_USERNAME=${VPN_USERNAME}
      - OPENVPN_PASSWORD=${VPN_PASSWORD}
      - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
      - LOCAL_NETWORK=${LOCAL_NEWORK_RANGE}
    devices:
      - /dev/net/tun
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./media/transmission/config/:/config
      - ./media/transmission/downloads/:/downloads
    labels:
      - "traefik.enable=true"
      - "traefik.backend=transmission"
      - "traefik.frontend.rule=Host:transmission.${DOMAIN_NAME}"
      - "traefik.port=9091"
      - "traefik.docker.network=bridge"
    depends_on:
      - proxy

  sonarr:
    image: linuxserver/sonarr:latest
    container_name: sonarr
    restart: always
    ports:
      - "8989:8989"
    networks:
      - bridge
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /dev/rtc:/dev/rtc:ro
      - ./media/sonarr/series:/tv
      - ./media/sonarr/config:/config
      - ./media/transmission/downloads/:/downloads
    environment:
      - PUID=${USER_ID}
      - PGID=${GROUP_ID}
    labels:
      - "traefik.enable=true"
      - "traefik.backend=sonarr"
      - "traefik.frontend.rule=Host:sonarr.${DOMAIN_NAME}"
      - "traefik.port=8989"
      - "traefik.docker.network=web"
    depends_on:
      - proxy
      - transmission

  radarr:
    image: linuxserver/radarr:latest
    container_name: radarr
    restart: always
    ports:
      - "7878:7878"
    networks:
      - bridge
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /dev/rtc:/dev/rtc:ro
      - ./media/radarr/movies:/movies
      - ./media/radarr/config:/config
      - ./media/transmission/downloads/:/downloads
    environment:
      - PUID=${USER_ID}
      - PGID=${GROUP_ID}
    labels:
      - "traefik.enable=true"
      - "traefik.backend=radarr"
      - "traefik.frontend.rule=Host:radarr.${DOMAIN_NAME}"
      - "traefik.port=7878"
      - "traefik.docker.network=web"
    depends_on:
      - proxy
      - transmission

  # Proxy to a bunch of public trackers
  jackett:
    image: linuxserver/jackett:latest
    container_name: jackett
    restart: always
    ports:
      - "9117:9117"
    networks:
      - bridge
    volumes:
      - ./media/jackett/config/:/config
      - ./media/transmission/downloads/:/downloads
    environment:
      - PUID=${USER_ID}
      - PGID=${GROUP_ID}
    labels:
      - "traefik.enable=true"
      - "traefik.backend=jackett"
      - "traefik.frontend.rule=Host:jackett.${DOMAIN_NAME}"
      - "traefik.port=9117"
      - "traefik.docker.network=web"
    depends_on:
      - proxy

  ombi:
    image: linuxserver/ombi
    container_name: ombi
    restart: always
    ports:
      - "3579:3579"
    networks:
      - bridge
    environment:
      - PUID=${USER_ID}
      - PGID=${GROUP_ID}
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./media/ombi/config:/config
    labels:
      - "traefik.enable=true"
      - "traefik.backend=ombi"
      - "traefik.frontend.rule=Host:ombi.${DOMAIN_NAME}"
      - "traefik.port=3579"
      - "traefik.docker.network=web"
    depends_on:
      - proxy
      - sonarr
      - radarr
JoooostB commented 6 years ago

Does anyone of you manage to fix this issue? I'm experiencing exactly the same.

haugene commented 6 years ago

552, for @JoooostB this was a DNS thing. Could it be the same for you? I see you're not setting dns options in your docker-compose.

dhjw commented 2 years ago

In my case transmission-gtk would find peers and metadata download percentage would increase but never get to 100% before dropping back to 0%. I looked in Help > Message Log and saw an error Couldn't save temporary file /home/d/.config/ ... and Unable to save torrent file: File name too long. Simply shortening the filename in the magnet URI and re-adding it to transmission fixed the problem for me.