-
-
Notifications
You must be signed in to change notification settings - Fork 420
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
Feature Request - Is there an easy way to migrate whole torrent collections? #1332
Comments
This is the correct way to migrate (assuming you shut down the old instance first), nothing wrong there. From rTorrent's point of view, it doesn't even know it's been migrated, it'll just immediately start using the data from whatever the session directory is set to.
There would need to be more details for a proper investigation, but if a tracker can't handle either a) ghost peers or b) announces from the same IP/port but different peer IDs, that's not something rTorrent can fix.
I don't know of any way that a tracker's response can cause rTorrent to crash, but if so more details would be greatly appreciated. What exactly constitutes "bad info"? |
Some reason after the migrate my torrent client was continually re-announcing to the tracker, could it maybe have been a copy/duplication error? All of the trackers shut off my privilege's as it was detected that I had too many duplicate peer entries. I was shutoff from the trackers to protect the systems. Was told this was due to the client crashing or being killed, and restarting repeatedly and frequently. Each relaunch causes a new set of peer entries, which causes the duplication of the entries. I was up into the teens for each torrent! All I could see on my end was each torrent was rechecking.
It dumped this info into a log, then restarted, continuing the cycle. |
Anyways, thought I should bring this issue forward... |
Should be possible to selectively delete session files, they are split up into multiple. |
Hello Raksahsa, maybe it is possible, however I have no idea what I should be looking for exactly. Seems there are hundreds of .torrent.rtorrent files and not knowing I just copied everything. |
The session directory is that export you're looking for, I've used that method with thousands of torrents just fine. The problem you've encountered here is separate from export/import: your client kept crashing (as you mentioned, possibly from a storage error during rechecking) and announcing new peers to the tracker. That can happen even on instances where there was no migration. The session file uses a simple format. Each torrent has three associated files, each starting with the torrent's info hash. .torrent is the original byte-for-byte torrent file, and .torrent.rtorrent and .torrent.libtorrent_resume contain all the data rTorrent needs to start the torrent back up again. It's probably a specific torrent causing this issue, so like rakshasa is saying you can restore/delete swaths of that at a time. For narrowing down issues like this, I find it's easiest to start with an empty session directory, and first move all the session files starting with 0 back in. If the issue doesn't occur, you can stop rtorrent and then move all the files start with 1 back in, etc, to track down the bad torrent more easily. |
Hello friends,
I bring you a tale of n00b-ism.
First-off thank you for all of your great work, really appreciate the community, great times.
So my issue first happened when I was trying to migrate all of my seeding torrents from an old build to a newer faster server build.
I have hundreds of torrents seeding to the various communities. I was looking for an easy way to migrate the torrent file data. So thinking I was smart, I copied the .session data folder from the old directory tree to the new fresh install. This seems to work at first, all of my old torrents repopulated, however all of the trackers HATED me...
By doing this it created duplicate peer entries, which cause duplication errors on the trackers. The client freaked out by getting bad info from the tracker, crashed, and restarted and thus spraying even more bad data...
So yeah - an easy migration tool would be nice.
I'm currently passing all my torrents back to rutorrent/rtorrent a few at a time, a slow process however...
Thanks for your future support. :)
The text was updated successfully, but these errors were encountered: