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

Transmission cannot locate .opvn file #2470

Closed theMadStork closed 1 year ago

theMadStork commented 1 year ago

Is there a pinned issue for this?

Is there an existing or similar issue/discussion for this?

Is there any comment in the documentation for this?

Is this related to a provider?

Are you using the latest release?

Have you tried using the dev branch latest?

Docker run config used

mounted vars

Current Behavior

Been using for several years and working fine. Every now and then I need to update the node when my provider changes names of them.

I've mounted my opvn file but transmission can't find it then goes to the repo to find a config and breaks and shuts down: ./etc/openvpn/fetch-external-configs.sh: line 18: config_repo_temp_dir: unbound variable

Expected Behavior

transmission finds the default.opvn config and uses it instead of going to the repo

How have you tried to solve the problem?

Log output

2022-12-16 14:41:09,stdout,./etc/openvpn/fetch-external-configs.sh: line 18: config_repo_temp_dir: unbound variable

2022-12-16 14:41:09,stdout,curl: (6) Could not resolve host: github.com

2022-12-16 14:40:59,stdout,Downloading configs from https://github.com/haugene/vpn-configs-contrib/archive/main.zip into /tmp/tmp.3pxXtpLVVn

2022-12-16 14:40:59,stdout,No bundled config script found for PROTONVPN. Defaulting to external config

2022-12-16 14:40:59,stdout,Running with VPN_CONFIG_SOURCE auto

2022-12-16 14:40:59,stdout,Using OpenVPN provider: PROTONVPN

2022-12-16 14:40:58,stdout,Creating TUN device /dev/net/tun

2022-12-16 14:40:58,stdout,WARNING: initial DNS resolution test failed

2022-12-16 14:40:42,stdout,Starting container with revision: d1ece1c5f36f275d5d950bd2557ec43f79a80d14

HW/SW Environment

- OS: Synology DS1019+ DSM 6.2.4-25556 Update 6

- Docker: 20.10.3-0554

Anything else?

No response

theMadStork commented 1 year ago

Have to mount the folder, not the file. For other, found in the comment for the commit that broke protonvpn configs: https://github.com/haugene/vpn-configs-contrib/issues/159#issuecomment-1320758800