-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Transmission does not start #789
Comments
@cpoppema I don't think |
Thanks. I have no particular need for ipv6. Here's the file, seems like it's pretty standard.
|
@cpoppema Disable ipv6 by adding or uncommenting these lines:
Enable packet forwarding:
Then run |
No worries :) Unfortunately it doesn't seem to change anything:
Just in case: I also decided to update docker to I searched some more to
(where it was false before) |
Same Only solution I've found is mentioned here: moby/moby#33099 (comment) but downgrading to a 2 year old version of docker is hardly ideal. Any luck finding a fix? |
Unfortunately I haven't got it working yet with this docker image. What does work for me is https://hub.docker.com/r/dperson/openvpn-client with a separate transmission image and |
@cpoppema Interesting. What does your docker run command look like with the working standalone openvpn client? |
VPN client:
Combined with transmission:
Tested with:
Just to be clear: the VPN works fine for me when using |
@cpoppema Looking at your logs it seems that Transmission might not start because there are other scripts defined in the up/down scenarios?
I'm guessing that your custom .ovpn file has these options set? Not saying that it explains everything. There's a lot going on here. But would you mind sharing your .ovpn config? It might shed a light on why all this route stuff is taking place. |
@haugene you are correct. After taking a quick look at the ovpn file (I simply downloaded it pre-configured from my VPN provider), it contains its own:
Can I assume I should try again after removing these lines ?
|
Yeah - try again and see what the logs say then. Based on the config you posted I would remove: and The keepalive option is not compatible with the ping and ping-exit options that are recommended to have the container reset and restart on connection failures. And the auth-user-pass line should probably be |
Thanks. I will try later today and report back. The option auth-user-pass like this indeed does not work. I included the ovpn as-is, before I set it up to work with your container. |
That was it. So I'm guessing the overridden up script is the process starting transmission. It makes total sense now, thank you very much for helping me out!
Transmission is also accessible from LAN. Thanks again 😄 |
Glad you got it working, and thank you for a generous donation. Will be put to good use by my craft beer and coffee investment fund ;) Cheers! |
I'm interested in running transmission with openvpn and I think I'm almost there, but missing the last step(s) to get transmission to actually start inside the container.
Describe the problem
After
docker run
, transmission is not running. There is no indication in the logs of/etc/transmission/start.sh
being called.Add your docker run command
with a bunch of TRANSMISSION env flags to reflect my existing config.
I have also ran it like this (but with same results):
Logs
Host system:
I'm running debian linux on a custom-build NAS.
If I exec into the running container I can run
curl ifconfig.co
just fine, so vpn should work! 👍 . However,curl 127.0.0.1:9091
does not work. Installing net-tools inside the container to run netstat only gives my output likeWhich should confirm transmission is not actually running. One perhaps obvious possible culprit I can think of is the flag
sysctl net.ipv6.conf.all.disable_ipv6=0
. I found out about this flag through #279. Without this flag, starting the container stops at:Hope somebody can help me out :)
The text was updated successfully, but these errors were encountered: