Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openvpn/privado loop #2727

Closed
7 of 8 tasks
Xsatc77 opened this issue Sep 26, 2023 · 6 comments
Closed
7 of 8 tasks

openvpn/privado loop #2727

Xsatc77 opened this issue Sep 26, 2023 · 6 comments

Comments

@Xsatc77
Copy link

Xsatc77 commented Sep 26, 2023

Is there a pinned issue for this?

  • I have read the pinned issues and could not find my issue

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

  • I have searched the existing issues
  • I have searched the existing discussions

Is there any comment in the documentation for this?

  • I have read the documentation, especially the FAQ and Troubleshooting parts

Is this related to a provider?

  • I have checked the provider repo for issues
  • My issue is NOT related to a provider

Are you using the latest release?

  • I am using the latest release

Have you tried using the dev branch latest?

  • I have tried using dev branch

Docker run config used

version: '3.3'
services:
transmission-openvpn:
cap_add:
- NET_ADMIN
volumes:
- '/mnt/downloads:/data'
- '/opt/transmission/config:/config'
sysctls:
- "net.ipv6.conf.all.disable_ipv6=0"
environment:
- OPENVPN_PROVIDER=HIDEME
- OPENVPN_CONFIG=UK
- OPENVPN_USERNAME=************
- OPENVPN_PASSWORD=************
- LOCAL_NETWORK=192.168.1.0/24
logging:
driver: json-file
options:
max-size: 10m
ports:
- '9091:9091'
image: haugene/transmission-openvpn

Current Behavior

I am not using Privado, I am using Hide.me. Upon start, the container starts and shows port in list. The port disappears once the container goes from starting to running status. I check the log and I get a loop then it aborts as seen in the logfile attached below.

Expected Behavior

All functions load and are accessible and transmission connected behind Hide.me VPN

How have you tried to solve the problem?

Restarted container
Stopped & restarted VPN
Rebooted machine where container is housed
Removed and recreated the container

Log output

_transmission-openvpn-transmission-openvpn-1_logs.txt

HW/SW Environment

- OS:Unbuntu 22.04.2
- Docker:24.0.5, build ced0996

Anything else?

No response

@pkishino
Copy link
Collaborator

Delete container and recreate..

@Xsatc77
Copy link
Author

Xsatc77 commented Sep 26, 2023

That put me in the same state... still on the loop of a VPN i dont even use

@pkishino
Copy link
Collaborator

pkishino commented Sep 26, 2023 via email

@Aniel
Copy link

Aniel commented Sep 26, 2023

@Xsatc77 if you delete the config from the opt/transmission/config directory the configuration gets freshly cloned and the issue disapears :)
You have mapped the config as volume and therfore just recreating the container does not work.

The folder you want to delete is named vpn-configs-contrib

@pkishino
Copy link
Collaborator

pkishino commented Sep 26, 2023 via email

@jorlandobr
Copy link

As @Aniel noted, if you have a mapped Volume for /config you must delete the offending directory (in that case, privado) so the error dissappears.

I had bind mapped /config to /srv/mergerfs/HDs_2TB/torrents/transmission-home, so I had to

sudo rm -rf /srv/mergerfs/HDs_2TB/torrents/transmission-home/vpn-configs-contrib/openvpn/privado/ to successfully deploy transmission-openvpn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants