FreshRSS-AutoTTL icon indicating copy to clipboard operation
FreshRSS-AutoTTL copied to clipboard

No automatic refresh

Open tobiasholle opened this issue 1 year ago • 1 comments

Hi, I installed the extension but it is unfortunately not working. Is there anything I need to take care of before it is actually implemented?

tobiasholle avatar Oct 03 '24 10:10 tobiasholle

Do your feeds update without using this plugin? Can you check the statistics table in plugin options, are there any feeds where Time until next update is empty? This would mean that the time to update the feed has come but the cron has not run yet.

mgnsk avatar Oct 03 '24 12:10 mgnsk

They do but only if I update manually, it is not empty (see. picture)

Capture d’écran 2024-10-06 à 08 52 56

tobiasholle avatar Oct 06 '24 06:10 tobiasholle

Make sure your AutoTTL's Max TTL setting is longer than FreshRSS's TTL (from Configuration -> Archiving).

A good default is to use 1d for AutoTTL's Max TTL and 20min for FreshRSS TTL. This way faster feeds can still benefit from the 20min rate but slower feeds fall somewhere between 20min and 1d.

I'll try to come up with some solution that would show perhaps a warning when those values are not configured correctly.

mgnsk avatar Oct 06 '24 15:10 mgnsk

Thank you. I edited the times. Nevertheless, as you can see in the screenshot, the updates are not carried out for the Feeds (probably only the ones with the maximum TLL of 12 hours, couldn't verify by now but according to the changes in the TLL update times). Capture d’écran 2024-10-07 à 07 07 10

tobiasholle avatar Oct 07 '24 05:10 tobiasholle

You have any idea there? It's still not updating the feeds automatically and I therefore have to do it manually which was not the purpose.

tobiasholle avatar Oct 15 '24 07:10 tobiasholle

You have any idea there? It's still not updating the feeds automatically and I therefore have to do it manually which was not the purpose.

Sorry, haven't got the time yet.

Are you sure your cron is set up correctly? Do the feeds automatically update without this plugin enabled?

Any way, if it's an issue with this plugin, the first course of action would be to write a suite of tests which I've put off for too long.

mgnsk avatar Oct 15 '24 08:10 mgnsk

I didn't really get it going properly. The feeds update automatically and I'll just leave it like that. I'm not enough an expert to try out too much and break everything... 🙈

tobiasholle avatar Oct 16 '24 08:10 tobiasholle

I didn't really get it going properly. The feeds update automatically and I'll just leave it like that. I'm not enough an expert to try out too much and break everything... 🙈

Can you update to v0.5.6, enable debug logging by setting 'environment' => 'development' in FreshRSS's data/config.php file and check the statistics table and logs again after some time?

The logs should eventually tell exactly what happened to each feed for every decision made by AutoTTL.

mgnsk avatar Oct 17 '24 14:10 mgnsk

Fixed in https://github.com/mgnsk/FreshRSS-AutoTTL/releases/tag/v0.5.7.

mgnsk avatar Oct 23 '24 09:10 mgnsk