[Solved] Unable to load/access the Throttle plugin

saroos1

Member
May 25, 2018
718
0
16
Hi

I use rtorrent (0.8.6) + rutorrent (3.1) since few weeks, everything works fine, I add some plugins (cpuload create data datadir erasedata extsearch geoip _getdir rpc rss source trafic), and it works great too.
Yesterday, I try to install the Throttle plugin, and i'm unable to use it (nothing new appears into the settings and right click menus..).

I "svn" it on the plugins directory, add this line on my .rtorrent.rc file :
Code:
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php &}

(both /usr/bin/php and /var/www/rutorrent/php/initplugins.php exist)
I quit rtorrent (Ctrl+Q), restart it, and refresh my rutorrent web page (with cleaning the cache).... and nothing new appears.

What am i doing wrong ?
 

simur612

Member
May 25, 2018
879
0
16
Not sure why you add that to .rtorrent.rc

I don't have that and it works perfect for me.
Do you see in rutorrent that the plugin is loaded ?
Any errors given when starting the rutorrent ?
Does the plugin have the right permissions ?
 

randac56

Member
May 25, 2018
915
0
16
Hi

Thank for the answer.

I completely forget to check the "Plugins" tab ... But no, Throttle is not listed there.
So I try to remove the Throttle directory & the line on the .rtorrent.rc, then I reinstall it (from svn), but Throttle is still not available (and not listed) !

Is there a way to get a debug/log ?

Edit: did you change something on the plugin.ini file ?
 

peshua19

Member
May 25, 2018
897
0
16
Is it installed in the plugin folder of rutorrent ?
please check that it is saved like this : rutorrent/plugins/throttle
And then all files in that folder , owned by the webserver-user

I changed nothing in the plugin.ini file
 

lisas4567

Member
May 25, 2018
773
0
16
check, double check :

Code:
meepmeep:/var/www/rutorrent/plugins$ ls -lh
total 512
drwxrwxrwx 4 meepmeep meepmeep 264 2010-08-27 17:34 cpuload
drwxrwxrwx 5 meepmeep meepmeep 552 2010-08-27 17:32 create
drwxrwxrwx 4 meepmeep meepmeep 184 2010-08-28 00:47 data
drwxrwxrwx 4 meepmeep meepmeep 360 2010-08-27 17:33 datadir
drwxrwxrwx 4 meepmeep meepmeep 232 2010-08-28 00:01 erasedata
drwxrwxrwx 6 meepmeep meepmeep 344 2010-08-28 00:11 extsearch
drwxrwxrwx 5 meepmeep meepmeep 320 2010-08-29 15:32 geoip
drwxrwxrwx 3 meepmeep meepmeep 248 2010-08-28 00:36 _getdir
drwxrwxrwx 3 meepmeep meepmeep 152 2010-08-27 20:01 rpc
drwxrwxrwx 5 meepmeep meepmeep 384 2010-08-28 00:02 rss
drwxrwxrwx 4 meepmeep meepmeep 184 2010-08-27 17:34 source
drwxrwxrwx 4 meepmeep meepmeep 296 2010-10-27 13:41 throttle
drwxrwxrwx 4 meepmeep meepmeep 376 2010-08-27 17:32 trafic
<******************************************************>
ls -lh throttle/
total 37K
-rw-rw-rw- 1 meepmeep meepmeep 136 2010-10-27 13:41 action.php
-rw-rw-rw- 1 meepmeep meepmeep 77 2010-10-27 13:41 conf.php
-rw-rw-rw- 1 meepmeep meepmeep 7.2K 2010-10-27 13:41 init.js
-rw-rw-rw- 1 meepmeep meepmeep 265 2010-10-27 13:41 init.php
drwxrwxrwx 3 meepmeep meepmeep 552 2010-10-27 13:41 lang
-rw-rw-rw- 1 meepmeep meepmeep 196 2010-10-27 13:41 plugin.info
-rw-rw-rw- 1 meepmeep meepmeep 134 2010-10-27 13:41 throttle.css
-rw-rw-rw- 1 meepmeep meepmeep 4.7K 2010-10-27 13:41 throttle.php

Any idea to get a debug / logfile ?
 

saroos1

Member
May 25, 2018
718
0
16
Maybe a stupid question , but did you refresh your webbrowser after adding the plugin ?
 

simur612

Member
May 25, 2018
879
0
16
What am i doing wrong ?
If you use stable 3.1 version of ruTorrent then you must use stable versions of plugins too. Plugins from svn doesn't compatible with stable 3.1 version, its compatible with svn version of ruTorrent only.