-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
Problem deploying container #263
Comments
Is this a new deployment? |
I noticed the ovpn container was in a constant restart, stopped the container and restarted but nothing changed. Removed the container and reloaded it from the same docker-compose as normal. Removed the containers, and images, then pulled again using :dev and :latest. images. Same errors in log and constant reboot, but the logs load to the error above and reboot the container. I have also removed all directories associated with the containers and configs, then let them be recreated during setup. |
You could try using CUSTOM provider and manually providing the ovpn (which you could download yourself from the repo) to make sure everything else works. |
I wonder if you have some permission issues with the mounts or such? You could also try providing a different url to the ovpns (take a look at the fetch external script) in the main repo.. this looks very hard to debug on my end |
im also getting an error that appears in the same ballpark to me. in this error however it appears the call to git is returning a different error:
|
not sure if this is related but i figured id drop this here. |
I'm having this same issue but using a local openvpn config file. Here's my config: version: "2.0"
services:
transmission-openvpn:
container_name: transmission
cap_add:
- NET_ADMIN
volumes:
- '/var/transmission/data:/data'
- '/var/transmission/config:/config'
- './windscribe.ovpn:/config/vpn-configs-contrib/openvpn/-local-/windscribe.ovpn:ro'
environment:
- "OPENVPN_PROVIDER=-local-"
- OPENVPN_CONFIG=windscribe
- OPENVPN_USERNAME=********
- OPENVPN_PASSWORD=********
logging:
driver: "json-file"
options:
max-size: 10m
ports:
- 9091:9091
image: haugene/transmission-openvpn Here's my log with debug enabled:
|
Is there a pinned issue for this?
Is there an existing or similar issue for this?
Is there any comment in the documentation for this?
Is this related to the container/transmission?
Are you using the latest release?
Have you tried using the dev branch latest?
Config used
version: '2'
services:
transmission:
image: haugene/transmission-openvpn:latest
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
ports:
- "9091:9091"
- "8888:8888"
dns:
- 192.168.100.2
- 1.1.1.1
- 8.8.4.4
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/traver/nasmedia/torrantdownloads:/data
- /home/traver/docker/transmission-docker/openvpn/custom/:/etc/openvpn/custom/
- /home/traver/docker/transmission-docker/config:/config
environment:
- OPENVPN_PROVIDER=MULLVAD
- OPENVPN_CONFIG=default
- OPENVPN_USERNAME=XXXXXXX
- OPENVPN_PASSWORD=m
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- LOCAL_NETWORK=192.168.100.0/24
sysctls:
- "net.ipv6.conf.all.disable_ipv6=0"
proxy:
image: haugene/transmission-openvpn-proxy:latest
links:
- transmission
ports:
- 8089:8080
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/traver/docker/transmission-docker/openvpn/custom/:/etc/openvpn/custom/
- /home/traver/docker/transmission-docker/config:/config
rss:
image: haugene/transmission-rss:latest
links:
- transmission
environment:
- RSS_URL=http://.../xxxxx.rss
Current Behavior
Container constantly restarts
Expected Behavior
Container pulls configs and runs
How have you tried to solve the problem?
I get the following when the docker compose trys to pull the configs for VPN
Creating TUN device /dev/net/tun
Using OpenVPN provider: MULLVAD
Running with VPN_CONFIG_SOURCE auto
No bundled config script found for MULLVAD. Defaulting to external config
Will get configs from https://github.com/haugene/vpn-configs-contrib.git
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Log output
Creating TUN device /dev/net/tun
Using OpenVPN provider: MULLVAD
Running with VPN_CONFIG_SOURCE auto
No bundled config script found for MULLVAD. Defaulting to external config
Will get configs from https://github.com/haugene/vpn-configs-contrib.git
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: