[SOLVED] Update daemon is not updating feeds

Why am I getting the error message at the bottom of the tt-rss webpage:

Update daemon is not updating feeds.

image

$ systemctl status ttrss_backend.service
● ttrss_backend.service - ttrss_backend
   Loaded: loaded (/etc/systemd/system/ttrss_backend.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-05-31 06:19:29 PDT; 1h 13min ago
 Main PID: 9459 (php)
   CGroup: /system.slice/ttrss_backend.service
           └─9459 php /var/www/html/tt-rss/update_daemon2.php

May 31 07:32:06 BROWN update_daemon2.php[9459]: [14:32:06/12398] Purged 0 orphaned posts.
May 31 07:32:06 BROWN update_daemon2.php[9459]: [14:32:06/12398] Removed 0 (feeds) 0 (cats) orphaned counter cache entries.
May 31 07:32:07 BROWN update_daemon2.php[9459]: [14:32:07/9459] [reap_children] child 12395 reaped.
May 31 07:32:07 BROWN update_daemon2.php[9459]: [14:32:07/9459] [SIGCHLD] jobs left: 1
May 31 07:32:11 BROWN update_daemon2.php[9459]: [14:32:11/12400] warning: unable to create stampfile
May 31 07:32:11 BROWN update_daemon2.php[9459]: [14:32:11/12400] Scheduled 0 feeds to update...
May 31 07:32:11 BROWN update_daemon2.php[9459]: [14:32:11/12400] Sending digests, batch of max 15 users, headline limit = 1000
May 31 07:32:11 BROWN update_daemon2.php[9459]: [14:32:11/12400] All done.
May 31 07:32:12 BROWN update_daemon2.php[9459]: [14:32:12/9459] [reap_children] child 12397 reaped.
May 31 07:32:12 BROWN update_daemon2.php[9459]: [14:32:12/9459] [SIGCHLD] jobs left: 0

[SOLUTION]
Look for .lock or .stamp files that do not have the owner/group “www-data” (the webserver account).
$ cd /var/www/html/tt-rss/lock
$ sudo chgrp www-data update_daemon.stamp
$ sudo chown www-data update_daemon.stamp
$ sudo service ttrss_backend restart

1 Like

I think because the update daemon is not updating feeds. :grinning:

There is a warning in the log shown, maybe you should investigate?

most likely permissions on lock directory are incorrect

that is if update daemon does in fact update feeds

chmod -R ug+rwX lock cache feed-icons

Should do it assuming ownership and group are set correctly.