AutoTools won't work with rutorrent 3.1

randac56

Member
May 25, 2018
915
0
16
Hi can anyone help me get autotools working with rutorrent 3.1?

Here is my setup

Example:
home/lestat1977uk/download/Tvshows/dexter/season 1

Finished Directory:
home/lestat1977uk/completed/Tvshows/dexter/season 1

Setup in rutorrent/Autotools

Autolabel Enabled
Automove Enabled

Path to finished downloads
/home/lestat1977uk/Completed/


as far as i can see everything looks right but nothing gets labeled or moved?

Any help would be really appreciated.
 

peshua19

Member
May 25, 2018
897
0
16
hi

remember it's begin to work for new finished download. If you have already some torrent wich are finished it will not work for them.

++
 

randac56

Member
May 25, 2018
915
0
16
Hi I looked and i cant see where i enable logs, if you could point me in the right direction i would really appreciate it.
 

randac56

Member
May 25, 2018
915
0
16
no, i mean the autotools and rutorrent logging


check the config.php for rutorrent and the conf.php for autotools


also, a lesser known fact: autotools will fail with relative home paths set in .rtorrent.rc so this:


~/download/

will fail where this:

/home/duder/download

will not.
 

peshua19

Member
May 25, 2018
897
0
16
hi guys enabled log and change the path mentions but still not working.

where is the log, cant see it?
 

lisas4567

Member
May 25, 2018
773
0
16
by default:

$log_file = '/tmp/errors.log'; // path to log file (comment or make empty to disable logging)
 

simur612

Member
May 25, 2018
879
0
16
im looking in the ftp for my seedbox and i cant see that directory? im sute im doing something wrong smiley.gif
 

randac56

Member
May 25, 2018
915
0
16
Ok so here is the log, can any figure out what is going wrong?

[14.10.10 18:48:50]
[14.10.10 18:48:50] AutoWatch: --- begin ---
[14.10.10 18:48:50] AutoWatch: enabled : 1
[14.10.10 18:48:50] AutoWatch: autostart : 1
[14.10.10 18:48:50] AutoWatch: path_to_watch : /home/lestat1977uk/Torrent Files/
[14.10.10 18:48:50] AutoWatch: get_directory : /home/lestat1977uk/Download/Misc/
[14.10.10 18:48:50] AutoWatch: --- end ---
[14.10.10 18:52:25]
[14.10.10 18:52:25] AutoLabel: --- begin ---
[14.10.10 18:52:25] AutoLabel: enabled : 1
[14.10.10 18:52:25] AutoLabel: get_directory : /home/lestat1977uk/Download/Misc
[14.10.10 18:52:25] AutoLabel: d.get_directory : /home/lestat1977uk/Download/Music/Rihanna-Only_Girl_In_The_World__Remixes-WEB-2010-PWT
[14.10.10 18:52:25] AutoLabel: d.get_custom3 :
[14.10.10 18:52:25] AutoLabel: d.is_multy_file : 1
[14.10.10 18:52:25] AutoLabel: label : ""
[14.10.10 18:52:25] AutoLabel: --- end ---
[14.10.10 18:52:41]
[14.10.10 18:52:41] AutoMove: --- begin ---
[14.10.10 18:52:41] AutoMove: enabled : 1
[14.10.10 18:52:41] AutoMove: path_to_finished : /home/lestat1977uk/Completed/
[14.10.10 18:52:56] AutoMove: rXMLRPCRequest() fail (get_directory, d.get_base_path)
[14.10.10 18:52:56] AutoMove: --- end ---
[14.10.10 18:53:50]
[14.10.10 18:53:50] AutoWatch: --- begin ---
[14.10.10 18:53:50] AutoWatch: enabled : 1
[14.10.10 18:53:50] AutoWatch: autostart : 1
[14.10.10 18:53:50] AutoWatch: path_to_watch : /home/lestat1977uk/Torrent Files/
[14.10.10 18:53:50] AutoWatch: get_directory : /home/lestat1977uk/Download/Misc/
[14.10.10 18:53:50] AutoWatch: torrent file : /home/lestat1977uk/Torrent Files/Rihanna-Only_Girl_In_The_World__Remixes-WEB-2010-PWT.torrent
[14.10.10 18:53:50] AutoWatch: save data to : /home/lestat1977uk/Download/Misc/
[14.10.10 18:53:50] AutoWatch: torrent added : 016FA4FF707C655A0AC29626FE5DF59208389111
[14.10.10 18:53:50] AutoWatch: --- end ---
[14.10.10 18:54:07]
[14.10.10 18:54:07] AutoWatch: --- begin ---
[14.10.10 18:54:07] AutoWatch: enabled : 1
[14.10.10 18:54:07] AutoWatch: autostart : 1
[14.10.10 18:54:07] AutoWatch: path_to_watch : /home/lestat1977uk/Torrent Files/
[14.10.10 18:54:07] AutoWatch: get_directory : /home/lestat1977uk/Download/Misc/
[14.10.10 18:54:07] AutoWatch: --- end ---
[14.10.10 18:59:07]
[14.10.10 18:59:07] AutoWatch: --- begin ---
[14.10.10 18:59:07] AutoWatch: enabled : 1
[14.10.10 18:59:07] AutoWatch: autostart : 1
[14.10.10 18:59:07] AutoWatch: path_to_watch : /home/lestat1977uk/Torrent Files/
[14.10.10 18:59:07] AutoWatch: get_directory : /home/lestat1977uk/Download/Misc/
[14.10.10 18:59:07] AutoWatch: --- end ---
[14.10.10 19:00:17]
[14.10.10 19:00:17] AutoWatch: --- begin ---
[14.10.10 19:00:17] AutoWatch: enabled : 1
[14.10.10 19:00:17] AutoWatch: autostart : 1
[14.10.10 19:00:17] AutoWatch: path_to_watch : /home/lestat1977uk/Torrent Files/
[14.10.10 19:00:17] AutoWatch: get_directory : /home/lestat1977uk/Download/Misc/
[14.10.10 19:00:17] AutoWatch: --- end ---
 

peshua19

Member
May 25, 2018
897
0
16
your php.ini is borked i think.


search for:

register_argc_argv


and tell me what it is set at.


also, i've seen this bug when people set the php binary to php-cgi by mistake (it should only be the cli version)

Check your config.php for rutorrent
 

lisas4567

Member
May 25, 2018
773
0
16
sorry im not sure what you mean but below is my config.php.

i haven't done anything to this is as set by feral hosting.


<?php
// configuration parameters

@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Feral Hosting; compatible) rutorrent/3.1', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 15, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);

@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);


$do_diagnostic = true;
$log_file = '/home/lestat1977uk/www/lestat1977uk.medium-taupe.feralhosting.com/public_html/rutorrent/error.log';
$saveUploadedTorrents = true;

$topDirectory = '/home/lestat1977uk';
$forbidUserSettings = false;

$scgi_port = 51034;
$scgi_host = '127.0.0.1';
$XMLRPCMountPoint = 'http://rutorrent:****************@lestat1977uk.medium-taupe.feralhosting.com/lestat1977uk/RPC';


$pathToExternals = array(
'php' => '/usr/bin/php',
'curl' => '/usr/local/bin/curl',
'gzip' => '/bin/gzip',
'id' => '/usr/bin/id'
);

$pathToPHP = '/usr/bin/php5';
$pathToCurl = '/usr/local/bin/curl';
 

simur612

Member
May 25, 2018
879
0
16
damn man, PLEASE PLEASE learn to use code brackets.

It's really unclear looking at that.

The last 2 lines shouldn't exist....but anyways, no, your php.ini file, not your rutorrent configs.
 

randac56

Member
May 25, 2018
915
0
16
Hi Sorry

What do you mean by code brackets, i really appreciate your help but im not amazingly experienced with linux so please beer with me.

if you can be more descriptive, like the location of the file it would really help

Sorry again but what you wrote below was very confusing.


your php.ini is borked i think.


search for:

register_argc_argv


and tell me what it is set at.


also, i've seen this bug when people set the php binary to php-cgi by mistake (it should only be the cli version)

Check your config.php for rutorrent
 

randac56

Member
May 25, 2018
915
0
16
well that's just it. It depends very much on which distro of linux or unix you use.

for instance, php.ini on FreeBSD is at /usr/local/etc/php.ini

php.ini on OpenSolaris is at /etc/php/5.2/php.ini

php.ini on debian is at /etc/php5/apache2/php.ini /etc/php5/cli/php.ini AND/etc/php5/cgi/php.ini

theres tons of places for it to be, and how it's configured is different for each system. It's a pretty complicated file. You can do some pretty crazy shit with it.

ALSO, another thing which can cause failures in automove is the path set in .rtorrent.rc

autotools doesn't like relative paths
Code:
directory = ~/rtorrent/download/

is bad
Code
directory = /home/SOMEUSER/rtorrent/download/

is good
 

peshua19

Member
May 25, 2018
897
0
16
hi again

ok so the path isnt relative so it isnt that.

as for the php.ini is it possible i dont have access to it? i've sftp into my seedbox and that file is in none of the directories.

im running 3.1 runtorrent on a feral hosting power slot.

is it possible i cant access that file?

Also trying to get the autounpack working but having no luck there either, saw your excellent guide but it wont work for me... auto never seems to start and manual says finished with errors...
 

lisas4567

Member
May 25, 2018
773
0
16
Did you do the install of all software ?

Or as you have a slot did feral do it ?
F feral did .. then you should ask them to solve this issue
As normally you do not have axx to all config files
 

simur612

Member
May 25, 2018
879
0
16
it's obvious he didnt' install them.

you need to get your hosting comany on this if they are the ones who handled the installs