[Support] Clowrym's Docker Repository


clowrym

Recommended Posts

On 2/22/2020 at 5:16 PM, phoenixdiigital said:

Not sure if this is the right place or not but the "support" link for docker-transmission-openvpn brought me here.

 

I've noticed that Privado VPN has been added to github but it is not showing up as an option in the Docker Setup.

 

https://github.com/haugene/docker-transmission-openvpn/tree/master/openvpn/privado

 

Any assistance in getting this working would be great as the previous VPN service is going offline tomorrow and everyone is migrating to Privado.

 

I found this guide for custom VPNs but it didn't work : https://haugene.github.io/docker-transmission-openvpn/supported-providers/#using_a_custom_provider

I added privado to the template, you will have to use the valuse HERE in the OPENVPN_CONFIG value for whichever endpoint you want. Alternativly you could add all the privado value names to allow them as a drop down.

Link to comment

Thanks I tried that but it still wont start sadly :(

 

I've tested essentially the same openvpn file with a local VPN connection on my laptop and it connects just fine. It just wont connect with this container for some reason. The ovpn file I used is identical to the ones you have with the line auth-user-pass being different obviously.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run
 -d
 --name='Transmission_VPN'
 --net='bridge'
 --privileged=true
 -e TZ="Australia/Sydney"
 -e HOST_OS="Unraid"
 -e 'OPENVPN_USERNAME'='unxxxxxxxxx'
 -e 'OPENVPN_PASSWORD'='xxxxxxxxxxxxxxxx'
 -e 'OPENVPN_CONFIG'='ams-001'
 -e 'OPENVPN_PROVIDER'='PRIVADO'
 -e 'LOCAL_NETWORK'='192.168.0.0/24'
 -e 'TRANSMISSION_RPC_USERNAME'='admin'
 -e 'TRANSMISSION_RPC_PASSWORD'='xxxxxxxxxx'
 -e 'OPENVPN_OPTS'='--inactive 3600
 --ping 10
 --ping-exit 60'
 -e 'PUID'='99'
 -e 'PGID'='100'
 -e 'TRANSMISSION_DOWNLOAD_DIR'='/downloads'
 -e 'TRANSMISSION_RPC_AUTHENTICATION_REQUIRED'='true'
 -e 'TRANSMISSION_RATIO_LIMIT'='1.1'
 -e 'TRANSMISSION_RATIO_LIMIT_ENABLED'='true'
 -e 'TRANSMISSION_DOWNLOAD_QUEUE_SIZE'='15'
 -e 'TRANSMISSION_CACHE_SIZE_MB'='10'
 -e 'TRANSMISSION_INCOMPLETE_DIR'='/downloads/incomplete'
 -e 'TRANSMISSION_WEB_UI'='transmission-web-control'
 -e 'GLOBAL_APPLY_PERMISSIONS'='false'
 -p '9091:9091/tcp'
 -p '1198:1198/udp'
 -v '/mnt/user/media/processing/torrents':'/data':'rw'
 -v '/mnt/user/media/processing/downloaded':'/downloads':'rw'
 -v '/mnt/user/media/processing/watch/':'/watch':'rw'
 -v '/mnt/user/T_Media/Torrent/':'/mnt/user/T_Media/Torrent/':'rw'
 -v '/mnt/user/appdata/Transmission_VPN':'/config':'rw'
 --restart=always
 --log-opt max-size=50m
 --log-opt max-file=1 'haugene/transmission-openvpn' 
2002282xxxxxxxxxxxxxxxxxxxxxxxxxa1f70a636e1

 

It seems to get stuck somewhere on the VPN connection as it gets to 

 

 

Tue Feb 25 19:33:24 2020 Initialization Sequence Completed

 

Then one hour later tries to reconnect.

 

Full Log here https://pastebin.com/VbxGE1C9

 

At no stage is the web GUI ever available.

 

Any ideas would be greatly appreciated.

 

Link to comment

Can you confirm your internal network runs on 192.168.0.0/24?

5 hours ago, phoenixdiigital said:

Thanks I tried that but it still wont start sadly :(

 

I've tested essentially the same openvpn file with a local VPN connection on my laptop and it connects just fine. It just wont connect with this container for some reason. The ovpn file I used is identical to the ones you have with the line auth-user-pass being different obviously.

 


root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run
 -d
 --name='Transmission_VPN'
 --net='bridge'
 --privileged=true
 -e TZ="Australia/Sydney"
 -e HOST_OS="Unraid"
 -e 'OPENVPN_USERNAME'='unxxxxxxxxx'
 -e 'OPENVPN_PASSWORD'='xxxxxxxxxxxxxxxx'
 -e 'OPENVPN_CONFIG'='ams-001'
 -e 'OPENVPN_PROVIDER'='PRIVADO'
 -e 'LOCAL_NETWORK'='192.168.0.0/24'
 -e 'TRANSMISSION_RPC_USERNAME'='admin'
 -e 'TRANSMISSION_RPC_PASSWORD'='xxxxxxxxxx'
 -e 'OPENVPN_OPTS'='--inactive 3600
 --ping 10
 --ping-exit 60'
 -e 'PUID'='99'
 -e 'PGID'='100'
 -e 'TRANSMISSION_DOWNLOAD_DIR'='/downloads'
 -e 'TRANSMISSION_RPC_AUTHENTICATION_REQUIRED'='true'
 -e 'TRANSMISSION_RATIO_LIMIT'='1.1'
 -e 'TRANSMISSION_RATIO_LIMIT_ENABLED'='true'
 -e 'TRANSMISSION_DOWNLOAD_QUEUE_SIZE'='15'
 -e 'TRANSMISSION_CACHE_SIZE_MB'='10'
 -e 'TRANSMISSION_INCOMPLETE_DIR'='/downloads/incomplete'
 -e 'TRANSMISSION_WEB_UI'='transmission-web-control'
 -e 'GLOBAL_APPLY_PERMISSIONS'='false'
 -p '9091:9091/tcp'
 -p '1198:1198/udp'
 -v '/mnt/user/media/processing/torrents':'/data':'rw'
 -v '/mnt/user/media/processing/downloaded':'/downloads':'rw'
 -v '/mnt/user/media/processing/watch/':'/watch':'rw'
 -v '/mnt/user/T_Media/Torrent/':'/mnt/user/T_Media/Torrent/':'rw'
 -v '/mnt/user/appdata/Transmission_VPN':'/config':'rw'
 --restart=always
 --log-opt max-size=50m
 --log-opt max-file=1 'haugene/transmission-openvpn' 
2002282xxxxxxxxxxxxxxxxxxxxxxxxxa1f70a636e1

 

It seems to get stuck somewhere on the VPN connection as it gets to 

 

 

Tue Feb 25 19:33:24 2020 Initialization Sequence Completed

 

Then one hour later tries to reconnect.

 

Full Log here https://pastebin.com/VbxGE1C9

 

At no stage is the web GUI ever available.

 

Any ideas would be greatly appreciated.

 

 

 

Link to comment
6 hours ago, phoenixdiigital said:

Thanks I tried that but it still wont start sadly :(

 

I've tested essentially the same openvpn file with a local VPN connection on my laptop and it connects just fine. It just wont connect with this container for some reason. The ovpn file I used is identical to the ones you have with the line auth-user-pass being different obviously.

 


root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run
 -d
 --name='Transmission_VPN'
 --net='bridge'
 --privileged=true
 -e TZ="Australia/Sydney"
 -e HOST_OS="Unraid"
 -e 'OPENVPN_USERNAME'='unxxxxxxxxx'
 -e 'OPENVPN_PASSWORD'='xxxxxxxxxxxxxxxx'
 -e 'OPENVPN_CONFIG'='ams-001'
 -e 'OPENVPN_PROVIDER'='PRIVADO'
 -e 'LOCAL_NETWORK'='192.168.0.0/24'
 -e 'TRANSMISSION_RPC_USERNAME'='admin'
 -e 'TRANSMISSION_RPC_PASSWORD'='xxxxxxxxxx'
 -e 'OPENVPN_OPTS'='--inactive 3600
 --ping 10
 --ping-exit 60'
 -e 'PUID'='99'
 -e 'PGID'='100'
 -e 'TRANSMISSION_DOWNLOAD_DIR'='/downloads'
 -e 'TRANSMISSION_RPC_AUTHENTICATION_REQUIRED'='true'
 -e 'TRANSMISSION_RATIO_LIMIT'='1.1'
 -e 'TRANSMISSION_RATIO_LIMIT_ENABLED'='true'
 -e 'TRANSMISSION_DOWNLOAD_QUEUE_SIZE'='15'
 -e 'TRANSMISSION_CACHE_SIZE_MB'='10'
 -e 'TRANSMISSION_INCOMPLETE_DIR'='/downloads/incomplete'
 -e 'TRANSMISSION_WEB_UI'='transmission-web-control'
 -e 'GLOBAL_APPLY_PERMISSIONS'='false'
 -p '9091:9091/tcp'
 -p '1198:1198/udp'
 -v '/mnt/user/media/processing/torrents':'/data':'rw'
 -v '/mnt/user/media/processing/downloaded':'/downloads':'rw'
 -v '/mnt/user/media/processing/watch/':'/watch':'rw'
 -v '/mnt/user/T_Media/Torrent/':'/mnt/user/T_Media/Torrent/':'rw'
 -v '/mnt/user/appdata/Transmission_VPN':'/config':'rw'
 --restart=always
 --log-opt max-size=50m
 --log-opt max-file=1 'haugene/transmission-openvpn' 
2002282xxxxxxxxxxxxxxxxxxxxxxxxxa1f70a636e1

 

It seems to get stuck somewhere on the VPN connection as it gets to 

 

 

Tue Feb 25 19:33:24 2020 Initialization Sequence Completed

 

Then one hour later tries to reconnect.

 

Full Log here https://pastebin.com/VbxGE1C9

 

At no stage is the web GUI ever available.

 

Any ideas would be greatly appreciated.

 

I am having the same problem

Link to comment
4 hours ago, clowrym said:

Can you confirm your internal network runs on 192.168.0.0/24?

Yep I can confirm that is my internal network.

 

I have had this docker container working for over a year on the older VPN provider so the config is identical apart from the VPN settings.

 

I've attached the logs from a normal working connection to the VPN provider from my laptop if that helps - https://pastebin.com/LCJp22sg

 

 

Edited by phoenixdiigital
Link to comment
57 minutes ago, clowrym said:

post your run command and log pls

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run

-d --name='Transmission_VPN' --net='bridge' --privileged=true

-e TZ="America/Los_Angeles"

-e HOST_OS="Unraid"

-e 'OPENVPN_USERNAME'='<email>'

-e 'OPENVPN_PASSWORD'='<password>'

-e 'OPENVPN_PROVIDER'='NORDVPN'

-e 'LOCAL_NETWORK'='192.168.0.0/24'

-e 'TRANSMISSION_RPC_USERNAME'='admin'

-e 'TRANSMISSION_RPC_PASSWORD'='password'

-e 'OPENVPN_OPTS'='--inactive 3600 --ping 10 --ping-exit 60'

-e 'PUID'='99'

-e 'PGID'='100'

-e 'TRANSMISSION_DOWNLOAD_DIR'='/downloads/incomplete/'

-e 'TRANSMISSION_RPC_AUTHENTICATION_REQUIRED'='false'

-e 'TRANSMISSION_RATIO_LIMIT'='0.001' -e 'TRANSMISSION_RATIO_LIMIT_ENABLED'='false'

-e 'TRANSMISSION_DOWNLOAD_QUEUE_SIZE'='15' -e 'TRANSMISSION_CACHE_SIZE_MB'='10'

-e 'TRANSMISSION_INCOMPLETE_DIR'='/downloads/incomplete'

-e 'TRANSMISSION_WEB_UI'='transmission-web-control'

-e 'GLOBAL_APPLY_PERMISSIONS'='true' -p '9091:9091/tcp' -p '1198:1198/udp' -v '/mnt/user/data/downloads/':'/data':'rw'

-v '/mnt/user/data/downloads/completed/':'/downloads':'rw'

-v '/mnt/user/data/downloads/watch/':'/watch':'rw'

-v '/mnt/user/data/downloads/':'/mnt/user/T_Media/Torrent/':'rw'

-v '/mnt/user/appdata/Transmission_VPN':'/config':'rw'

--restart=always --log-opt max-size=50m

--log-opt max-file=1

'haugene/transmission-openvpn' 

 

Full Log : https://pastebin.com/r3Qtm506

 

I can confirm my local network is 192.168.0.0/24. Also my web UI worked pre last update. Hope you figure something out

Thanks

Link to comment
8 hours ago, Antichristal said:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run

-d --name='Transmission_VPN' --net='bridge' --privileged=true

-e TZ="America/Los_Angeles"

-e HOST_OS="Unraid"

-e 'OPENVPN_USERNAME'='<email>'

-e 'OPENVPN_PASSWORD'='<password>'

-e 'OPENVPN_PROVIDER'='NORDVPN'

-e 'LOCAL_NETWORK'='192.168.0.0/24'

-e 'TRANSMISSION_RPC_USERNAME'='admin'

-e 'TRANSMISSION_RPC_PASSWORD'='password'

-e 'OPENVPN_OPTS'='--inactive 3600 --ping 10 --ping-exit 60'

-e 'PUID'='99'

-e 'PGID'='100'

-e 'TRANSMISSION_DOWNLOAD_DIR'='/downloads/incomplete/'

-e 'TRANSMISSION_RPC_AUTHENTICATION_REQUIRED'='false'

-e 'TRANSMISSION_RATIO_LIMIT'='0.001' -e 'TRANSMISSION_RATIO_LIMIT_ENABLED'='false'

-e 'TRANSMISSION_DOWNLOAD_QUEUE_SIZE'='15' -e 'TRANSMISSION_CACHE_SIZE_MB'='10'

-e 'TRANSMISSION_INCOMPLETE_DIR'='/downloads/incomplete'

-e 'TRANSMISSION_WEB_UI'='transmission-web-control'

-e 'GLOBAL_APPLY_PERMISSIONS'='true' -p '9091:9091/tcp' -p '1198:1198/udp' -v '/mnt/user/data/downloads/':'/data':'rw'

-v '/mnt/user/data/downloads/completed/':'/downloads':'rw'

-v '/mnt/user/data/downloads/watch/':'/watch':'rw'

-v '/mnt/user/data/downloads/':'/mnt/user/T_Media/Torrent/':'rw'

-v '/mnt/user/appdata/Transmission_VPN':'/config':'rw'

--restart=always --log-opt max-size=50m

--log-opt max-file=1

'haugene/transmission-openvpn' 

 

Full Log : https://pastebin.com/r3Qtm506

 

I can confirm my local network is 192.168.0.0/24. Also my web UI worked pre last update. Hope you figure something out

Thanks

 

I've never used NordVPN......Have you tried following these instructions?

NordVpn Script

 

To be honest, Everything i see in your log, looks like its connecting to your VPN fine. 

Edited by clowrym
Link to comment
14 hours ago, clowrym said:

 

I've never used NordVPN......Have you tried following these instructions?

NordVpn Script

 

To be honest, Everything i see in your log, looks like its connecting to your VPN fine. 

I have figured it out, I am using a VPN server to connect to my local network externally, this docker uses some kind of proxy. I followed this: https://github.com/haugene/docker-transmission-openvpn/issues/699, In particular LOCAL_NETWORK: allows for a comma list, in which I added the local network of my vpn connection, this fixed it. Hope it helps someone

Link to comment
9 minutes ago, Antichristal said:

I have figured it out, I am using a VPN server to connect to my local network externally, this docker uses some kind of proxy. I followed this: https://github.com/haugene/docker-transmission-openvpn/issues/699, In particular LOCAL_NETWORK: allows for a comma list, in which I added the local network of my vpn connection, this fixed it. Hope it helps someone

I do this as well, but I use the script below to add the additional networks i am connecting with, I believe now you can just add the additional networks (comma separated values) in the LOCAL_NETWORK variable. 

 

#!/bin/bash
echo adding 10.1.0.0/24 LAN_NETWORK
docker exec Transmission_VPN /bin/sh -c "/sbin/ip r a 10.1.0.0/24 via 172.17.0.1 dev eth0"
echo Netowrk added
echo adding 10.253.0.0/24 LAN_NETWORK
docker exec Transmission_VPN /bin/sh -c "/sbin/ip r a 10.253.0.0/24 via 172.17.0.1 dev eth0"
echo Netowrk added
exit

 

  • Like 1
Link to comment
On 3/3/2020 at 4:21 PM, Level1 said:

For this docker it is impossible to disable launch on startup for some reason. Does anyone have any workarounds to disable this?

 

dont know which docker your refering too... but changing these should solve your issue:

 

image.png.508f4ceceaa0c846ce4abd96264580fc.png

Link to comment

Anyone else experiencing the docker memory leaking itself to death after the latest update? It's suddenly starting at 700ish MB memory and then just growing until it reaches my max-limit.

I've just had to change it from a 2GB to 4GB limit just to mitigate a bit.

Anyone else noticed this?

 

Update; well it's been a week without killing itself, here's hoping - and a new update came out too. It's running at a stable-ish 1GB memory use.

Edited by Froberg
update
Link to comment

Hey all,

 

Trying to set up a couple of minecraft servers for my family, and have installed MineOS, but nothing in the Webui seems to have any effect, and the profiles page says no internet connection.

 

Nothing untoward showing in the docker log, how do I go about troubleshooting this?

 

Seems the interface runs for 5 seconds then hangs?

Edited by Faceman
Link to comment
  • 2 weeks later...

Just updated to the most recent Transmission-VPN version and it's now broken for me.  Loading the WebUI gives me the error: ERR_TOO_MANY_RETRIES

 

Docker Log.

 

 

Quote

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
Tue Mar 31 00:15:01 2020 Initialization Sequence Completed
Generating new client id for PIA
Port forwarding is already activated on this connection, has expired, or you are not connected to a PIA region that supports port forwarding
curl encountered an error looking up new port: 7

 

Link to comment
5 hours ago, Blairwin said:

Still nothing after swapping to a different US location and then swapping to a UK location.  I've also tried reinstalling docker and no improvement.

No guarantee either US or UK supports port forwarding. I have success with Israel.

Link to comment
22 hours ago, Froberg said:

What are your network settings for the docker?

New guy so sorry if I don't give you everything you need.
 

  • Network Type: Bridge
  • Host Port: 9091
  • VPN Port: 1198
  • Local Network: 192.168.0.0/24

 

Basically everything should be set to whatever the default is in the docker.

Link to comment
10 minutes ago, Blairwin said:

New guy so sorry if I don't give you everything you need.
 

  • Network Type: Bridge
  • Host Port: 9091
  • VPN Port: 1198
  • Local Network: 192.168.0.0/24

 

Basically everything should be set to whatever the default is in the docker.

Seems your settings are identical to mine.

It's probably down to the vpn-specific stuff, then. I'd try removing the docker entirely and re-adding it all other things being equal to what worked for you before. I'm assuming you're sure that your PIA is paid and active of course. ;-)

Link to comment
2 minutes ago, Froberg said:

Seems your settings are identical to mine.

It's probably down to the vpn-specific stuff, then. I'd try removing the docker entirely and re-adding it all other things being equal to what worked for you before. I'm assuming you're sure that your PIA is paid and active of course. ;-)

Haha of course.  I double checked PIA on my local machine and it works just fine.

 

I tried doing a reinstall before which was me removing the docker and then removing the appdata and T_Media folders.  Is there anything else I need to remove?

Link to comment
Just now, Blairwin said:

Haha of course.  I double checked PIA on my local machine and it works just fine.

 

I tried doing a reinstall before which was me removing the docker and then removing the appdata and T_Media folders.  Is there anything else I need to remove?

There's a community application "cleanup appadata" that can ensure you get everything.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.