tiny tiny rss updating...

tomsserver
Posts: 5
Joined: Tue Jan 07, 2014 10:23 am

tiny tiny rss updating...

Postby tomsserver » Thu Jan 30, 2014 4:26 pm

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: tiny tiny rss updating...

Postby bigfoot65 » Thu Jan 30, 2014 5:27 pm

Please file a bug at https://bugs.amahi.org

[ Post made via Android ] Image
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: tiny tiny rss updating...

Postby bigfoot65 » Thu Jan 30, 2014 6:06 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 19 guests