FS#69462 - [tt-rss] Doesn't work after latest php 8.0.1 update
Attached to Project:
Community Packages
Opened by Kurnevsky Evgeny (kurnevsky) - Thursday, 28 January 2021, 19:23 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 02 February 2021, 21:25 GMT
Opened by Kurnevsky Evgeny (kurnevsky) - Thursday, 28 January 2021, 19:23 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 02 February 2021, 21:25 GMT
|
Details
Description:
tt-rss doesn't work after latest php 8.0.1 update. It just writes "Could not update headlines (invalid object received - see error console for details)". In the php logs I see: 2021/01/28 19:19:55 [error] 374#374: *108 FastCGI sent in stderr: "PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/errorhandler.php on line 24PHP message: PHP Warning: Array to string conversion in /usr/share/webapps/tt-rss/include/e Additional info: tt-rss version: 2:r10185.41bde84a9-1 |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Tuesday, 02 February 2021, 21:25 GMT
Reason for closing: Fixed
Additional comments about closing: 2:r10198.6d8f2221b-2
Tuesday, 02 February 2021, 21:25 GMT
Reason for closing: Fixed
Additional comments about closing: 2:r10198.6d8f2221b-2
http {
.....
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
.....
}
My guess is that tt-rss spews a lot of PHP warnings back to nginx and it requires more buffer space.
>lmao
Looks like upstream does not really support PHP 8. If you decide to go back to php7 for tt-rss, at least the following changes are needed:
* Change dependencies in PKGBUILD
* Change the command in tt-rss.service
* Patch sources so that the default value for PHP_EXECUTABLE is /usr/bin/php7
Oleksandr, the workaround definitely works for me. Make sure you add the fastcgi configuration into http{} block.
One needs to:
- merge changes for /etc/webapps/tt-rss/config.php
- update /etc/php7/php.ini and enable extensions needed for tt-rss
- start/enable php-fpm7 service
No, it doesn't. But your recent changes that move the package to php7 do work.
Sorry if my comment was misleading. I didn't actually modify PKGBUILD but go with quick-and-dirty hacks and directly sudoedit various files.
I can also confirm after I revert my changes and install community-testing/tt-rss, it works like a charm again. Also signed-off the package:D