It pays to RTFM #236
Closed
rogerineugene-svg
started this conversation in
General
Replies: 1 comment
|
Thanks for this. I have tightened up the validation, will be in 2.4.6. |
0 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.
I have a couple of pis that I have running. I have one that is a demo/work pi. Nothing critical. I was adding a container into the work pi, it worked the way I wanted, so I added it to one of the production stacks I had. Edited the compose file, went to 'redeploy' to the production pi, but it failed. Also, when I selected the host to add it to, there was a warning that the ports would not be checked since it couldn't connect to the pi.
Hmm. I did everything I could to check connectivity between the two. The graphs worked on dockmon, everything seemed normal. even tried a re-install of the agent, worked like it was supposed to. Went to deploy the stack, it failed again. Finally, found a page for troubleshooting. Checked the logs for the agent, no connection was made (Or at least not showing up in there). Thought, what the heck, check the dockmon logs.
Sure enough, there was an TAB character in the compose file. Edited that line, reploy worked. Wish I had tried that first. Didn't think an error with the compose would cause the ports not to be checked in pre-deployment.
For other errors, hitting 'save' after an edit usually failed and told you about an error. Didn't this time.
All reactions