-
Picking up the conversation from these comments: #1936 (comment) and #1936 (comment) Background: I was hoping this would not have big consequences, but it turns out these versions hash torrents differently which trips up the listing of torrents. Let's talk solution: So... What can we do. Here are the options I've come up with:
For options 3 and 4 I think this would do the trick (thanks to @Forage for below script that avoids downloading unnecessary items):
Put that in a script locally and mount it to Now... Why don't embed this into the image and make it easier for people to upgrade to 3.00 if they want? Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 44 replies
-
Thank you for this. If it's not too much to ask, can you please go into some more detail on the hashing issue and what the results of that are? I'd like to have a better understanding before making a decision on this. Are you saying that every single torrent will be affected by this, and thus every torrent needs to be downloaded again, at least in order to reach the same state as prior to the 4.0 upgrade? I'm worried about situations like:
I'm wondering if there's some workaround like adding the torrent anew and somehow pointing it to the data in the completed folder - forgive me if there is an obvious fix for this or if this is obviously not possible, but I'm blanking at the moment. |
Beta Was this translation helpful? Give feedback.
-
IMO, stay the course developing for the version of transmission you wish to support. Now that we know why this is occurring and have options to resolve, this shouldn't be too burdensome. For my situation, I have nearly 200 seeds, adding a few lines to my dockerfile to upgrade transmission is trivial. Those who have a more manageable library, should convert them for the supported bt version and be done with it. |
Beta Was this translation helpful? Give feedback.
-
Thanks for at least addressing this issue. I suggest using the following instead:
|
Beta Was this translation helpful? Give feedback.
-
So I attempted solution 1, taking the "one-time" pain and it was successful. Earlier this week I was able to remove all my torrents (and cleaned the folders), then add them back in after upgrading to 4.0. I was previously having the issue of phantom torrents kept reappearing. It seemed to have fixed it, where torrents that removed and deleted would not come back on a container restart. Just today I ran some updates and restarted my containers, and now it's adding previously deleted torrents back again. So in the mean time I have rolled back to 3.7.1 for stability reasons. I did try solution 3 before solution 1 and was unsuccessful with that as well. So any ideas on why solution 1 worked for me last Tuesday and now it's not? I'd rather not have to continue doing solution 1 over and over in the future. |
Beta Was this translation helpful? Give feedback.
-
How do I enforce the container stays at v3, I am new to docker. |
Beta Was this translation helpful? Give feedback.
-
Either use 3.7.1 image of container or read the work around script at the
top
…On Fri, Oct 22, 2021 at 19:42 Benjamin Lupton ***@***.***> wrote:
How do I enforce the container stays at v3, I am new to docker.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1937 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7OFYXKZFPHBPJP43AYWCDUIE52DANCNFSM5DNQDGYA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
That won't work, since |
Beta Was this translation helpful? Give feedback.
-
Where can I check what image version I'm running? Still using transmission 2.94. |
Beta Was this translation helpful? Give feedback.
-
I never managed to get any of these scripts to run - openvpn-pre-start etc, so i had to execute the script manually inside of the container - however now I am rolling my own fork of the code (with ufw fix mentioned in #2255 ) so will just add the script to the dockerfile to get 3.00 :) I never had any problem with transmission/transmission#1314 - only unresponsiveness I get is if I move large files from web UI / rpc.. but still not a big issue for me. But if I want to get back non-fork haugene main, how do I get this script to run? What is the correct way to auto-launch @Forage 's script? |
Beta Was this translation helpful? Give feedback.
-
To anyone still following this thread. Sorry about the delay, as this could have been bumped a while ago even with the LTS strategy we've been on. Just changed the base image on the dev branch so the |
Beta Was this translation helpful? Give feedback.
-
My morning story. Got my container running for like one year without issue. Reverted my container image to 3.7.1, and everything is back fine. So why do I post this here? Because this issue/update/discussion whatever is seriously lacking visibility. I think there should be a note about this in the main page of the project. Bceuase if an experienced sysadmin like I am had to take 1 hour to find an explanation and a fix, it is probable that a complete noob will take 3 days, or just give up. Also If something as simple as docker-compose pull breaks everything for an existing and long-time user, there's a solid problem. Got a hundred of apps to administrate over a dozen of servers, and I cant and wont read everything everywhere and beyond, before simply pressing the "upgrade" button. Sounds common sense. Cheers |
Beta Was this translation helpful? Give feedback.
-
To anyone else finally upgrading from 3.7.1 to 4.3, I feel like I should notify that I ran into stability issues with the 4.3 image, seemingly unrelated to the known changes like directory structure changes (and note Transmission itself seems to function normally, no missing torrents, etc.). I am still troubleshooting to see the exact cause or solution, hence why I haven't yet opened an issue about this. It could be that the issue is not 4.3 at all, but for now, it is looking like it is. In short, what happens with my container is that, over time, Transmission will continue to function (download & upload), but the container will lock up on the Docker side and stop responding - for example, I cannot stop the container, I cannot look at Docker logs, etc. A side effect of this is that any scripts that I run against the container also stall out and accumulate in the background, resulting in massive memory usage leak over time. The workaround is to stop all other Docker containers (which continue to be responsive), and then simply restart the host machine, and it is fine until the Transmission container goes unresponsive again at some point and the memory leak accumulates. Yesterday, I rolled back to 3.7.1 and will see if this issue continues to happen with that. |
Beta Was this translation helpful? Give feedback.
-
So what's the status on this, and/or what's the preferred current workaround? I think I'm already in this thread, anyway I'm using a pre-run script to pin the Transmission version down, but sometimes I'm also running into issues when my network is down or CPU load is high or whatever, resulting in connection errors to launchpad servers and therefore the container starting with the newer version, then a bunch of older torrent starting to download again in the default folder, which is really inconvenient. Thanks! |
Beta Was this translation helpful? Give feedback.
IMO, stay the course developing for the version of transmission you wish to support. Now that we know why this is occurring and have options to resolve, this shouldn't be too burdensome. For my situation, I have nearly 200 seeds, adding a few lines to my dockerfile to upgrade transmission is trivial. Those who have a more manageable library, should convert them for the supported bt version and be done with it.