Closed durtsjohn closed 7 years ago
@durtsjohn thanks for an interesting question. Unfortunately (or fortunately) I was unable to reproduce it:
docker run -ti -v /var/run/docker.sock:/var/run/docker.sock -v /root/che-data/9000:/data -e CHE_CONTAINER=durts -e CHE_HOST=207.154.206.26 -e CHE_PORT=9000 eclipse/che-cli:nightly start --fast
root@ubuntu-4gb-fra1-01:~/che-data# docker run -ti -v /var/run/docker.sock:/var/run/docker.sock -v /root/che-data/9010:/data -e CHE_CONTAINER=super -e CHE_HOST=207.154.206.26 -e CHE_PORT=9010 eclipse/che-cli:nightly start --fast
The only difference is that I used nightly tag. Can you remove your local data storage dirs and give it a try with nightly?
There was a bug fixed after 5.2.2 - so they will need 5.3 or the nightly. I can link a couple other people that tripped up into the same bug.
This is the issue where it was discussed and linked to the PR that fixes it. https://github.com/eclipse/che/issues/4130
I test this with nightly version, it works correctly. After that, i will try to find out a stable version.
I will close this issue. Thank you very much!
We should make the 5.3. release tomorrow. It should have been yesterday, but QA found some issues and doing another cycle. You will see the 5.3 release show up on DockerHub once it is done.
Hi eivantsov, I have tried with your suggestion to run docker run -ti -v /var/run/docker.sock:/var/run/docker.sock -v /root/che-data/9000:/data -e CHE_CONTAINER=durts -e CHE_HOST=207.154.206.26 -e CHE_PORT=9000 eclipse/che-cli:nightly start --fast It is working locally perfectly, but i am not able to run workspaces from different machine. Because internally it is calling localhost in wsagent. please help me in this. Thanks in advance.
Because internally it is calling localhost in wsagent
Can you elaborate on it please?
I am able to access workspaces with localhost:9000 but not able to access from different machine with macchine ip :9000. It is giving error when i am trying to run it
A screenshot or error message will help
Hi eivantsov, these are the errors
Failed to load resource: the server responded with a status of 404 ()
app-7b5aad5492.js:13 Keycloak initialization failed with error: Object
(anonymous) @ app-7b5aad5492.js:13
vendor-73784b1bca.js:75 You are using the ngTouch module.
Angular Material already has mobile click, tap, and swipe support...
ngTouch is not supported with Angular Material!
(anonymous) @ vendor-73784b1bca.js:75
11vendor-73784b1bca.js:75 Markup '
@durtsjohn try -e CHE_DOCKER_IP_EXTERNAL=${PUBLIC_IP}
What's your OS?
Hi, I am trying to set up a workspace supporting multiple concurrent users. For this, i am using Multiple user assembly of Eclipse che and followed this thread.
On running the below command in windows powershell: docker run -it -e CHE_MULTIUSER=true -e CHE_HOST= -e CHE_KEYCLOAK_AUTH_SERVER_URL=http:///auth -v /var/run/docker.sock:/var/run/docker.sock -v /c/tmp:/data eclipse/che start
I am getting the below message: WARN: Bound 'eclipse/che' to 'eclipse/che:5.22.1' /scripts/base/startup_02_pre_docker.sh: line 14: /data/cli.log: Resource busy INFO: (che cli): 5.22.1 - using docker 17.12.0-ce / docker4windows WARN: Newer version '6.0.0-M4' available INFO: (che start): Booted and reachable INFO: (che start): Ver: 5.22.1 INFO: (che start): Use: http://localhost:8080 INFO: (che start): API: http://localhost:8080/swagger
Now can you please guide me further steps and other steps if i am missing to set up the workspace which multiple users can access concurrently from different machines ? I could not find simple straight forward documents/references for this. Your help would be highly appreciated.
Looking forward to your response
I want to support multi-user in my system, so I select CHE FARM mode to run multiple che-server instance in my virtual machine. I was failed to implement it by the following to ways. My environment: Centos 7 run in Virtualbox, docker 1.12.5, eclipse che 5.2.2, host external ip: 10.0.0.4 User 1 data space: /work/space/9090 User 2 data space: /work/space/9100
First way, I directly use the image eclipse/che:5.2.2: _docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /work/space/9090:/data -v /work/che522/che/assembly/assembly-main/target:/assembly -e CHE_HOST=10.0.0.4 -e CHE_PORT=9090 -e CHECONTAINER=durts eclipse/che:5.2.2 start So, there is a new che-server container named 'durts' work correctly, I can browse it vas 10.0.0.4:9090. After that, I start the second instance, i want it work with different port 9100: _docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /work/space/9100:/data -v /work/che522/che/assembly/assembly-main/target:/assembly -e CHE_HOST=10.0.0.4 -e CHE_PORT=9100 -e CHECONTAINER=super eclipse/che:5.2.2 start Nothing wrong was found in the command INFO. The new che-server instance named 'super' running now, but the first running instance 'durts' is SHUTDOWN!!
Second way, I start the image eclipse/che-server:5.2.2 by docker-compose: In /work/space/9090/instance, run : docker-compose --file="docker-compose.yml" -p="durts" up -d --no-recreate In /work/space/9100/instance, run : docker-compose --file="docker-compose.yml" -p="super" up -d --no-recreate The two instance can running correctly, but if I open a workspace machine in che-server 1, then start che-server 2, the running dev-machine is DESTROYED !!
The contents of docker-compose.yml(same as docker-compose-container.yml) , instance/config/che.env, cli.log are in my reference files: 1-docker-compose.yml.txt 1-che.env.txt 1-cli.log.txt 2-docker-compose.yml.txt 2-che.env.txt 2-cli.log.txt
Finally, Here are my questions: **1. How can I run multiple che-server instances in my virtual machine ?
Thanks a lot. Durts John 2017-02-16