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.

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

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

Fix TrueNAS WebUI Reloading

This occurs because the TrueNAS server has more than one interface where the WebUI is accessible from and is not being accessed from a computer on the same interface subnet. The requests are sent to the correct interface, but are returned by the incorrect interface, resetting the connection and forcing the UI to reload. This … Read more

Upgrade PostgreSQL on Docker

A step-by-step tutorial on safely migrating your PostgreSQL data between major versions on Docker. Upgrading a major version of PostgreSQL, such as from 17 to 18, isn’t a simple in-place process because the underlying data storage format can change. When running PostgreSQL in Docker, the recommended method is a classic “dump and restore.” This guide … Read more