Toggen Blog
20 years of tech tips
Articles
Latest
Mariadb replacing mysql –login-path with mariadb –defaults-group-suffix
Mariadb is part of the Ubuntu Official Repositories and apparently "MariaDB is generally quicker than MySQL", so perhaps it's time to start using it Contents of ~/.my.cnf # Contents of ~/.my.cnf # protected by 600 permissions rw------- [client-tgn] host =...
Notes on restoring a Unifi UDM from backup
I'm trying to get a stable UDM after experiencing the UDM Network App dying regularly https://community.ui.com/questions/Network-Application-Crashing-on-UDM-Base-over-time-Network-10-4-57-and-UnifiOS-5-1-19/e197b6b8-9076-47b6-8fcf-2f69aaa4f88e?reply=10 I have tried a...
Cannot login to mariadb on VM hosted on TrueNAS
Logging into mariadb on a VM hosted on TrueNAS mysql -uroot -p Enter password: ERROR 2026 (HY000): TLS/SSL error: certificate is not yet valid Date in VM is set to UTC date Tue Aug 4 06:38:39 AM UTC 2026 Fix Change the VM settings in TrueNAS to have System Clock be...
Cannot ping IPv6 from a TrueNAS hosted Virtual Machine
truenas virtualization network issue byu/Kv0837 intruenas From the above Reddit thread What you need is a bridge for your main interface and then set the bridge as a NIC in your VM. I'll paste here a quick step by step that I wrote for some time ago but should still...
Find files between two time stamps
mints="2026-07-24 01:52:00" maxts="2026-07-24 01:55:00" find . -newermt "$mints" ! -newermt "$maxts"
Block or allow access to WordPress security sensitive locations using nested locations with nginx or angie
How do you selectively block access to all static files under a folder (e.g. /wp-admin/) but make sure that the .php files are executed properly when access is allowed, and without creating a heap of location blocks and tearing your hair out due to nginx selecting the...
