mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 10:53:18 -05:00
[GH-ISSUE #797] [BUG] Misleading error message when git is not installed on periphery machine #6320
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simtel12 on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/797
When the periphery machine does not have
gitinstalled, the error message is:In this case, the periphery was running under systemd on multiple machines successfully, and while trying to onboard a new machine I got the above whenever I would try to run
Pull Imagesfor a stack. No other information in the logs, even at TRACE level.Discovered the cause after reading the source and realizing that the error message is part of a path-validation after the git clone, and examining the
stacksdirectory on the offending machine did not have a clone. So I'm guessing thecommand not founderror is getting swallowed somewhere.Environment:
Raspberry Pi 5, running
dietpiPeriphery deployed via ansible
Systemd user service
Low-priviledge account
komodoBtw, I call it a misleading message because the only discussion about this error is in relation to docker and relative paths - which took me down the entirely wrong rabbit-hole. It is technically a correct error message (the run directory did not exist because the repo was not cloned).
@yujqiao commented on GitHub (Dec 2, 2025):
Ran into the same issue. I opened a PR to at least log the path so it's easier to pin down that the root cause is not cloned