Page 1 of 2

Informing Deluge of mass move of torrent storage directory

Posted: Thu Jan 20, 2022 9:10 pm
by OmegaPhil
I currently run Deluge 1.3.15, and I have rsynced ~300 torrents worth of data from an aufs filesytem to a large drive (amongst other stuff). I need to tell Deluge the storage location has changed, without manually moving them in Deluge (with right-click -> Move Storage), which would take forever and undermine part of the point of the rsync move.

Is there an efficient way to update lots of torrent completed storage location information, perhaps a safe hack of some state file?

Thanks for your help.

Re: Informing Deluge of mass move of torrent storage directory

Posted: Tue Jan 25, 2022 2:03 pm
by topbanana
Just multi-select them? You can do this.
Then move all 300, or batches of 10 or whatever.
Then you can just 'Force Recheck' them to see if they're still intact. (again, multiselect)

I'm moving torrents all the time... moving their files from my 'completed' folder to the 'dld' folder, after they've been FTPed down. And i also had to 'move' all the torrents to a new path where the actual files were in the past, too... 'Force Recheck' tells you that it's worked 100%.

Re: Informing Deluge of mass move of torrent storage directory

Posted: Sun Feb 06, 2022 4:07 pm
by OmegaPhil
Sorry for the delay responding - I did a bulk move test and it seemed the SmartMove plugin refused the move due to files/directories already present in the target, then apparently deleted them - stupid bullshit, moved on to other things.

Being able to bulk move is nice but not what I wanted - the data has already been moved, its just a case of telling Deluge where the new files/directories are without deluge moving again or rechecking.

Re: Informing Deluge of mass move of torrent storage directory

Posted: Tue Feb 15, 2022 12:24 pm
by jfat
Hey I just had to do this and saw your thread.
The only way I found to do the mass change was to unmount the drive/directory containing all the files so then they all go to error, highlight and Move Download Folder, then make them force check. As the original files were unavailable and they were in error mode, there was no copying of files and it only took a second to get them to start rechecking.
Not optimal but im glad I found that way, otherwise it was re-download all the torrent files and re-add them with the new location and force recheck.

Re: Informing Deluge of mass move of torrent storage directory

Posted: Wed Feb 16, 2022 6:25 am
by OmegaPhil
OK, at least that method is a read rather than a read and a write - shame there still isn't a way to bulk update without check. I've moved everything now anyway but this kind of thing tends to come up every few years.

Re: Informing Deluge of mass move of torrent storage directory

Posted: Wed Feb 16, 2022 9:59 am
by jfat
Wouldnt there have to always be a read? Im no expert but I assume if there is some kind of change its going to have to verify what youre pointing it at. Unless you mounted the new drive with the exact same path and directory structure to trick it into thinking nothing actually changed (that might be an option?).

Re: Informing Deluge of mass move of torrent storage directory

Posted: Wed Feb 16, 2022 12:10 pm
by OmegaPhil
Basically no, see 'perhaps a safe hack of some state file' in my request - rsync has done the work, deluge was to be told of the results without hours more I/O. It sounds like looking into how deluge stores state and hacking it is the only way currently.

Re: Informing Deluge of mass move of torrent storage directory

Posted: Fri Mar 11, 2022 8:04 pm
by BottleNeck
not sure if this will help. For me the :solution" was to make a softlink. I am not sure if you have that possibility (linux) but it does work. It's just not very pretty.

additionally, i found THIS LINK but could not get it to work. So if you do tips are welcome ;)

Re: Informing Deluge of mass move of torrent storage directory

Posted: Fri Mar 11, 2022 8:51 pm
by OmegaPhil
Soft links don't work across volumes, and the data was moved with the intention of getting rid of the source disks (rather than keeping some ghost structure alive).

Re: Informing Deluge of mass move of torrent storage directory

Posted: Fri Mar 11, 2022 10:42 pm
by BottleNeck
OmegaPhil wrote: Fri Mar 11, 2022 8:51 pm Soft links don't work across volumes.
They do here :) Linux with NFS server tho. Are you talking Windows?

Is the link that i posted perhaps useful for you than?