RSS - Feeds will not update automatically

shwetha17

Member
May 24, 2018
785
0
16
Hello everyone,

I'm having a problem getting the RSS feed to auto-update. I can add a feed fine, and it will correctly update manually, but never by itself. Per other threads, I have tried adding the line schedule = rss,0,00:30:00,"execute={sh,-c,php ~/www/rutorrent/plugins/rss/update.php& exit 0}" to the .rtorrent.rc instead of relying on the $isAutoStart = true; in the rssconf.php

Unfortunately this has not resolved my issue, and RSS feeds will not auto-update for me. If I do a manual update, they update properly.


I'm on a shared server running

OS Debian lenny 5.0 64bit
PHP 5.2.6.dfsg.1-1+lenny4
rTorrent 0.8.6/0.12.6
ruTorrent 2.8 (both core and plugins from SVN)
RSS plugin is revision 651 (from today)


Any help would be greatly appreciated!
 

shwetha17

Member
May 24, 2018
785
0
16
Are the permisions on the update.php set ok ?

Try to turn on the log file , and see what errors you get
execute_log = /home/rtorrentuser/rtorrent.log
 

jith45

Member
May 25, 2018
960
0
16
This is what is showing up in the log...

sh -c php /home/gambit34/www/rutorrent/plugins/rss/update.php& exit 0
---
sh: php: command not found

--- Success ---
 

shwetha17

Member
May 24, 2018
785
0
16
you need to install php-cli

if you have php-cli you need to do one of 2 things

one

create a symbolic link from php-cli to php
let's say php-cli is in /usr/local/bin
Code:
ln -s /usr/local/bin/php-cgi /usr/local/bin/php
or, easier, just change php to your php-cli command in the .rtorrent.rc (where ever you see php put the full path for your php-cli binary)

10-1 thouh you just need to install it.

most people dont' have it by default.
 

somus1735

Member
May 25, 2018
833
0
16
Yes - that did it! php-cli needed to be installed, and solved it all.

Thanks for your help!