I decided to do a fresh-install, blowing away my old ttrss configuration (I have a backup and exported my opml) and re-deploying from the git master. I did keep the same DB; when I launched the new ttrss install it said it did a DB update.
Before, I was doing feed updates using a cronjob and calling "update.php --feeds" but I decided to switch to a systemd service; this is not working and I see no reason why.
According to my ttrss instance, the last update was just before I made the upgrade:
Code: Select all
No unread articles found to display.
Feeds last updated at Apr 23, 15:03
All feeds still are visible in the left-hand pane.
Php and mysql versions:
Code: Select all
surfrock66@sr66-blade:~$ php -v
PHP 5.6.11-1ubuntu3.2 (cli)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
surfrock66@sr66-blade:~$ mysql -V
mysql Ver 14.14 Distrib 5.7.11, for Linux (x86_64) using EditLine wrapper
Systemd service definition:
Code: Select all
surfrock66@sr66-blade:~$ cat /lib/systemd/system/ttrss_backend.service
[Unit]
Description=ttrss_backend
After=network.target mysql.service postgresql.service
[Service]
User=www-data
ExecStart=/var/www/ttrss/update_daemon2.php
[Install]
WantedBy=multi-user.target
Systemd service status (following a reboot earlier today):
Code: Select all
surfrock66@sr66-blade:~$ sudo systemctl status ttrss_backend.service
● ttrss_backend.service - ttrss_backend
Loaded: loaded (/lib/systemd/system/ttrss_backend.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2016-04-24 13:59:27 PDT; 6h ago
Main PID: 10825 (php)
Tasks: 1 (limit: 512)
CGroup: /system.slice/ttrss_backend.service
└─10825 php /var/www/ttrss/update_daemon2.php
Apr 24 20:54:55 sr66-blade update_daemon2.php[10825]: [03:54:55/27274] Feedbrowser updated, 47 feeds processed.
Apr 24 20:54:56 sr66-blade update_daemon2.php[10825]: [03:54:56/27274] Purged 0 orphaned posts.
Apr 24 20:54:56 sr66-blade update_daemon2.php[10825]: [03:54:56/27274] Removed 0 (feeds) 0 (cats) orphaned counter cache entries.
Apr 24 20:54:57 sr66-blade update_daemon2.php[10825]: [03:54:57/10825] [reap_children] child 27270 reaped.
Apr 24 20:54:57 sr66-blade update_daemon2.php[10825]: [03:54:57/10825] [SIGCHLD] jobs left: 1
Apr 24 20:55:00 sr66-blade update_daemon2.php[10825]: [03:55:00/27275] Scheduled 0 feeds to update...
Apr 24 20:55:00 sr66-blade update_daemon2.php[10825]: [03:55:00/27275] Sending digests, batch of max 15 users, headline limit = 1000
Apr 24 20:55:00 sr66-blade update_daemon2.php[10825]: [03:55:00/27275] All done.
Apr 24 20:55:01 sr66-blade update_daemon2.php[10825]: [03:55:01/10825] [reap_children] child 27272 reaped.
Apr 24 20:55:01 sr66-blade update_daemon2.php[10825]: [03:55:01/10825] [SIGCHLD] jobs left: 0
If I manually kill off the demon and run it in the terminal to see the output, I see nothing wrong other than a warning:
Code: Select all
surfrock66@sr66-blade:/var/www/ttrss$ sudo systemctl stop ttrss_backend.service
surfrock66@sr66-blade:/var/www/ttrss$ php /var/www/ttrss/update_daemon2.php
[04:00:38/30306] [MASTER] installing shutdown handlers
[04:00:38/30306] [MASTER] spawned client 0 [PID:30307]...
[04:00:38/30306] [MASTER] spawned client 1 [PID:30308]...
[04:00:38/30312] Using task id 1
[04:00:38/30312] Lock: update_daemon-30308.lock
[04:00:38/30312] Waiting before update (5)
[04:00:38/30311] Using task id 0
[04:00:38/30311] Lock: update_daemon-30307.lock
[04:00:38/30311] Waiting before update (0)
[04:00:38/30311] warning: unable to create stampfile
[04:00:38/30311] Scheduled 0 feeds to update...
[04:00:38/30311] Sending digests, batch of max 15 users, headline limit = 1000
[04:00:38/30311] All done.
[04:00:38/30311] cache/simplepie: removed 0 files.
[04:00:38/30311] cache/images: removed 0 files.
[04:00:38/30311] cache/export: removed 0 files.
[04:00:38/30311] cache/upload: removed 0 files.
[04:00:38/30311] Removed 0 old lock files.
[04:00:38/30311] Removing old error log entries...
[04:00:38/30311] Feedbrowser updated, 47 feeds processed.
[04:00:39/30311] Purged 0 orphaned posts.
[04:00:39/30311] Removed 0 (feeds) 0 (cats) orphaned counter cache entries.
[04:00:40/30306] [reap_children] child 30307 reaped.
[04:00:40/30306] [SIGCHLD] jobs left: 1
[04:00:43/30312] warning: unable to create stampfile
[04:00:43/30312] Scheduled 0 feeds to update...
[04:00:43/30312] Sending digests, batch of max 15 users, headline limit = 1000
[04:00:43/30312] All done.
[04:00:44/30306] [reap_children] child 30308 reaped.
[04:00:44/30306] [SIGCHLD] jobs left: 0
I see "scheduled 0 feeds to update" even though it sees 47 feeds....they're all scheduled to use the default interval of 15 minutes. The output when I log in, saying no updates have happened since 4/23 3:03 PM, doesn't change. At this point I'm stumped.