Code Monkey home page Code Monkey logo

Comments (7)

timkelty avatar timkelty commented on May 21, 2024 1

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.

haugene avatar haugene commented on May 21, 2024

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.

timkelty avatar timkelty commented on May 21, 2024

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.

haugene avatar haugene commented on May 21, 2024

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.

fletom avatar fletom commented on May 21, 2024

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.

fletom avatar fletom commented on May 21, 2024

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.

simonsjw avatar simonsjw commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.