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:

MySQL Installer 1.0.5 (R6all)

If you’re a programmer you know the feeling when you squashed a bug and by doing so created another. Haven’t been there for quite a while but just learned that I did exactly that with the MySQL Installer 1.0.4. And unfortunately it took me a while to find and fix the newly introduced bug. But I did and here we go now with the latest incarnation of the MySQL installer, namely version 1.0.5. All those who already own an older version can download the update from the “My Account” page.

What it does is:

  • Install MariaDB 10.0.38 (or newer, depending on what is current in the repository)
  • Copy existing data over to the /apps location
  • Enable the “one file per table” feature for InnoDB
  • Enable the “Barracude” format for InnoDB
  • Allows to enable/disable the MySQL daemon from the “Installed Apps” window

Caveat: While the app does copy existing data to the new location it will not copy it back on uninstall. So make sure to have a backup if you ever decide to remove the app again, otherwise you’ll be stuck with the data you had when you installed it (as said: the app copies the data, it doesn’t move it). Now, if you’re still interested, here’s finally the link to the app:

NTGR repos broken for 6.10.2 (hold your updates)

Hi everyone,

Firmware 6.10.2 is out and unfortunately NTGR seems to have broken their package repositories with this release. From here it looks like there was a manual push of an updated package to the repos:

Get:2 https://apt.readynas.com/packages/readynasos 6.10.2/main armel linux-libc-dev armel 4.4.184.1 [774 kB]
Err:2 https://apt.readynas.com/packages/readynasos 6.10.2/main armel linux-libc-dev armel 4.4.184.1
Writing more data than expected (774020 > 773886)
E: Failed to fetch https://apt.readynas.com/packages/readynasos/dists/6.10.2/main/pool/l/linux/linux-libc-dev_4.4.184.1_armel.deb Writing more data than expected (774020 > 773886)

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

This affects many if not all new app installations but may also have a negative impact on firmware upgrades where the ReadyNAS tries to get updated packages from its known repositories. In the worst case this error prevents the ReadyNAS from updating properly which in turn may trigger an automatic cleanup procedure which then starts to remove packages and by doing so breaks some apps. I already informed NTGR about the problem but today being Sunday I don’t expect any immediate action.

For the moment please either don’t upgrade to 6.10.2 or if you already did and ran into problems please be patient until the situation is resolved by NTGR.

ReadyNAS OS 6.10.0 breaks PHP 7 and related add-ons

Although my ReadyNAS OS 6 systems don’t show the update yet ReadyNAS OS 6.10.0 has been released. Together with new features it also brings with it a new version of the built-in Apache web server, now at version 2.4 instead of version 2.2 in older versions of the firmware. Since PHP has to be complied and linked against the Apache version it is running under the current versions of the PHP7 add-ons will stop working on ReadyNAS OS 6.10.0. This of course affects all add-ons that depend on PHP, most notably OwnCloud and NextCloud.

I’m already working on a fix but it isn’t easy. In fact I need to build an own repository for the 6.10.x releases and I’m not sure how to best handle that in the future for similar breakages. For the moment my recommendation is to NOT upgrade to 6.10.0 unless that firmware fixes serious problems for you.

Pi-Hole updates


I just finished updating Pi-Hole after receiving quite some reports about the app not working especially on RN1xx ReadyNAS systems. Took me a while to figure out the problem: the binary the app was using seems to be compiled using floating point instructions not available in the CPUs of some ARM based ReadyNAS models. The only solution I could come up with was to build tailored binaries for all newer ReadyNAS systems and release a new version of the app.
So while the version number shows only a minor change there have been lots of modifications under the hood. First tests are promising so it would be nice if the new version of the app could be tested by as many people as possible.