Docker-transmission-openvpn: Docker Restarting (Possibly a QNAP Bug)

Created on 22 Jul 2018  路  8Comments  路  Source: haugene/docker-transmission-openvpn

Is this container suppose to restart every 30 seconds? Not sure why it would, but as the container is up i can curl ifconfig.co and get a different IP than mine. Here is my docker compose let me know if you see anything wrong?

  transmission-pia:
    image: haugene/transmission-openvpn
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    restart: always
    logging:
      driver: json-file
      options: 
        max-size: "10m"
    dns:
      - 8.8.8.8
      - 8.8.4.4
    volumes:
      - /share/Container/transmission/data:/data
    environment:
      - OPENVPN_PROVIDER=PIA
      - OPENVPN_CONFIG=CA Toronto,CA Montreal,CA Vancouver
      - OPENVPN_USERNAME=x
      - OPENVPN_PASSWORD=x
      - WEBPROXY_ENABLED=true
      - LOCAL_NETWORK=192.168.168.0/24
      - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 --pull-filter ignore ping

Right after port is open: yes, it restarts

STARTING TRANSMISSION
CONFIGURING PORT FORWARDING
Transmission startup script complete.
Wait for tunnel to be fully initialized and PIA is ready to give us a port
STARTING TINYPROXY
Setting tinyproxy port to 8888
Starting tinyproxy: tinyproxy.
Tinyproxy startup script complete.
Sat Jul 21 23:24:35 2018 Initialization Sequence Completed
Got new port 29309 from PIA
transmission auth not required
localhost:9091/transmission/rpc/ responded: "success"
Checking port...
Port is open: Yes
help wanted

All 8 comments

The LOCAL_NETWORK variable looks a little off to me. Can you confirm that's your DHCP?

Yeah thats right I created that subnet. I kind of found the reason. When i run this docker-compose on my mac, it works with no issues.. I think it has to do with my QNAP NAS. There is probably some setting that isn't namespaced that the container is erroring out from.

Could it be your OpenVPN config? There are spaces not wrapped around quotes. Just a wild guess.

I dont think so.. Like I said the same docker-compose worked on my mac. I was reading somewhere that it you had to have qvpn installed on the qnap.. idk.. lol

Wish I could help more, I use Synology at the moment.

I appreciate it brother!

I had the same issue with my QNAP. After I updated it to the latest version it started working properly.

I have a TS-253A running V 4.3.4.0644

@kylecribbs Have you tried updating your QNAP? Seems like the issue is resolved by @mariusasirum! Closing for now until there are more issues arising! Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jsloan117 picture jsloan117  路  3Comments

SuperJakish picture SuperJakish  路  4Comments

silentArtifact picture silentArtifact  路  3Comments

haugene picture haugene  路  4Comments

callahan22 picture callahan22  路  4Comments