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

WordPress Plugin: A Marriage made in Heaven for UpdraftPlus and FreeNAS

The goal here is to use FreeNAS storage to store UpdraftPlus backups of WordPress sites. Local user authentication is assumed for FreeNAS. Outline of the basic steps: A. Set up the UpdraftPlus storage root. Set aside storage space on FreeNAS for UpdraftPlus. Create the UpdraftPlus user and group on FreeNAS. Configure and start the FTP …
Continue reading WordPress Plugin: A Marriage made in Heaven for UpdraftPlus and FreeNAS

Scripted WordPress Installation

If the statistics are to be believed, in 2020: WordPress powers 35% of the internet. Around 60% of CMS sites are WordPress. Around 28% of WordPress sites run e-commerce. Around 75% of hacked CMS sites were built on WordPress 😢 There are few current guides in the iXsystems Community Forum for setting up WordPress and none …
Continue reading Scripted WordPress Installation