PHP 7.4.25 (RNOS 6 x86 & ARM) [firmware 6.10.0 or newer required]

PHP Web Programming Language (Logo)

After another long time since PHP 7.4.11 and even more obstacles mastered here’s the latest update for the PHP add-on for ReadyNAS OS 6: PHP 7.4.25 for ReadyNAS boxes running ReadyNAS OS 6.10.0 or newer on x86 or ARM CPUs:

Note: With PHP 7.4 there’s also a change of the integration into the web server of the ReadyNAS. Instead of using an Apache module that is loaded on every request this version now uses a stand-alone demon process (FPM). This should result in lower RAM consumption, better performance and better scalability. That said, it may not work with older apps.

This release requires ReadyNAS OS 6.10.0 firmware or newer!

Fix for the “LetsEncrypt problem”

As you may know, one of the Root-CAs that are used by LetsEncrypt expired on September 30, 2021. Unfortunately this not only affects older browsers but also the ReadyNAS, mainly because the package ca-certificates of its underlying operating system never got updated and still uses the the expired Root-CA.

This affects all tools on the NAS that have to connect to external systems that use certificates from LetsEncrypt – and of course some add-ons like Nextcloud that regularly try to connect to external sites for updates.

To fix the problem I backported the ca-certificates package from the current Debian distribution (“bullseye”) to the ReadyNAS. I also rebuilt the most affected tools like curl, wget, gnutls and openssl. The complete package is available as a free add-on:

To install, make sure your ReadyNAS has a working internet connection (check the DNS settings) and just upload as you would with a normal add-on.

Note: After installation the add-on will NOT show up in the list of installed add-ons. This is done on purpose to not clutter the interface. If in doubt just install again, no harm there.

If you find the add-on useful, please consider a donation:

Gitea 1.14.6 (ReadyNAS OS 6 x86 / ARM)

As with most other apps I updated Gitea more or less continuously, although without announcing every update. So as a short heads-up: Gitea is now available in version 1.14.6 for ReadyNAS OS 6 (x86 & ARM):

Syncthing 1.18.1 (R6x86 & R&ARM)

syncthing

Since Syncthing automatically updates itself there’s no real need to manually update the packages on your ReadyNAS. But to make it easier for new users I just updated Syncthing for ReadyNAS OS 6 (ARM and x86) to the latest version.

Firmware 6.10.5 – How to upgrade

tl;dr;
Upgrading to firmware 6.10.5 doesn’t break any apps I’m aware of. However, some manual steps may be necessary. Also users of the additional kernel modules need to upgrade those since there’s a new kernel included in 6.10.5.

Details

With firmware 6.10.5 there have been no changes to the packages included except for the Linux kernel. The kernel is now at version 4.4.218, up from 4.4.196, which requires new kernel modules for additional hardware in case you’re using any.

Before upgrading to 6.10.5 make sure that you have SSH access to your ReadyNAS enabled and test it is working by logging in to your ReadyNAS via SSH with the username “root” and the password of the web UI.

Then proceed with the upgrade to firmware 6.10.5 as you normally would by

  • downloading the update through the web UI of your ReadyNAS, then
  • reboot the system

One problem with the update is that some packages that got replaced with newer versions by some add-ons will be returned to their older state. This may be require some manual steps:

  • log in via SSH as user “root”
  • run the command apt update
  • run apt full-upgrade/li>

This should update all packages to the latest versions again.

There is one problem you may hit during the upgrade process. For reasons unknown NETGEAR decided to remove the start-up scripts for the NFS server from the ReadyNAS. This will make the upgrade process fail but can be easily fixed. Should you encounter an error with the package nfs-kernel-server just run the command touch /etc/init.d/nfs-kernel-server and re-run the apt full-upgrade step.

In case you encounter other problems let me know by email to info@rnxtras.com.