RSS plugin configuration issues (3.20)

somus1735

Member
May 25, 2018
833
0
16
Hi guys, I'm hoping someone can help me.

I recently moved from a shared server seedbox to a dedicated box (which I setup myself using ubuntu server 10.04 along with rtorrent 0.8.6/libtorrent 0.12.6) with rutorrent 3.2 and current plugins.

All seems to be working correctly, except the RSS feed wont update on the schedule that I have set under rutorrent/plugins/rss/conf.php

now, as this was the only file I had modified on the old shared server (running rutorrent 3.1 with RSS plugin 3.10) to update the RSS feed every 3 minutes, and that worked fine, with the new setup no matter what time I enter into the conf.php it only seems to update every 15 minutes.

I've also tried chmod'ing all pertinent folders to 777 (the rutorrent dir inc. plugins, the share dir, the cache dir) with no effect, it just seems to keep ticking over at 15 minutes no matter what, even though the new timer that shows in rutorrent 3.2 clocks over at 3 minutes.

To make sure this wasn't a feed issue or something they changed on their end recently, while my old slot is still functional I went back and re-enabled the feed there and its back to updating every 3 minutes without fail. (the site lists last RSS update time along with last site visit on my profile page)

(new setup)

2011-02-16 01:45:01 (< 1 min ago)

2011-02-16 02:00:03 (10 mins ago)

2011-02-16 02:15:01 (3 mins ago)

2011-02-16 02:30:01 (6 mins ago)

2011-02-16 02:45:02 (4 mins ago)

(old slot)

2011-02-16 16:23:47 (< 1 min ago)

2011-02-16 16:26:48 (< 1 min ago)

2011-02-16 16:29:48 (< 1 min ago)

(back to new setup)

2011-02-16 16:31:17 (7 mins ago)

2011-02-16 16:45:09 (10 mins ago)

2011-02-16 17:00:15 (3 mins ago)

Is there an issue with the 3.20 version of the RSS plugin or is there something I'm missing here, any help would be appreciated as I'm completely stumped (and I've been going in circles since yesterday tongue.gif ) as to why it doesn't want to work.


Regards,
 

dsouvik215

Member
May 25, 2018
896
0
16
check the plugin's conf.php

if you installed rutorrent to /var/www/rutorrent it would be

/var/www/rutorrent/plugins/rss/conf.php
 

das329717

Member
May 25, 2018
928
0
16
check the plugin's conf.php

if you installed rutorrent to /var/www/rutorrent it would be

/var/www/rutorrent/plugins/rss/conf.php
yeah this is where it is, (i neglected to include the full path before, sorry) and conf.php is set: $updateInterval = 3; // in minutes
 

jith45

Member
May 25, 2018
960
0
16
also, remember to set rtorrent to run initplugins.php at startup so you always have rss going. Basically, the rss plugin doesn't start it's magic until you visit the webui at least once, but if you do what i'm suggesting it will simulate that.

it would be something like this in your .rtorrent.rc
Code:
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php wonslung &}

assuming your php was installed at /usr/bin/php, rutorrent installed at /var/www/rutorrent/ and your webuser (basic auth name) is wonslung.

Do you follow me?
 

somus1735

Member
May 25, 2018
833
0
16
I do, seems right now even though I have it open in a browser its still sticking to 15 minute updates.

I had that line in my .rtorrent.rc file before, and I'm sure it was correct, but when I restarted everything rtorrent would refuse to run at startup or manually via screen, when I removed that line it started fine.

I'll have to double check it again, try re adding it and restarting everything again.


thanks for getting back to me this quickly.
 

shwetha17

Member
May 24, 2018
785
0
16
OK, I got the .rtorrent.rc config fixed, I think I stuffed a line by editing it in windows and also in WinSCP, made the change in nano and its working now, but still the same problem.

What seems really odd, that its back to updating every 15 minutes, but I noticed that it's not from whenever it starts, it's exactly 15 minutes past the hour and again at 30, 45, 00, 15, etc...

I'm confused, theres no other setting anywhere that would override the RSS conf.php?
 

dsouvik215

Member
May 25, 2018
896
0
16
the only thing which would override it would be if you had a user based config setup as well.

basically, if you use multi-user or webauth, you can create a directory for each user and set user based conf.php for each plugin.

Example:

rutorrent is installed at /var/www/rutorrent/ and you have a user named tom and dick

the rss plugin would have it's settings set in /var/www/rutorrent/plugins/rss/conf.php BUT you could override those settings by creating /var/www/rutorrent/plugins/conf/users/tom/plugins/rss/conf.php

do you understand?
 

das329717

Member
May 25, 2018
928
0
16
I messed around a little more with this today and after still finding that it would only update every 15 minutes no matter what I tried, I uninstalled the plugin and installed v3.10 which is now working, updating every 3 minutes.

I don't know if there is anything wrong with the new version at all or something in the new version in conjunction with the settings I have somewhere, I don't know.

Thanks for taking the time to help me out though. grin.gif
 

jith45

Member
May 25, 2018
960
0
16
it's not a good idea to use mismatched versions.

Are you sure you didn't have a mismatached version as it was? you should have used svn for everything. It sounds like you used svn for just rutorrent and then downloaded the 3.2 plugin from the website, this wouldnt' work correctly
 

dsouvik215

Member
May 25, 2018
896
0
16
I just went back and checked the guide and they both came from svn.

Either way, if it behaves I don't see the older version of the plugin causing any issues as it's still working fine after a day, but ill keep an eye on it.