Replace a failed drive in a ZFS pool

Get the current status of the pool. Not the drive ID of the failed drive. Next, find the ID of the new disk. Assemble the complete zpool replace command using the two disk IDs. Use the /dev/disk/by-id/ path for the new disk. The pool will begin to resilver the new disk. Source Video:

Fix apparmor=”DENIED” operation=”sendmsg” class=”file”

SSH into the container causing the message and add the permission to a local AppArmor override file Reload the apparmor profile. Reboot the container. https://forum.proxmox.com/threads/very-frequent-apparmor-logs-after-updating-pve.176684/#:~:text=Fix%20within%20Container:%20The%20recommended%20solution%20involves,applied%20directly%20to%20the%20container’s%20AppArmor%20configuration.

Disable preload content in WordPress Optimizer

WPOptimize has a default feature that lets you preload content after it is purged from the cache. This can lead to increased save times for posts and pages as the new version is loaded into the cache. Disabling this setting can improve page and post save speed. You can fix the long post saving time … Read more

Fix Proxmox Backup Server Datastore

When rebuilding PBS, the datastore permissions may need to be repaired. 1. Use the chmod Command to make the Root DataStore /pve-backups/ Directory in /mnt/ have the Same Permissions Listed in the Code Snippet. chmod 755 /mnt/pve-backups/ 2. Use the chmod Command to make the DataStore SubDirectories of /mnt/pve-backups/ have the Same Permissions listed in the Code Snippet. chmod 644 /mnt/pve-backups/.lock chmod -R 750 /mnt/pve-backups/.chunks … Read more

Redirect all DNS Requests to Opnsense

This tutorial will show you how to force all DNS querys to go through Opnsense router regardless of DNS servers specified on the local system. This will redirect anything going through 53 to the router itself. Go to Services -> Unbound DNS -> General Verify that ether ALL is selected or localhost with your LAN … Read more

Restore Immich Database

Stop the Immich stack. From Truenas, restore both the data and db folders using the existing sync task. Start the Immich stack and allow the database to be created from scratch. Stop the Immich server container. Move the latest backup from /data/backups to /db Log into the database container and run Stop then start the … Read more