Comments (14)
I'm having the exact same issue here, also investigating.
from alpine-qbittorrent-openvpn.
Small update from my side: I've found out that the VPN_PROVIDER_HOME variable is created in /etc/cont-init.d/02-setup-openvpn
It basically takes the path to openvpn and appends the name of the provider ( /etc/openvpn/{lowercase_provider_name}. I don't see what's going wrong here as the path does check out.
Upon looking in configure-openvpn.sh I also noticed something in the following code snippet:
if [[ -n $OPENVPN_CONFIG ]]; then
echo "Downloading user specified config. NORDVPN_PROTOCOL is set to: ${NORDVPN_PROTOCOL}"
${VPN_PROVIDER_HOME}/updateConfigs.sh --openvpn-config
elif [[ -n $NORDVPN_COUNTRY ]]; then
export OPENVPN_CONFIG=$(${VPN_PROVIDER_HOME}/updateConfigs.sh)
else
export OPENVPN_CONFIG=$(${VPN_PROVIDER_HOME}/updateConfigs.sh --get-recommended)
fi
In the first line of code, it checks if the OPENVPN_CONFIG variable has been passed through. Only then, it should execute the echo and updateConfigs with --openvpn-config argument.
If I do not provide OPENVPN_CONFIG in the Docker env variables, it still passes this check though: It still says "line 12: not found", whereas I would expect it to say "line 14: not found" (because I passed the NORDVPN_COUNTRY instead of OPENVPN_CONFIG) or at least line 16 if all checks fail.
I have no idea what's going wrong here and why it works well in docker-transmission-openvpn.
from alpine-qbittorrent-openvpn.
Same issue here! Would love to help testing
from alpine-qbittorrent-openvpn.
Also having this issue:
Downloading user specified config. NORDVPN_PROTOCOL is set to: UDP
/var/run/s6/etc/cont-init.d/02-setup-openvpn: /etc/openvpn/nordvpn/configure-openvpn.sh: line 12: /etc/openvpn/nordvpn/updateConfigs.sh: not found
ERROR: Could not find OpenVPN configuration "" for provider NORDVPN
[cont-init.d] 02-setup-openvpn: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
from alpine-qbittorrent-openvpn.
Same, so I use an ovpn file from nordvpn instead.
from alpine-qbittorrent-openvpn.
@guillaumedsde Could you have a look at this issue? I can't seem to figure it out.
from alpine-qbittorrent-openvpn.
Same, so I use an ovpn file from nordvpn instead.
Hi Peter,
Does that work for you as is? I had to change behavior_if_s2_fails from 2 to 0 to make it work, but perhaps that is unnecessary.
from alpine-qbittorrent-openvpn.
I've merged this PR from @notsureifkevin that might fix the issue, could one of you try and pull the development
tag to see if its fixed?
from alpine-qbittorrent-openvpn.
Hi @guillaumedsde,
I can confirm this works! Thanks so much for the merge and many thanks for @notsureifkevin for the pull request.
from alpine-qbittorrent-openvpn.
Good to hear, I'll leave this issue open for some time for people to test it then I'll merge it in master
from alpine-qbittorrent-openvpn.
Hello, I actually have the problem and I don't really understand how to solve it.
Can someone help me pls ?
from alpine-qbittorrent-openvpn.
Hello, I actually have the problem and I don't really understand how to solve it.
Can someone help me pls ?
You need to use a different version of the docker image. Right now you may for example be using :latest, but to try this fix you need to set it to :development
from alpine-qbittorrent-openvpn.
Thanks @JasperMC :) I've just merged the change into master
so it should be available under latest
now
from alpine-qbittorrent-openvpn.
version: "3.3" services: alpine-qbittorrent-openvpn: volumes: - "/your/storage/path/:/downloads" - "/path/to/config/directory:/config" - "/etc/localtime:/etc/localtime:ro" environment: - OPENVPN_PROVIDER=NORDVPN - OPENVPN_CONFIG=NL\ - OPENVPN_USERNAME=user - OPENVPN_PASSWORD=pass - PUID=1000 - PGID=1000 - LAN=192.168.0.0/16 ports: - "8080:8080" cap_add: - NET_ADMIN image: guillaumedsde/alpine-qbittorrent-openvpn:latest
My setup is almost similar. Just wondering; what does the \
do after NL
?
And I guess my LAN
should be routerip/24 (if subnet mask is 255.255.255.0)
I am trying to get my container to work, however, it fails to boot.
My portainer logs say:
s6-svscan: warning: unable to iopause: Operation not permitted
s6-svscan: warning: executing into .s6-svscan/crash
s6-supervise s6-fdholderd: fatal: unable to iopause: Operation not permitted
s6-svscan panicked! Dropping to a root shell.
from alpine-qbittorrent-openvpn.
Related Issues (20)
- bug HOT 1
- unauthorized via proxy
- ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
- Looping error with PIA and port forwarding HOT 2
- Connect to the qBittorrent WebUI on a headless server? HOT 1
- Log file filling up
- write UDP: Operation not permitted (code=1) - Synology and custom VPN provider HOT 4
- AirVPN ovpn no credentials needed
- Need python3 installed - HOT 2
- Nas Synology + NordVPN Auth problem HOT 1
- WebUI not accessible and Torrenting not Working HOT 1
- Having some issues getting this working as a beginner to docker
- No port but 8080 works for qbittorrent HOT 1
- Container cannot reach openvpn server, but host can HOT 2
- cont-init: Permission Denied HOT 10
- IP is leaking through HOT 5
- svn: E170013: Unable to connect to a repository at URL 'https://github.com/haugene/vpn-configs-contrib.git/trunk/openvpn/expressvpn'
- Auto Kill switch
- Network Speed slow <=10MB/s HOT 1
- Log flooded with AEAD Decrypt errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-qbittorrent-openvpn.