How to Install the Latest Microcode on Proxmox VE (Debian stable)

Microcode is the firmware used to fix bugs in the CPU. It should be installed only on the host instead of virtual machines because microcode updates are applied during boot. We need to install it from the Debian unstable repository because microcode packages in Proxmox (Debian stable) are out of date. Add the unstable repo. 1 echo "deb http://deb.debian.org/debian/ unstable non-free-firmware" > /etc/apt/sources.list.d/debian-unstable.list Add this to /etc/apt/preferences.d/unstable-repo. 1 2 3 4 5 6 7 8 9 10 11 12 # lower the priority Package: * Pin: release o=Debian,a=unstable Pin-Priority: 10 # allow upgrading microcode Package: intel-microcode Pin: release o=Debian,a=unstable Pin-Priority: 500 Package: amd64-microcode Pin: release o=Debian,a=unstable Pin-Priority: 500 Update all repos and make sure no package will upgrade from the unstable repo.

Upgrading NixOS to Unstable Channel

As an Arch Linux user, I am used to using the lastest packages. Thus, I upgrade my NixOS to unstable channel. 1 2 3 4 5 # switch channel sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos sudo nixos-rebuild switch --upgrade # show version nixos-version References: Upgrading NixOS - NixOS manual https://channels.nixos.org/

Fixing File Permission Problem of Jellyfin on Arch Linux

This tutorial should work for other Linux distributions, but I only tested it on Arch Linux. In order to add a directory to a Jellyfin library, Jellyfin needs to access the directory and all its parent directories. If you add ~/Videos to a library, Jellyfin fails to access it. Jellyfin runs as user jellyfin. Jellyfin can access ~/Videos (other::r-x) but can’t access its parent ~ (other::---). 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ❯ getfacl ~/Videos getfacl: Removing leading '/' from absolute path names # file: home/cyrusyip/Videos # owner: cyrusyip # group: cyrusyip user::rwx group::r-x mask::r-x other::r-x ❯ getfacl ~ getfacl: Removing leading '/' from absolute path names # file: home/cyrusyip # owner: cyrusyip # group: cyrusyip user::rwx group::--- mask::--- other::--- To fix it, grant Jellyfin execution permission for the home directory.