Proxmox snapshot backup: fs-freeze hook fails with “bad substitution” #3539
OpenTV-0815
started this conversation in
Development
Replies: 1 comment 5 replies
-
|
Logs from Proxmox: Logs from OpenCCU: /var/log/qga-fsfreeze-hook.log: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running OpenCCU as a VM on Proxmox, snapshot backups with the QEMU Guest Agent enabled consistently log the following error:
unable to freeze guest fs – syntax error: bad substitution
/etc/qemu/fsfreeze-hook
Observed behavior
• The backup itself completes successfully
• Proxmox falls back to a snapshot without fs-freeze
• The VM is not interrupted and continues running normally
Root cause (analysis)
The error indicates that the fsfreeze-hook is executed via /bin/sh (dash on Debian/Proxmox), while the script appears to contain bash-specific parameter substitution, leading to bad substitution.
Why this matters
• fs-freeze via QEMU Guest Agent is best practice for consistent snapshots
• Other Proxmox-targeted appliances (e.g. Home Assistant) handle this cleanly
This is not a critical issue, but a small compatibility/quality aspect when running OpenCCU under Proxmox.
Expectation
No immediate fix required — just wanted to report this behavior in case Proxmox compatibility is improved or documented in the future.
Thanks for your work on OpenCCU
Beta Was this translation helpful? Give feedback.
All reactions