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

Allow another Crazy Domains Account to Control your Domain’s DNS Servers.

To allow limited control of DNS servers without granting full access to your Crazy Domains account, follow the four steps below. Step 1: Log into your Crazy Domains account Step 2: Click on Domain Tools and then click on Manage. Step 3: Scroll down to the Administration area and for the Tech Contact, click on …
Continue reading Allow another Crazy Domains Account to Control your Domain’s DNS Servers.

External SFTP Access to a WordPress Jail

The good folk at Automattic, owners of WordPress, have offered to help me resolve a credentialing problem I’m experiencing. However, they require the site’s SSH/SFTP/FTP credentials to access the WordPress installation folder. Up to this point, it hadn’t occurred to me to allow external access to the WordPress jail. I wasn’t even sure if this …
Continue reading External SFTP Access to a WordPress Jail

Jetpack: WordPress.com Login Issue

Edit (14-Feb-2021): This has recently been resolved. The following is an extract of the solution I received in an email. We got an update from the developer team.Because of the initial mix-up of the WordPress.com accounts, it would be necessary to reset some metadata for the Secure Sign-On feature.To reset the SSO security metadata, you …
Continue reading Jetpack: WordPress.com Login Issue

Pen Theme – Hamburger Menu Issue

Edit (14-Feb-2021): This issue has been resolved in more recent versions of the Pen theme. Refer to the forum post Pen Theme compatibility with iOS for details. There appears to be an issue with the WordPress Pen theme, specifically the hamburger menu, and earlier versions of iPhone/iOS. The site referred to in the browser is …
Continue reading Pen Theme – Hamburger Menu Issue

Simple Calendar – Week and Day View Issue

Edit (14-Feb-2021): It’s difficult to recommend this plug-in. It’s very buggy and support personnel don’t frequent the plugin forum, which means the plugin is largely unsupported, unless the add-ons are purchased. For all intent, this appears to be an abandoned plugin. Sample Google Calendar entry: Simple calendar month view is OK Week view is corrupted: …
Continue reading Simple Calendar – Week and Day View Issue

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