-
-
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
Torrents in progress (downloading) don't resume automatically on container restart #40
Comments
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? |
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. |
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! |
No problem. I'll keep it in mind, and maybe I'll stumble upon a better solution some day ;) |
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? |
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? |
I see the same thing. |
Any ideas?
The text was updated successfully, but these errors were encountered: