Torrents Added in rTorrent don't get added

das329717

Member
May 25, 2018
928
0
16
Is this a bug? I searched and saw a thread on it but the answer wasn't clearly defined.

I try to add a torrent to rtorrent through rutorrent and it says it was sucessfully passed, but nothing shows up. rtorrent is working fine, using watch directories / adding manually is the only way currently I can add torrents.

Is this a bug with rTorrent: 0.8.6 / 0.12.6 and ruTorrent 3.1?

Is the solution to downgrade?
 

jith45

Member
May 25, 2018
960
0
16
Is this happening with al torrents ?
Or just ones that are already in rtorrent but for another tracker

Does the webserver have the good rights to write in the directories ?
Maybe activate the log & have a look what that says
 

das329717

Member
May 25, 2018
928
0
16
Is this happening with al torrents ?
Or just ones that are already in rtorrent but for another tracker

Does the webserver have the good rights to write in the directories ?
Maybe activate the log & have a look what that says
It happens with any torrent I try.

I have chmodded all my dirs to 777, (.session, rtorrent, and all dirs that rtorrent downloads to)

Log just says 'torrent was sucessfully passed to rTorrent'.

I read a thread with someone having a similiar issue but I cannot for the life of me find it again. It didn't really have a clear answer other then it was some bug / conflict between rutorrent 3.1 and rtorrent 8.6
 

somus1735

Member
May 25, 2018
833
0
16
sounds like:


you upgraded without restarting rtorrent
you set up rutorrent wrong (check the config.php )
your rutorrent/share/ isn't writable to the web user.
 

das329717

Member
May 25, 2018
928
0
16
sounds like:


you upgraded without restarting rtorrent
you set up rutorrent wrong (check the config.php )
your rutorrent/share/ isn't writable to the web user.
sad.gif

I installed the server freshly with 3.1 since being on lighttpd. Didn't have this problem back on this webserver (switched due to consistent memory leaking) Now on Nginx. I also restarted the webserver and rtorrent multiple times.

Here is my config.php

Code:
<?php
// configuration parameters

// for snoopy client
@define(&#39;HTTP_USER_AGENT&#39;, &#39;Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0&#39;, true);
@define(&#39;HTTP_TIME_OUT&#39;, 30, true); // in seconds
@define(&#39;HTTP_USE_GZIP&#39;, true, true);

@define(&#39;RPC_TIME_OUT&#39;, 5, true); // in seconds

@define(&#39;LOG_RPC_CALLS&#39;, false, true);
@define(&#39;LOG_RPC_FAULTS&#39;, true, true);

// for php
@define(&#39;PHP_USE_GZIP&#39;, false, true);
@define(&#39;PHP_GZIP_LEVEL&#39;, 2, true);

$do_diagnostic = true;
$log_file = &#39;/tmp/errors.log&#39;; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = true;

$topDirectory = &#39;/home/she/rtorrent/orphans/&#39;; // Upper available directory. Absolute path with trail slash.
$forbidUserSettings = false;

$scgi_port = 0;
$scgi_host = "unix:///tmp/rpc1.socket";

$XMLRPCMountPoint = "/RPC2"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!

$pathToExternals = array(
"php" => &#39;&#39;, // Something like /usr/bin/php. If empty, will be founded in PATH.
"curl" => &#39;&#39;, // Something like /usr/bin/curl. If empty, will be founded in PATH.
"gzip" => &#39;&#39;, // Something like /usr/bin/gzip. If empty, will be founded in PATH.
"id" => &#39;&#39;, // Something like /usr/bin/id. If empty, will be founded in PATH.
);

// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";

?>

Here is my permissions for my /usr/html/rtorrent (my rutorrent directory)

Code:
total 60
drwxrwxrwx 10 root root 4096 Aug 31 20:52 .
drwxr-xr-x 16 root root 4096 Oct 5 00:33 ..
drwxrwxrwx 3 root root 4096 May 25 10:27 conf
drwxrwxrwx 2 root root 4096 May 25 10:27 css
-rwxrwxrwx 1 root root 5430 May 25 10:26 favicon.ico
drwxrwxrwx 2 root root 4096 May 25 10:27 images
-rwxrwxrwx 1 root root 12252 May 25 10:26 index.html
drwxrwxrwx 2 root root 4096 May 25 10:27 js
drwxrwxrwx 2 root root 4096 May 25 10:27 lang
drwxrwxrwx 2 root root 4096 May 25 10:27 php
drwxrwxrwx 26 root root 4096 Oct 11 01:16 plugins
drwxrwxrwx 5 root root 4096 May 25 10:27 share
 

somus1735

Member
May 25, 2018
833
0
16
just for shits and giggles try chanding ownership of the rutorrent/share/ directory to that of your webuser

if user = www-data:


Code:
chown -R www-data:www-data /path/to/rutorrent/share/
 

jith45

Member
May 25, 2018
960
0
16
I try to add a torrent to rtorrent through rutorrent and it says it was sucessfully passed,
Probably reasons:
1) You use too large value for update GUI interval.
2) Torrent with some hash is already present in rtorrent.
See log in rtorrent console for details.