Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Bad response from server: (400) Writing to rTorrent session directory failed, make sure it is writable for the ruTorrent user. #2

Open
perfect7gentleman opened this issue Mar 26, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@perfect7gentleman
Copy link

I try to rename torrent but it give me that error

[26.03.2020 20:00:06] Bad response from server: (400) Writing to rTorrent session directory failed, make sure it is writable for the ruTorrent user.
@perfect7gentleman
Copy link
Author

from nginx error_log

2020/03/26 20:04:30 [error] 7920#7920: *1606 FastCGI sent in stderr: "PHP message: PHP Warning:  file_put_contents(/home/USERNAME/.rtorrent_session//9E6EABDBF7470E084FD9BFD88B5DD09DDE6EC171.name): failed to open stream: Permission denied in /var/www/localhost/htdocs/rutorrent/plugins/rename/rename.php on line 17" while reading response header from upstream, client: 192.168.88.11, server: , request: "POST /plugins/rename/rename.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.88.9:88", referrer: "http://192.168.88.9:88/"

@Fleshgrinder
Copy link
Owner

I decided to place the files for the name alongside the torrent files of rTorrent in rTorrent's session directory to simplify integration with rTorrent scripts. This means that your rTorrent and ruTorrent must both have access to the session directory of rTorrent.

Ideal would be to store the name in a d.custom.name. Perfect would be if ruTorrent would support that right through the torrent creation form because then the name would be available to all scripts and everything from the beginning.

In any event, right now the session directory must be accessible.

@Fleshgrinder
Copy link
Owner

Let's keep this issue open because it's something that I definitely want to investigate. I think that the ideal described above is possible, the perfect would require patching ruTorrent that's for sure. However, I'm seriously thinking about creating an ruTorrent alternative because it's so bad...

@Fleshgrinder Fleshgrinder reopened this Mar 28, 2020
@Fleshgrinder Fleshgrinder added the enhancement New feature or request label Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants