Page 1 of 1

tiny tiny rss updating...

Posted: Thu Jan 30, 2014 4:26 pm
by tomsserver
My rss feeds do not update. According to the tiny tiny rss website you should:
Use this if you have access to PHP command line interpreter but not allowed (e.g. by your hosting provider) to run persistent background processes. Do not try to run cronjobs with a PHP CGI binary, it's not going to work. If you see HTTP headers being displayed when you run php ./update.php you are using an incorrect binary.

Full example (see man 5 crontab for more information on the syntax):

*/30 * * * * /usr/bin/php /home/user/public_html/tt-rss/update.php --feeds --quiet

Notes:

/usr/bin/php should be replaced with the correct path to PHP CLI binary on your system. If you are not sure which binary or what path to use, ask your hosting provider.
/home/user/public_html/tt-rss stands for the directory where you installed Tiny Tiny RSS.
Try the command using shell if possible to check if it works before setting up the cronjob.
what would be the equivalent of this command on Amahi 7.1?

If this is not possible can you please tell me where the tiny rss config file is located and I'll do this instead:
If all else fails and you can't use any of the above methods, you can enable simple update mode where tt-rss will try to periodically update feeds while it is open in your web browser. Obviously, no updates will happen when tt-rss is not open or your computer is not running.

To enable this mode, set constant SIMPLE_UPDATE_MODE to true in config.php.
Thanks

Re: tiny tiny rss updating...

Posted: Thu Jan 30, 2014 5:27 pm
by bigfoot65
Please file a bug at https://bugs.amahi.org

[ Post made via Android ] Image

Re: tiny tiny rss updating...

Posted: Thu Jan 30, 2014 6:06 pm
by bigfoot65
I have made updates to the app to allow automatic updating. Both options referenced in the earlier post are enabled.

The syntax is:

Code: Select all

*/30 * * * * /usr/bin/php /var/hda/web-apps/ttrss/html/update.php --feeds --quiet
and the path for config.php is:

Code: Select all

/var/hda/web-apps/ttrss/html
Although this will correct your issue, would appreciate it if you still filed a bug with your original details. It will allow us to show the problem, fix, and time alotted to correct it.