Articles not marked read anymore upon opening

Hi everyone,

I’m using the official debian package of ttrss:

root@linux11:~# dpkg --list|grep tt-rss
ii  tt-rss                               21~git20210204.b4cbc79+dfsg-1.2         all          Tiny Tiny RSS - web-based news feed (RSS/Atom) aggregator

Last weekend I upgraded a couple of packages which brought me from php7.4 to php 8.2.

The TTRSS package was not upgraded then:

root@linux11:~# zgrep -h "status installed tt-rss" /var/log/dpkg.log* | sort | tail -n 1
2023-07-14 21:38:52 status installed tt-rss:all 21~git20210204.b4cbc79+dfsg-1.2

What I noticed: Even though the package upgrade appeared as successfully completed I had to reenable the apache PHP module manually (this time with 8.2).

Since that upgrade all articles appear in the color that I knew as the color for articles that have been marked read already.
Additionally when just going through them with P or N they remain unread. Explicitely using the dropdown to mark them as read doesn’t work either. I can only mark the entire feed as read.

Here’s the list of installed modules (had to install a couple of them manually because they weren’t automatically installed for php 8):

root@linux11:~# dpkg --list|grep php7
rc  libapache2-mod-php7.4                7.4.33-1+deb11u3                        amd64        server-side, HTML-embedded scripting language (Apache 2 module)
rc  php7.4-cli                           7.4.33-1+deb11u3                        amd64        command-line interpreter for the PHP scripting language
rc  php7.4-common                        7.4.33-1+deb11u3                        amd64        documentation, examples and common module for PHP
rc  php7.4-curl                          7.4.33-1+deb11u3                        amd64        CURL module for PHP
rc  php7.4-gd                            7.4.33-1+deb11u3                        amd64        GD module for PHP
rc  php7.4-intl                          7.4.33-1+deb11u3                        amd64        Internationalisation module for PHP
rc  php7.4-json                          7.4.33-1+deb11u3                        amd64        JSON module for PHP
rc  php7.4-ldap                          7.4.33-1+deb11u3                        amd64        LDAP module for PHP
rc  php7.4-mbstring                      7.4.33-1+deb11u3                        amd64        MBSTRING module for PHP
rc  php7.4-mysql                         7.4.33-1+deb11u3                        amd64        MySQL module for PHP
rc  php7.4-opcache                       7.4.33-1+deb11u3                        amd64        Zend OpCache module for PHP
rc  php7.4-readline                      7.4.33-1+deb11u3                        amd64        readline module for PHP
rc  php7.4-xml                           7.4.33-1+deb11u3                        amd64        DOM, SimpleXML, XML, and XSL module for PHP
root@linux11:~# dpkg --list|grep php8
ii  libapache2-mod-php8.2                8.2.7-1~deb12u1                         amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  php8.2                               8.2.7-1~deb12u1                         all          server-side, HTML-embedded scripting language (metapackage)
ii  php8.2-cli                           8.2.7-1~deb12u1                         amd64        command-line interpreter for the PHP scripting language
ii  php8.2-common                        8.2.7-1~deb12u1                         amd64        documentation, examples and common module for PHP
ii  php8.2-curl                          8.2.7-1~deb12u1                         amd64        CURL module for PHP
ii  php8.2-gd                            8.2.7-1~deb12u1                         amd64        GD module for PHP
ii  php8.2-intl                          8.2.7-1~deb12u1                         amd64        Internationalisation module for PHP
ii  php8.2-ldap                          8.2.7-1~deb12u1                         amd64        LDAP module for PHP
ii  php8.2-mbstring                      8.2.7-1~deb12u1                         amd64        MBSTRING module for PHP
ii  php8.2-mysql                         8.2.7-1~deb12u1                         amd64        MySQL module for PHP
ii  php8.2-opcache                       8.2.7-1~deb12u1                         amd64        Zend OpCache module for PHP
ii  php8.2-readline                      8.2.7-1~deb12u1                         amd64        readline module for PHP
ii  php8.2-xml                           8.2.7-1~deb12u1                         amd64        DOM, SimpleXML, XML, and XSL module for PHP

Does anybody have an idea as to why articles can’t be marked read anymore?

unless you can reproduce your issue on the demo, contact package maintainers for support.

p.s. going by package version, you’re using tt-rss from 2021. this might be a clue.

I have addressed the issue to him.

After not being able to solve the issue I decided to restore a backup of my server with the old package state.

For those interested:
After some more experiments it appears the issue comes up when PHP 7.4 packages are removed during the apt dist-upgrade. The debian TT-RSS package isn’t compatible with PHP 8.2.

I have recently had that issue with numerous web applications using PHP on an upgrade to Bookworm. I’ve switched to using PHP-FPM with Apache and the Sury repository to allow for multiple versions of PHP to be present on a system at the same time.

I upgraded my debian from bullseye (11) to bookworm (12) and noticed the same bug.

I see it’s been reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005331

As for the old version, the debian maintainer was asked to update in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021656 but nothing yet.

Sadness!

looks like nobody cared enough to set proper PHP version dependencies for tt-rss package. hopefully this is an isolated case. tt-rss is not important in the grand scheme of things, but dependency fuckups like this for something actually important could be bad news.

also, stuff like this is precisely why i only support my own docker images.