-
Your Environment
SummaryI try to add a torrent via file (debian-10.6.0-amd64-netinst.iso.torrent) with Flood. Expected BehaviorThe torrent should be added in rTorrent Current BehaviorThe torrent is not added. Possible SolutionMaybe it is permission issue because I use 2 users:
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
I just did the "Add torrent by file" on my Flood instance. Unfortunately I can't reproduce the issue. Flood now passes the local file paths to rTorrent (96c754d) in order bypass the XMLRPC limits to add larger files more reliably. You may have to make sure that the rTorrent can access files in Flood's temporary directory. Additionally, don't forget to make sure that the destination is allowed by Flood (see |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick answer, I follow your tip and solve my problem 👍 However there was a bug, as Flood displayed that torrent is correctly added, but it was not. |
Beta Was this translation helpful? Give feedback.
-
Commit ac11f31 might also solve the problem. I am not sure if rTorrent wants permissions on the parent directory, though. It is a known and long-standing problem that Flood doesn't handle errors reliably (and falsely treat errors as successes). https://github.com/jesec/flood/projects/6#card-44353690 I will deal with the error handling problem eventually. |
Beta Was this translation helpful? Give feedback.
-
Actually, the folder and sub-folder of /home/flood/.local/share/flood was already 755 and the temp torrent file was 644 Thank you for your work and keep going ;) |
Beta Was this translation helpful? Give feedback.
-
Does this mean flood & rtorrent now have a requirement to be located on the same system? |
Beta Was this translation helpful? Give feedback.
-
Flood always requires that, not just because of this behavior change. Many filesystem operations (filesystem browser, move torrents, delete torrent along with data, etc.) need the same context to work properly. |
Beta Was this translation helpful? Give feedback.
-
fantastic work. This fork of flood has fixed the issue I had with my previous flood installation not adding torrents that were created with a larger chunk. |
Beta Was this translation helpful? Give feedback.
I just did the "Add torrent by file" on my Flood instance. Unfortunately I can't reproduce the issue.
Flood now passes the local file paths to rTorrent (96c754d) in order bypass the XMLRPC limits to add larger files more reliably.
(Flood-UI/flood#164, Flood-UI/flood#741, Flood-UI/flood#773)
You may have to make sure that the rTorrent can access files in Flood's temporary directory. Additionally, don't forget to make sure that the destination is allowed by Flood (see
--allowedpath
argument) and accessible by Flood.