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

WordPress: Pen Theme 1.3.9 and Simple Calendar Plugin 3.1.33 Anomaly

There appears to be an incompatibility between the Pen theme and the popular Simple Calendar plugin. The issue is visible on the calendar schedule on site mockup.udance.com.au using the Pen theme. Summary details are missing when hovering over a calendar entry. Google Chrome version 86.0.4240.75 on both a Windows 10 desktop and Pixel 3 XL …
Continue reading WordPress: Pen Theme 1.3.9 and Simple Calendar Plugin 3.1.33 Anomaly

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

WordPress: Setting up a Redis Object Cache

This post assumes you’ve run at least version 1.4.2 of the Scripted WordPress Installation. Install and activate the WordPress Redis Object Cache plugin. Click on Enable Object Cache in the plugin settings. You should see the following screen: If you don’t see this screen, click on the diagnostics tab. This may provide some clues as …
Continue reading WordPress: Setting up a Redis Object Cache