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

Tautulli in a FreeNAS Jail

At the time of preparing this post, I’m working with FreeNAS 11.3-U4-1 and Tautulli 2.5.5. As evidenced in the forum thread Tautulli been running fine but now can’t start, the transition from Python 2 to 3 has been somewhat bumpy for Tautulli users on FreeNAS. The Tautulli FreeBSD/FreeNAS Installation Instructions lends itself to scripting, however, it leaves the …
Continue reading Tautulli in a FreeNAS Jail

TrueCommand Auto-Update

Update (10/08/2020): For the most recent version of this resource, refer to the thread TrueCommand Auto-Update in the Resources section of the FreeNAS Community Forum. Want to ensure that you’re always running the latest version of TrueCommand in a Docker container? Docker Compose is the enabler for automatic updates. This technique I first used on resources …
Continue reading TrueCommand Auto-Update