Installing FreshRSS broken? PHP issue?

Creating a bug report/issue

I have searched the existing open and closed issues
I wasn’t able to locate anything regarding being unable to access the FreshRSS page.

Required Information

  • DietPi version | 9.11 RC2
  • Distro version | bullseye 0
  • Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | RPi 4 Model B (aarch64)
  • Power supply used | whatever came with the Vilros kit when I bought it years ago
  • SD card used | SanDisk

Additional Information (if applicable)

  • Software title | FreshRSS
  • Was the software title installed freshly or updated/migrated? Installed freshly, initially
  • Can this issue be replicated on a fresh installation of DietPi? Possibly. I don’t have a 2nd SBC to test this theory.

Steps to reproduce

  1. From dietpi-software select freshrss and install.
  2. After processing, attempt to load /freshrss

Expected behaviour

  • …FreshRSS should load and allow for configuring

Actual behaviour

  • A blank white page shows. Viewing the page source simply shows the number 1.

Extra details

  • During the installation, or attempting to reinstall, the following error shows up directly after cd /opt/FreshRSS:

PHP Parse error: syntax error, unexpected ‘|’, expecting ‘{’ in /opt/FreshRSS/lib/lib_rss.php on line 166

Installation then proceeds like everything is fine.

I have attempted to reinstall FreshRSS multiple times and have also attempted to reinstall mariadb by itself to no avail.

Your old installation might be an issue. Your are running Debian Bullseye, offering PHP7.4. However, FreshRSS requiers at least PHP8.1 GitHub - FreshRSS/FreshRSS: A free, self-hostable news aggregator… Means, you would need to upgrade to Debian Bookworm.

Didn’t even know that I was apparently 2 years late on upgrading :sweat_smile:

Found the upgrade script and ran it. Everything went smoothly and FreshRSS is working now.

Thank you!