"no log output received from deployment" - unclear error message for template bugs #667
Reference in New Issue
Block a user
No description provided.
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?
I saw this error today during an
abra app deploy
:It tried to start several times, but I ultimately cancelled it and couldn't find any logs.
The reason was that I had a syntax error in a templated config file (a missing
{{end}}
block) which prevented the config file from being rendered.I was only able to tell this by checking
journalctl -fu docker.service
, which showed me this:Not sure if it's possible for abra to surface issues with config templating, so just documenting this issue to help people in the future :)
Fuck me, docker spits the errors out in the weirdest places... i think the tasks of a deployment (aka "fatal task error") can indeed be collected async and errors could be reported. This was also hinted at in #613 and I think we have to make some progress here because we're not seeing the real errors... let's open it and I'll try to hunt it down! Thanks for reporting!