PHP update issues: Goodby miniflux, welcome freshRSS

With a forced upgrade of my provider from PHP 7.4 to PHP 8.1  miniflux v1  did not work anymore with Reeder 5. After trying to  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 7.4 code by intentional throwing a javascript error to block any ongoing action with

throw "SimulatedException"

and setting PHP more verbose with

error_reporting(E_ALL | E_STRICT)

While it was quite straightforward to replace all “each” with “for each”, or “read_exif_date” with “exif_read_date” the main issue were unquoted “$_SERVER” variables and functions that need to be checked for missing variables

$rows= (is_countable($ret) ? count($ret) : 0

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.

Any Nextcloud update always needs about 30.000 files. Whenever it encounters any other error, a restart produces  another 30.000 files, basically killing my account.

In contrast to the documentation the issue is also not at the root nextcloud updater directory but in the data directory.

superfluous Nextcloud backup files hiding in the data directory