Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"cannot enable tty mode on non tty input" on Eclipse Che version 4.7.0 #2321

Closed
thyeun opened this issue Sep 2, 2016 · 14 comments
Closed

"cannot enable tty mode on non tty input" on Eclipse Che version 4.7.0 #2321

thyeun opened this issue Sep 2, 2016 · 14 comments

Comments

@thyeun
Copy link

thyeun commented Sep 2, 2016

OS : windows 10 build 10240
Docker : boot2docker v1.11.2
Che version : 4.7.0

Cant even start Eclipse Che 4.7.0

ss1

@TylerJewell
Copy link

set IS_INTERACTIVE=false or IS_TTY=false. See: https://eclipse-che.readme.io/docs/configuration#section-environment-variables

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell after the set result as below

ss2

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell inside the che.sh file (newer version), i have to change the line 165 -t to -i, to make it work

docker_run_with_pseudo_tty() {
if has_pseudo_tty; then
docker_run_with_env_file -t "$@"
else
docker_run_with_env_file "$@"
fi
}

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell after go into IDE, i'm getting another error, as below picture.

ss3

@TylerJewell
Copy link

It doesn't look like you are getting a clean run of the cli. There are errors appearing in the run. Are you in a Windows shell - not a bash shell?

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell this is the result after with Che start

ss4

ss5

but i still getting the same error from the IDE

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell more info regarding the fail start of workspaces (for current now)

It is only happen for Java stack and blank stack, (python stack are working fine, python stack will pull the latest file from docker)

@TylerJewell
Copy link

You are using boot2docker - is there any chance that the VM is out of disk space? Can you SSH into the VM and then do a "df" command to take a look around?

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell result as below

ss6

ss7

which should delete?

@TylerJewell
Copy link

Something is maxing out your disk in that VM. If you are using boot2docker and you have saved your stuff properly, have you thought about destroying the VM and starting again? It would be something like docker-machine rm default, or something similar.

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell i understand now, after remove it, i have create again

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell can you educated me, why it will full? i'm really dont understand, i only use it for my VBox only use for Eclipse Che

@TylerJewell
Copy link

Virtualization is a very different sort of world. There could be a lot of reasons that cause this, many of them beyond our understanding. But all VMs are a fixed size - so maybe we hit some mythical limit with all of the docker images loaded into the system.

@thyeun
Copy link
Author

thyeun commented Sep 3, 2016

@TylerJewell so educational for this, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants