FRITZ!Box 7390 in a Mesh Network

I’m able to VPN into a remote mesh network of FRITZ!Boxes to manage a remote FreeNAS server. The server is hard-wired into an older FRITZ!Box 7390 configured as a mesh repeater. This is connected wirelessly to a FRITZ!Box 7490 set up as the mesh master. FRITZ!Box Model FRITZ!OS Version FRITZ!Box 7390 6.86 FRITZ!Box 7490 7.21 …
Continue reading FRITZ!Box 7390 in a Mesh Network

Nextcloud: Using occ in a FreeNAS jail

So, as I upgraded to newer versions of Nextcloud, I began to see some setup warnings requiring me to run occ. No problem I thought. I’ll just do this in a terminal session. However, there’s a little bit more to running occ under FreeNAS. The syntax is a little different. Also, its really important to …
Continue reading Nextcloud: Using occ in a FreeNAS jail

Jail Creation Fails!

Are you seeing this error? ELF interpreter /libexec/ld-elf.so.1 not found, error 2 This can happen if during jail creation iocage create -r <release>, a FreeBSD RELEASE is being downloaded, but the operation is interrupted. The places the downloaded release in an indeterminate state, which results in the error if jail creation is reattempted. To fix …
Continue reading Jail Creation Fails!

Upgrade from MariaDB 10.3 to 10.4 on FreeNAS

Authentication Behaviour Upgrading from MariaDB 10.3.23 to a later release Output of mysqladmin version -p Output of SELECT host, user FROM mysql.user; Output of show grants for ‘root’@’localhost’; A new installation of MariaDB 10.3.24 A new installation of MariaDB 10.5.5 The Upgrade Journey MariaDB 10.4 uses an improved authentication model. It uses operating system credentials …
Continue reading Upgrade from MariaDB 10.3 to 10.4 on FreeNAS

Generating Random Passwords in FreeNAS

To appreciate the limitations of using openssl rand for password generation, consider the following list of passwords generated using openssl rand -base64 16. ePBz52RSaAvrOfG2a3ATxg== Pbxb2ibu0/YgoHLa4Qisnw== e7ERZ/wQ0SdKJ68oQTR1qA== faJgjNgQLDCqCSkkoq+b/w== ZoVQ/52qWvrmt3KideUO4w== wC9wtt0hBBOOq3bOukN+nA== +YEoFC7/lmgaPSzGF2lEVA== 9skoC89aWe1/odqA/ykxuA== We see that openssl rand will generate passwords using upper and lowercase letters, numbers and some special characters. On closer inspection though, we notice …
Continue reading Generating Random Passwords in FreeNAS

UpdraftPlus Plugin: Restoring a Site from Backup

In the post WordPress: A Disaster Recovery Strategy, I didn’t describe the restore phase. Well, it just so happened that I lost a development site mockup.udance.com.au while isolating an issue between the Simple Calendar plugin and the Pen theme (see post WordPress: Pen Theme 1.3.9 and Simple Calendar Plugin 3.1.33 Anomaly). When switching between themes, …
Continue reading UpdraftPlus Plugin: Restoring a Site from Backup

TrueNAS Core 12.0-RC1 vs FreeNAS 11.3-U5 Start-Up Performance

For the purposes of discussion, I’ll refer to TrueNAS Core 12.0-RC1 as TN, FreeNAS 11.3-U5 as FN and TrueCommand 1.3.2 as TC. The screenshots below are taken from TC. Test Server Test #1 Monitor server performance through TC. Reboot in 12.0 or 11.3 environments by accessing the server through a separate browser window, changing the …
Continue reading TrueNAS Core 12.0-RC1 vs FreeNAS 11.3-U5 Start-Up Performance

Replication failure

This has happened to me a couple of times now, so I thought I’d document it. TrueCommand has indicated that replication is failing on my main server for a particular dataset. Now, I know I’ve been messing around quite a bit with WordPress, rebuilding jails and associated datasets. The UDance WordPress site has been problematical …
Continue reading Replication failure

Securing phpMyAdmin in a WordPress Jail

This post assumes you’ve run at least version 1.3.0 of the Scripted WordPress Installation. In the post WordPress Script: Post-Installation Tasks, I suggest that a way of securing phpMyAdmin in a WordPress jail is to disable it when not in use. One way to disable phpMyAdmin is to unlink it in the jail rm /usr/local/www/wordpress/phpmyadmin. This …
Continue reading Securing phpMyAdmin in a WordPress Jail

WordPress: A Disaster Recovery Strategy

The infographic below describes a streamlined approach to WordPress disaster recovery that minimises the room for error, and maximises the chances of fully restoring a WordPress site under a wide range of WordPress disaster scenarios. I’ve tested the approach against my own blog site and apart from a minor tweak of WP Super Cache, a WordPress …
Continue reading WordPress: A Disaster Recovery Strategy