{"id":21625,"date":"2023-01-31T10:04:11","date_gmt":"2023-01-31T08:04:11","guid":{"rendered":"https:\/\/www.wjst.de\/blog\/?p=21625"},"modified":"2023-02-03T13:46:40","modified_gmt":"2023-02-03T11:46:40","slug":"php-update-issues-goodby-miniflux-welcome-freshrss","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2023\/01\/php-update-issues-goodby-miniflux-welcome-freshrss\/","title":{"rendered":"PHP update issues: Goodby miniflux, welcome freshRSS"},"content":{"rendered":"<p>With a forced upgrade of my provider from PHP 7.4 to PHP 8.1\u00a0 miniflux v1\u00a0 did not work anymore with <a href=\"https:\/\/reederapp.com\/\">Reeder 5<\/a>. After trying to\u00a0 correct all issues with phan, I decided to switch to a <a href=\"https:\/\/github.com\/FreshRSS\/FreshRSS\">freshRSS<\/a> install that has even a more modern Google API.<\/p>\n<p>BTW I find it quite helpful to debug PHP 7.4 code by intentional throwing a javascript error to block any ongoing action with<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">throw &quot;SimulatedException&quot;<\/pre>\n<p>and setting PHP more verbose with<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">error_reporting(E_ALL | E_STRICT)<\/pre>\n<p>While it was quite straightforward to replace all &#8220;each&#8221; with &#8220;for each&#8221;, or &#8220;read_exif_date&#8221; with &#8220;exif_read_date&#8221; the main issue were unquoted &#8220;$_SERVER&#8221; variables and functions that need to be checked for missing variables<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">$rows= (is_countable($ret) ? count($ret) : 0<\/pre>\n<p>The biggest problems came by Nextcloud update to version 25. It turns out that there is a file limit of 262.144 of my internet provider.<\/p>\n<p>Any Nextcloud update always needs about 30.000 files. Whenever it encounters any other error, a restart produces\u00a0 another 30.000 files, basically killing my account.<\/p>\n<p>In contrast to the documentation the issue is also not at the root nextcloud updater directory but in the data directory.<\/p>\n<figure id=\"attachment_21644\" aria-describedby=\"caption-attachment-21644\" style=\"width: 620px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2023\/01\/Bildschirm\u00adfoto-2023-02-03-um-10.00.58.jpg\" data-rel=\"key-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21644 size-medium\" src=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2023\/01\/Bildschirm\u00adfoto-2023-02-03-um-10.00.58-620x313.jpg\" alt=\"\" width=\"620\" height=\"313\" srcset=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2023\/01\/Bildschirm\u00adfoto-2023-02-03-um-10.00.58-620x313.jpg 620w, https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2023\/01\/Bildschirm\u00adfoto-2023-02-03-um-10.00.58.jpg 718w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><figcaption id=\"caption-attachment-21644\" class=\"wp-caption-text\">superfluous Nextcloud backup files hiding in the data directory<\/dd>\n<dd><\/figcaption><\/figure>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 07.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>With a forced upgrade of my provider from PHP 7.4 to PHP 8.1\u00a0 miniflux v1\u00a0 did not work anymore with Reeder 5. After trying to\u00a0 correct all issues with phan, I decided to switch to a freshRSS install that has even a more modern Google API. BTW I find it quite helpful to debug PHP &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2023\/01\/php-update-issues-goodby-miniflux-welcome-freshrss\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PHP update issues: Goodby miniflux, welcome freshRSS<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[4059,4056,4057,4053,4058,957],"class_list":["post-21625","post","type-post","status-publish","format-standard","hentry","category-computer-software","tag-nextcloud","tag-php-7-4","tag-php-8-1","tag-rss-reader","tag-update","tag-error"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/21625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=21625"}],"version-history":[{"count":8,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/21625\/revisions"}],"predecessor-version":[{"id":21647,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/21625\/revisions\/21647"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=21625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=21625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=21625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}