question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

/bin/sh: 1: Syntax error: Missing when web-ssh into any pods

See original GitHub issue

If I run kubebox in kubernetes as a service, when web-ssh into a pod, it gives an error:

/bin/sh: 1: Syntax error: Missing '))'
command terminated with non-zero exit code: Error executing in Docker Container: 2
Disconnected
Type Ctrl-C to close

I’m not pretty sure if it’s caused by this commit: https://github.com/astefanutti/kubebox/commit/b795966f51cbf503f2c371ea6fa1579136fbe32b

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
astefanutticommented, Nov 8, 2018

I’ve been able to reproduce, both in Web and terminal versions. It should be fixed with 58a35b35617b382480ac264a75fa30e090a70ccb. Thanks for your help!

1reaction
fanglicommented, Nov 9, 2018

Oh you r the genius! it took me several hours to figure out why that happens. I tried many shell with your getent commands but nothing found. That’s the kubebox version of “rm -rf / tmp/files” lol 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

syntax error in kubernetes pod.yaml running shell command
I got around with this with below approach but would definitely like to know how to use nested quotes? apiVersion: v1 kind: Pod...
Read more >
Calm Administration and Operations Guide
Calm simplifies the setup and management of custom enterprise applications by incorporating all important elements, such as the relevant VMs, configurations, ...
Read more >
exit code 143 kubernetes
Exit Code 143 KubernetesThen use info to see the configuration information (username and password). exit-code = 128 + signal-code the code for sigkill...
Read more >
Cant connent to pods - Google Groups
I get errors like : Error from server (NotFound): pods "awx-788749fb7f-gvtv9" not found root@host:~/awx-operator# kubectl -n awx get all
Read more >
Using Kubectl Exec | Shell Commands & Examples - ContainIQ
kubectl exec Syntax ... This specifies that you want to run the /bin/sh command in the first container within your demo-pod pod. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found