Transmission: Option to force-clear resume metadata and redownload

Created on 29 Jul 2017  ·  5Comments  ·  Source: transmission/transmission

Error: no data found! Ensure your drives are connected or use "set location"

On Transmission 2.92

Having problems with transmission and this error above. Requesting an improvement; add option to force clear resume metadata and begin redownloading torrent. From RPC, or client, wherever.

Oftentimes, data started to download to an incorrect directory, or permissions on the download folder were not correct. I have a case right now where I'm moving my transmission installation to a new NAS, and torrents started downloading even though the resume information was set to paused from the old install. Torrents are now stuck in this "no data found!" state because they shouldn't have downloaded in the first place, and what did get downloaded is now deleted.

Cannot set to the folder where the data exists and re-verify -- nothing happens.

Thank you.

Most helpful comment

It boggles ones mind why this isn't an option
https://trac.transmissionbt.com/ticket/4537#comment:4

All 5 comments

Cannot set to the folder where the data exists and re-verify -- nothing happens.

Maybe we should start with this instead, and not do that other thing you're asking for. Would be nice to get a particular example (steps to reproduce) and maybe even see the logs (with sensitive information stripped).

Certainly. It seemed like it was intended behavior so I was coming at it as a feature request -- advanced use-case, wipe resume and bring up the Add Torrent dialog again.

Reproducing on the NAS move scenario is tricky, I ended up recopying all resume/torrent files and ensuring all permissions were correct (they weren't before), which worked for 99% of the torrents. I was able to just "move data" since the torrent was in a 100% error state and the data was not degraded. I'll chalk this up to bad NAS move.

Three torrents that were in a Downloading state on the original NAS got moved over to the new. There was no data downloaded as there were no seeders at the time. Moved over to the new NAS and tried to set the download location to the proper folder. Torrents locked in a "No data found!" state.

Since there were only three, I ended up deleting them and, luckily because I had the .torrent files still, was able to re-add them quickly.

This case below, reproducible for me every time:

  1. Start to download a torrent, bad permissions on download location.
  2. File is being downloaded but cannot be written anywhere. Short period where file starts downloading, then download errors with Permission Denied.
  3. Set location to a folder with proper permissions, and reverify/restart torrent
    What I'm seeing: Cannot resume this torrent again - "No data found!"

In both cases, without having the exact data in the exact configuration the resume file is detailing, it's extremely tough to recover from the error without manually deleting/re-adding.

Please let me know what exactly I can provide in terms of log files, and I'll upload them.

Thank you.

Cross linking to related issue #852

It boggles ones mind why this isn't an option
https://trac.transmissionbt.com/ticket/4537#comment:4

It boggles ones mind why this isn't an option
https://trac.transmissionbt.com/ticket/4537#comment:4

I have updated the patch from that ticket and recompiled transmission and it seems to be functional, I could successfully re-verify and redownload two torrents. Anyone on Gentoo may immediately use that patch by placing it into /etc/portage/patches/net-p2p/transmission/.

Should I do a PR with it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sibero80 picture sibero80  ·  4Comments

legacychimera247 picture legacychimera247  ·  8Comments

crozone picture crozone  ·  6Comments

hanklank picture hanklank  ·  3Comments

gthreepw00d picture gthreepw00d  ·  8Comments