Comments (7)
I discovered if I "Verify Local Data", then "Resume", everything works as expected. But I believe this is supposed to happen automatically?
Is it perhaps a timing issue with when Transmission starts and when the mount points are available?
from docker-transmission-openvpn.
It's good at least that it works with "Verify Local Data". But I agree, Transmission should remember it's state from before the shutdown.
The docker engine will make mount points available before starting the openvpn process, so this is not a timing issue.
I'm thinking this has to do with how Transmission is stopped when you do "docker stop ". The openvpn cofigs instructs openvpn to kill transmission when the interface goes down, this is to prevent traffic when no openvpn connection is active. When transmission is killed it might lose state that is in-memory. To fix this we should probably look into a more graceful way of shutting down Transmission, but kill the process if it doesn't stop gracefully.
from docker-transmission-openvpn.
Obviously not a huge deal, and certainly wouldn't want to compromise the killing of transmission when the interface goes down.
Thanks for the explanation!
from docker-transmission-openvpn.
No problem. I'll keep it in mind, and maybe I'll stumble upon a better solution some day ;)
I'm closing this issue as a "won't fix" for now, and rephrased it a little to pinpoint what's the possible improvement here.
from docker-transmission-openvpn.
This seems like a huge issue to me, since it's necessary to configure automatic restarts when the VPN disconnects. So effectively a disconnect will actually not be recovered from properly, since all your torrents will be paused. This never happens when e.g. the desktop version of Transmission gets restarted.
The "verify local data" feature will also only recover download progress, you then need to individually click the resume button for every torrent you have to recover fully.
Can we reopen this discussion and look at possible fixes?
Is it possible that we're missing another cache/config/tmp directory that Transmission uses for this kind of state that we can just mount as a volume to preserve between restarts?
from docker-transmission-openvpn.
It seems like this issue is also a duplicate of #23, which was supposed to have been fixed by @dougnukem's commits. Are others still seeing this issue, or is it possible that it's an issue with my own configuration?
from docker-transmission-openvpn.
I see the same thing.
Happy to provide additional information/settings.
Just noticed this comment is a year old so I guess the odds are it's an issue with my system (qnap NAS).
from docker-transmission-openvpn.
Related Issues (20)
- Web UI taking too long to respond HOT 3
- High CPU usage HOT 13
- download-dir override not working HOT 3
- Let other containers use the VPN has some IP leaks HOT 1
- Container exiting after ping timeout, stuck in a loop HOT 11
- Container seems to star fine, but cannot reach & killed after 5 mins
- WebUI login not asked in Firefox HOT 1
- Problem resolved itself
- su: cannot set groups: Operation not permitted HOT 5
- Downloads stall with "too many open files" HOT 5
- Documentation show `x.protonvpn.net.udp` while file are named `x.protonvpn.udp` HOT 1
- NordVPN CDN Down? HOT 1
- Included firewall not aware of peer port in the transmission configuration
- Transmission web ui not displayed; curl returns unauthorised HOT 1
- AUTH_FAILED, data channel cipher negotiation failed (no shared cipher) HOT 102
- healthcheck.sh reporting DNS failure if VPN service DNS incorrectly filters IPv6 addresses HOT 5
- Transmission sets permissions wrong but fixes them on restart with TRANSMISSION_UMASK HOT 4
- Certain Transmission settings.json values can only be set by ENV var HOT 4
- WebUI not working HOT 1
- DNS problem HOT 1
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 docker-transmission-openvpn.