config failed (/sbin/chsnap not installed) when I update to omarchy quattro
System details
omarchy 3.8.5
What's wrong?
I looked at the screenshot and traced the failure through bin/omarchy-upgrade-to-quattro and install/config/snapper.sh on current quattro (c352b62d6). Nothing was run on a worker: the workers are stock ISO installs with a Btrfs root, and this failure needs a root that is not Btrfs.
What happens. configure_snapper_policy (bin/omarchy-upgrade-to-quattro:689) runs install/config/snapper.sh. When /etc/snapper/configs/root does not exist, that script runs snapper -c root create-config / (line 13) without telling it the filesystem type, so Snapper detects it. /sbin/chsnap not installed is the error Snapper gives when it picks its ext4 backend. In other words, this machine's root filesystem is ext4, not Btrfs. The script runs under set -e, so the failure stops the whole upgrade at that step. The step comes after packages have already been swapped, which is why you got the "part Omarchy 3 and part Omarchy quattro, do NOT reboot" message.
How a machine gets here. An Omarchy ISO install always has a Btrfs root. The 3.x installer also required one when installing onto Arch (install/preflight/guard.sh:42-43 on dev), but it let you continue past that check "on your own accord and without assistance". Nothing on quattro checks the root filesystem before configuring Snapper. Running findmnt -n -o FSTYPE / would confirm which filesystem this machine has.
Possible fixes. There are two. Each one is a decision about which installs Omarchy supports, so it is for the maintainer to choose rather than a defect fix, and I have not opened a pull request:
- Keep Btrfs required, and have the upgrade check the root filesystem before it changes anything, so an unsupported machine is refused cleanly instead of being left half upgraded.
- Let non-Btrfs machines upgrade without snapshots, by having
snapper.shskip Snapper on a non-Btrfs root.
Second opinion: Codex Medium reviewed the same code paths and agreed on the mechanism. Its independence from my reading is not guaranteed. It added the point that the failure arrives only after the upgrade has started changing the system. It also found that a non-Btrfs machine that already has /etc/snapper/configs/root gets past this step, but its config is then overwritten with FSTYPE="btrfs" (default/snapper/root:3). That only hides the problem.
This is waiting on the maintainer to decide which of the two fixes they want.
Confirmed here on the rc channel — same failure, with a bit more packaging/diagnostic detail.
Environment: iMac18,3 (Intel i5-7600, ext4 root, no btrfs, snapper never configured on this machine), omarchy/omarchy-settings 4.5.0rc1-1 (switched stable→rc with omarchy channel set rc), snapper 0.13.2-1 (extra), limine-snapper-sync 1.32.1-2.
omarchy update aborts in migration 1781984677 ("Normalize Snapper snapshot services"), which calls /usr/share/omarchy/install/config/snapper.sh; the script runs snapper -c root create-config /, which fails with this exact error:
Creating config failed (/sbin/chsnap not installed).
Details from this machine:
- The error string lives in
/usr/lib/libsnapper.so.8.2.0(strings→/sbin/chsnap,/sbin/chsnap not installed); direct repro:sudo snapper -c root create-config /→ same failure, exit 1. pacman -Facross all synced repos (core/extra/multilib/omarchy-rc) finds no package providingchsnap(or the file at any path), so the installedsnapperpackage cannot create configs at all on current repos — nothing in the repos ships the helper libsnapper demands.- Because
omarchy-migrateruns withset -euo pipefail, the failing migration aborts the wholeomarchy updatewithSomething went wrong during the update!until the migration marker is created manually.
Since this seat has no btrfs root, the migration is pointless here as well as broken — worth considering either option:
- Ship whatever
chsnaphelper the installedsnapperpackage requires, or - Make migration 1781984677 (and
install/config/snapper.sh) skip gracefully on non-btrfs roots instead of aborting the update.
Full omarchy-debug (24h): https://logs.omarchy.org/b4iozs
A correction to my earlier comment, and what @BeachFrontMT's report adds.
The earlier comment was wrong about what this waits on. It said the maintainer had to choose between refusing non-Btrfs machines and skipping Snapper on them. The maintainer had already answered that on #6586: Quattro has no manual installation, every supported install comes from the ISO with a Btrfs root, and a guard for other filesystems is not wanted. #6730, which made the same change, was closed as out of scope for the same reason. So no fix is planned for non-Btrfs roots, and I have not opened one.
The same failure on omarchy update. On quattro at e2c7007c1, migration 1781984677 (migrations/1781984677.sh:39) runs install/config/snapper.sh whenever /etc/snapper/configs/root is missing, and that script's snapper -c root create-config / (line 13) fails on an ext4 root with the error in the screenshot. bin/omarchy-migrate writes a migration's completion marker only after it succeeds, so the failed migration stops every migration queued behind it and runs again on the next update. That is the same line and the same cause as the upgrade failure reported here, reached from a different caller. The chsnap that Snapper asks for belongs to its ext4 backend, and no Arch package ships it, so installing it is not a way around this.
Related to #6683. #6683, reported earlier, is the same missing Btrfs check in install/config/snapper.sh, seen on a machine that already had a config. Its thread also has this upgrade failure, the migration failure and an XFS root failing the same way. I tried to close this issue as a duplicate of it. The automated check, which compares only the two opening posts, refused. #6683's opening post describes the daily cleanup failure rather than this abort, so I've left this open and whether to merge the two is for the maintainer.
Who checked it. Claude Opus 5.5 read the code paths above. Nothing was run on a worker: the failure needs a root that is not Btrfs, two people have reproduced it directly, and the same failure was reproduced on an ext4 image on a worker in the review of #6730. Codex Medium and muse-wonder (pi, thinking high) reviewed the same paths separately. Both agreed on the mechanism and on the link to #6683, and both found no fix that fits within the maintainer's decision. Their independence is not guaranteed. muse-wonder added that the line in the callers that turns this into a hard stop is also what keeps the Btrfs-only template from being installed on an ext4 machine. Telling the error to carry on would create #6683's daily failure instead.
This is waiting on the maintainer.