The feed itself parses correctly with myfeedsucks and with the "f D" debugger.
Looking at nginx error.log, I see a bunch of errors about PostgreSQL that happened on 14 April, which is probably when the problem started. Some samples:
Code: Select all
PHP message: PHP Warning: pg_last_error(): No PostgreSQL link opened yet in /var/www-nginx/tt-rss/classes/db/pgsql.php on line 24
PHP message: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: the database system is in recovery mode in /var/www-nginx/tt-rss/classes/db/pgsql.php on line 21
PHP message: PHP Warning: pg_last_error(): No PostgreSQL link opened yet in /var/www-nginx/tt-rss/classes/db/pgsql.php on line 24" while reading response header from upstream, client: 94.76.41.29, server: [redacted], request: "POST /tt-rss//api/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "[redacted]"
2017/04/14 13:57:11 [error] 210#210: *42639 FastCGI sent in stderr: "PHP message: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: the database system is in recovery mode in /var/www-nginx/tt-rss/classes/db/pgsql.php on line 21
I'm guessing PostgreSQL crashed and corrupted the database somehow. Is there anything I can do or should I just export OPML and do a clean installation?
Installation details:
Tiny Tiny RSS v17.1 (b8f23d6), CentOS 7.3, PHP 5.4, PostgreSQL 9.2
Code: Select all
[root@www tt-rss]# git log -1 | head -1
commit b8f23d68484d8c0672d6c01a1344804dd5aba17f
[root@www tt-rss]# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
[root@www tt-rss]# rpm -qa | grep 'nginx\|postgres\|php' | sort
nginx-1.10.2-1.el7.ngx.x86_64
nginx-filesystem-1.10.2-1.el7.noarch
php-cli-5.4.16-42.el7.x86_64
php-common-5.4.16-42.el7.x86_64
php-fpm-5.4.16-42.el7.x86_64
php-mbstring-5.4.16-42.el7.x86_64
php-pdo-5.4.16-42.el7.x86_64
php-pgsql-5.4.16-42.el7.x86_64
php-theseer-fDOMDocument-1.6.0-2.el7.noarch
php-xml-5.4.16-42.el7.x86_64
postgresql-9.2.18-1.el7.x86_64
postgresql-libs-9.2.18-1.el7.x86_64
postgresql-server-9.2.18-1.el7.x86_64